]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/sass/include/_variables.scss
Refactor how we use icons
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _variables.scss
1 $small-view: 800px;
2 $mobile-view: 500px;
3
4 $main-fonts: 'Source Sans Pro', sans-serif;
5 $font-regular: 400;
6 $font-semibold: 600;
7 $font-bold: 700;
8
9 $grey-background-color: #E5E5E5;
10 $grey-background-hover-color: #EFEFEF;
11 $grey-foreground-color: #585858;
12 $grey-foreground-hover-color: #303030;
13
14 $orange-color: #F1680D;
15 $orange-hover-color: #F97D46;
16
17 $bg-color: #fff;
18 $fg-color: #000;
19
20 $red: #FF0000;
21 $green: #39CC0B;
22
23 $grey-actor-name: #777272;
24
25 $expanded-horizontal-margins: 150px;
26 $not-expanded-horizontal-margins: 30px;
27
28 $button-height: 30px;
29
30 $header-height: 50px;
31 $header-border-color: #e9eff6;
32 $search-input-width: 375px;
33
34 $menu-background: #000;
35 $menu-color: #fff;
36 $menu-bottom-color: #C6C6C6;
37 $menu-width: 240px;
38 $menu-lateral-padding: 26px;
39
40 $sub-menu-color: #F7F7F7;
41
42 $footer-height: 30px;
43 $footer-margin: 30px;
44
45 $footer-border-color: $header-border-color;
46
47 $video-thumbnail-height: 110px;
48 $video-thumbnail-width: 200px;
49
50 $theater-bottom-space: 115px;
51
52 $input-background-color: $bg-color;
53 $input-placeholder-color: #898989;
54
55 /*** map theme ***/
56
57 // pass variables into a sass map,
58 // to be warned of non-existing variables
59 $variables: (
60 --mainColor: var(--mainColor),
61 --mainHoverColor: var(--mainHoverColor),
62 --mainBackgroundColor: var(--mainBackgroundColor),
63 --mainForegroundColor: var(--mainForegroundColor),
64 --menuBackgroundColor: var(--menuBackgroundColor),
65 --menuForegroundColor: var(--menuForegroundColor),
66 --submenuColor: var(--submenuColor),
67 --inputColor: var(--inputColor),
68 --inputPlaceholderColor: var(--inputPlaceholderColor)
69 );
70
71 /*** theme helper ***/
72
73 @function var($variable) {
74 @return map-get($variables, $variable);
75 }