revite/src/styles/_variables.scss

49 lines
1.1 KiB
SCSS
Raw Normal View History

:root {
2021-07-10 10:42:13 -04:00
/**
* Appearance
*/
--ligatures: none;
--text-size: 14px;
--font: "Open Sans";
--codeblock-font: "Fira Code";
--sidebar-active: var(--secondary-background);
2021-08-01 11:44:51 -04:00
/**
* Native
*/
--titlebar-height: 29px;
--titlebar-action-padding: 8px;
--titlebar-logo-color: var(--secondary-foreground);
2021-07-10 10:42:13 -04:00
/**
* Layout
*/
--app-height: 100vh;
--border-radius: 6px;
2021-08-01 11:44:51 -04:00
--input-border-width: 2px;
--textarea-padding: 16px;
--textarea-line-height: 20px;
2021-07-06 07:16:29 -04:00
--message-box-padding: 14px 14px 14px 0;
2021-07-10 10:42:13 -04:00
--attachment-max-width: 480px;
--attachment-max-height: 640px;
--attachment-default-width: 400px;
--attachment-max-text-width: 800px;
--bottom-navigation-height: 50px;
2021-07-10 10:42:13 -04:00
/**
* Experimental
*/
2021-08-01 11:44:51 -04:00
--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
}