]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/sass/include/_variables.scss
Merge branch 'release/v1.3.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _variables.scss
... / ...
CommitLineData
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$separator-border-color: rgba(0, 0, 0, 0.10);
48
49$video-miniature-width: 238px;
50$video-thumbnail-height: 122px;
51$video-thumbnail-width: 223px;
52$video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height;
53
54$theater-bottom-space: 115px;
55
56$input-background-color: $bg-color;
57$input-placeholder-color: #898989;
58
59$sub-menu-margin-bottom: 30px;
60
61/*** map theme ***/
62
63// pass variables into a sass map,
64// to be warned of non-existing variables
65$variables: (
66 --mainColor: var(--mainColor),
67 --mainHoverColor: var(--mainHoverColor),
68 --mainBackgroundColor: var(--mainBackgroundColor),
69 --mainForegroundColor: var(--mainForegroundColor),
70 --menuBackgroundColor: var(--menuBackgroundColor),
71 --menuForegroundColor: var(--menuForegroundColor),
72 --submenuColor: var(--submenuColor),
73 --inputColor: var(--inputColor),
74 --inputPlaceholderColor: var(--inputPlaceholderColor)
75);
76
77/*** theme helper ***/
78
79@function var($variable) {
80 @return map-get($variables, $variable);
81}