]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/sass/include/_variables.scss
Translated using Weblate (Catalan)
[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 $cyan-color: hsl(187, 77%, 34%);
18
19 $support-button: inherit;
20 $support-button-heart: #e83e8c;
21
22 $bg-color: #fff;
23 $fg-color: #000;
24
25 $red: #FF0000;
26 $green: #39CC0B;
27
28 $grey-actor-name: #777272;
29
30 $expanded-horizontal-margins: 150px;
31 $not-expanded-horizontal-margins: 30px;
32
33 $button-height: 30px;
34
35 $header-height: 50px;
36 $header-border-color: #e9eff6;
37 $search-input-width: 375px;
38
39 $menu-background: #000;
40 $menu-color: #fff;
41 $menu-bottom-color: #C6C6C6;
42 $menu-width: 240px;
43 $menu-lateral-padding: 26px;
44
45 $sub-menu-color: #F7F7F7;
46
47 $footer-height: 30px;
48 $footer-margin: 30px;
49
50 $footer-border-color: $header-border-color;
51
52 $separator-border-color: rgba(0, 0, 0, 0.10);
53
54 $video-miniature-width: 238px;
55 $video-miniature-margin-bottom: 30px;
56 $video-thumbnail-height: 122px;
57 $video-thumbnail-width: 223px;
58 $video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height;
59
60 $theater-bottom-space: 115px;
61
62 $input-background-color: $bg-color;
63 $input-placeholder-color: #898989;
64
65 $sub-menu-margin-bottom: 30px;
66
67 $activated-action-button-color: black;
68
69 /*** map theme ***/
70
71 // pass variables into a sass map,
72 // to be warned of non-existing variables
73 $variables: (
74 --mainColor: var(--mainColor),
75 --mainHoverColor: var(--mainHoverColor),
76 --mainBackgroundColor: var(--mainBackgroundColor),
77 --mainForegroundColor: var(--mainForegroundColor),
78 --secondaryColor: var(--secondaryColor),
79
80 --menuBackgroundColor: var(--menuBackgroundColor),
81 --menuForegroundColor: var(--menuForegroundColor),
82 --submenuColor: var(--submenuColor),
83
84 --inputColor: var(--inputColor),
85 --inputPlaceholderColor: var(--inputPlaceholderColor),
86
87 --actionButtonColor: var(--actionButtonColor),
88 --supportButtonColor: var(--supportButtonColor),
89 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
90 --supportButtonHeartColor: var(--supportButtonHeartColor),
91
92 --embedForegroundColor: var(--embedForegroundColor),
93 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor)
94 );
95
96 /*** theme helper ***/
97
98 @function var($variable) {
99 @return map-get($variables, $variable);
100 }