Skip to content
Snippets Groups Projects
_variables.scss 1.08 KiB
Newer Older
insert's avatar
insert committed
:root {
    /**
     * Appearance
     */
    --ligatures: none;
    --font: "Open Sans";
    --codeblock-font: "Fira Code";
insert's avatar
insert committed
    --sidebar-active: var(--secondary-background);
insert's avatar
insert committed

    /**
     * Native
     */
    --titlebar-height: 29px;
    --titlebar-action-padding: 8px;
    --titlebar-logo-color: var(--secondary-foreground);

    /**
     * Layout
     */
    --app-height: 100vh;
    --border-radius: 6px;
insert's avatar
insert committed

    --input-border-width: 2px;
    --textarea-padding: 16px;
    --textarea-line-height: 20px;
    --message-box-padding: 14px 14px 14px 0;
    --attachment-max-width: 480px;
    --attachment-max-height: 640px;
    --attachment-default-width: 400px;
    --attachment-max-text-width: 800px;

    --bottom-navigation-height: 50px;

    /**
     * Experimental
     */
insert's avatar
insert committed
    --background-rgb: (
        25,
        25,
        25
    ); //THIS IS SO THAT WE CAN HAVE CUSTOM BACKGROUNDS FOR THE CLIENT, CONVERTS THE HEX TO AN RGB VALUE FROM --background
    --background-rgba: rgba(
        var(--background-rgb),
        0.8
    ); //make the opacity also customizable
insert's avatar
insert committed
}