Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 /*! | 1 /*! |
2 * This file is part of universal-design-language | 2 * This file is part of website-defaults |
3 * Copyright (C) 2016 Eyeo GmbH | 3 * Copyright (C) 2016 Eyeo GmbH |
4 * | 4 * |
5 * universal-design-language is free software: you can redistribute it and/or | 5 * website-defaults is free software: you can redistribute it and/or |
6 * modify it under the terms of the GNU General Public License as published by | 6 * modify it under the terms of the GNU General Public License as published by |
7 * the Free Software Foundation, either version 3 of the License, or | 7 * the Free Software Foundation, either version 3 of the License, or |
8 * (at your option) any later version. | 8 * (at your option) any later version. |
9 * | 9 * |
10 * universal-design-language is distributed in the hope that it will be useful, | 10 * website-defaults is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 * GNU General Public License for more details. | 13 * GNU General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
16 * along with web.starter-kit. If not, see <http://www.gnu.org/licenses/>. | 16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
17 */ | 17 */ |
18 | 18 |
19 /* UDL variables | 19 /******************************************************************************* |
20 * Variables | |
20 ******************************************************************************* | 21 ******************************************************************************* |
21 * - Basic colors | 22 * ~ WARNING ~ DO NOT EDIT THIS FILE! |
23 * Set variables within project specfic SCSS before including website defaults. | |
24 ******************************************************************************* | |
22 * - Brand colors | 25 * - Brand colors |
23 * - Fonts | 26 * - Fonts |
24 * - Spacing | 27 * - Spacing |
25 * - Breakpoints | 28 * - Breakpoints |
26 ******************************************************************************/ | 29 ******************************************************************************/ |
27 | 30 |
28 /* Basic colors | |
saroyanm
2016/11/15 14:28:57
Do we need this ? I thought people will use brand
juliandoucette
2016/11/16 14:58:52
Acknowledged.
We will create variations of brand
juliandoucette
2016/11/17 16:09:39
Done.
| |
29 ******************************************************************************/ | |
30 | |
31 $white: #fafafa !default; | |
32 $gray-light: #e0e0e0 !default; | |
33 $gray: #9e9e9e !default; | |
34 $gray-dark: #616161 !default; | |
35 $black: #212121 !default; | |
36 | |
37 $red-light: #ffcdd2 !default; | |
38 $red: #f44336 !default; | |
39 $red-dark: #b71c1c !default; | |
40 | |
41 $green-light: #c8e6c9 !default; | |
42 $green: #4caf50 !default; | |
43 $green-dark: #1b5e20 !default; | |
44 | |
45 $blue-light: #bbdefb !default; | |
46 $blue: #2196f3 !default; | |
47 $blue-dark: #0d47a1 !default; | |
48 | |
49 /* Brand colors | 31 /* Brand colors |
50 ******************************************************************************/ | 32 ******************************************************************************/ |
51 | 33 |
52 /* Primary - The most widely used across all screens and components. */ | 34 /* Primary - The most widely used across all screens and components. */ |
53 | 35 |
54 $primary: $white !default; | 36 $primary: #212121 !default; |
saroyanm
2016/11/15 14:28:58
Do we have a process of overriding the default var
juliandoucette
2016/11/16 14:58:51
Acknowledged.
We will add a DO NOT EDIT comment i
juliandoucette
2016/11/17 16:09:39
Done.
| |
55 $primary-foreground: $black !default; | 37 $primary-light: #fff !default; |
56 $primary-background: $white !default; | 38 $primary-dark: #000 !default; |
57 | 39 |
58 /* Secondary - Used to indicate a related action or information. */ | 40 /* Secondary - Used to indicate a related action or information. */ |
59 | 41 |
60 $secondary: $gray-dark !default; | 42 $secondary: #9e9e9e !default; |
61 $secondary-foreground: $gray-light !default; | 43 $secondary-light: #eee !default; |
62 $secondary-background: $gray-dark !default; | 44 $secondary-dark: #424242 !default; |
63 | 45 |
64 /* Accent - Used for action buttons and interactive elements. */ | 46 /* Accent - Used for action buttons and interactive elements. */ |
65 | 47 |
66 $accent: $blue !default; | 48 $accent: #1565c0 !default; |
67 $accent-foreground: $white !default; | 49 $accent-light: #e3f2fd !default; |
68 $accent-background: $blue-dark !default; | 50 $accent-dark: #0d47a1 !default; |
69 | 51 |
70 /* Error - Used for error messages and warnings. */ | 52 /* Error - Used for error messages and warnings. */ |
71 | 53 |
72 $error: $red !default; | 54 $error: #f44336 !default; |
73 $error-foreground: $white !default; | 55 $error-light: #ffebee !default; |
74 $error-background: $red-dark !default; | 56 $error-dark: #b71c1c !default; |
75 | 57 |
76 /* Fonts | 58 /* Fonts |
77 ******************************************************************************/ | 59 ******************************************************************************/ |
78 | 60 |
79 $sans-font: sans-serif !default; | 61 $primary-font: sans-serif !default; |
saroyanm
2016/11/15 14:28:58
Detail: having variable with the same names as the
juliandoucette
2016/11/16 14:58:51
Acknowledged.
We will change these to primary/sec
juliandoucette
2016/11/17 16:09:39
Done.
| |
80 $serif-font: serif !default; | 62 $secondary-font: serif !default; |
saroyanm
2016/11/15 14:28:58
I can't see this font being used in content.
juliandoucette
2016/11/16 14:58:52
Acknowledged.
| |
81 $monospace-font: monospace !default; | 63 $monospace-font: monospace !default; |
82 | 64 |
83 $large-font: 20px !default; | 65 $large-font: 20px !default; |
84 $medium-font: 16px !default; | 66 $medium-font: 16px !default; |
85 $small-font: 12px !default; | 67 $small-font: 12px !default; |
86 | 68 |
87 $bold-weight: 600 !default; | 69 $bold-weight: 600 !default; |
88 $normal-weight: 400 !default; | 70 $normal-weight: 400 !default; |
89 $thin-weight: 300 !default; | 71 $thin-weight: 300 !default; |
90 | 72 |
91 /* Spacing | 73 /* Spacing |
92 ******************************************************************************/ | 74 ******************************************************************************/ |
93 | 75 |
94 $large-space: 64px !default; | 76 $large-space: 64px !default; |
95 $medium-space: 32px !default; | 77 $medium-space: 32px !default; |
96 $small-space: 16px !default; | 78 $small-space: 16px !default; |
97 | 79 |
98 /* Breakpoints | 80 /* Breakpoints |
99 ******************************************************************************/ | 81 ******************************************************************************/ |
100 | 82 |
101 $mobile-breakpoint: 576px !default; | 83 $tablet-breakpoint: 768px; |
juliandoucette
2016/11/17 16:09:39
Done.
juliandoucette
2016/11/17 16:09:40
NOTE: Removed mobile breakpoint.
| |
102 $tablet-breakpoint: 768px !default; | 84 $desktop-breakpoint: 992px; |
103 $desktop-breakpoint: 992px !default; | |
104 | 85 |
105 /* Container widths | 86 /* Container widths |
106 ******************************************************************************/ | 87 ******************************************************************************/ |
107 | 88 |
108 $mobile-width: 540px !default; | 89 $mobile-width: 540px !default; |
109 $tablet-width: 720px !default; | 90 $tablet-width: 720px !default; |
110 $desktop-width: 960px !default; | 91 $desktop-width: 960px !default; |
LEFT | RIGHT |