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 !default; 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 | 20 * Variables |
21 /* Table of contents | |
22 ******************************************************************************* | 21 ******************************************************************************* |
23 * - Basic colors | 22 * ~ WARNING ~ DO NOT EDIT THIS FILE! |
24 * - Gray scale | 23 * Set variables within project specfic SCSS before including website defaults. |
25 * - RGB scale | 24 ******************************************************************************* |
26 * - Brand colors | 25 * - Brand colors |
27 * - Primary | |
28 * - Secondary | |
29 * - Accent | |
30 * - Error | |
31 * - Fonts | 26 * - Fonts |
32 * - Font families | |
33 * - Font sizes | |
34 * - Font weights | |
35 * - Spacing | 27 * - Spacing |
36 * - Breakpoints | 28 * - Breakpoints |
37 ******************************************************************************/ | 29 ******************************************************************************/ |
38 | |
39 /* Basic colors | |
40 ******************************************************************************/ | |
41 | |
42 /* Gray scale */ | |
43 | |
44 $white: #fafafa !default; | |
45 $gray-light: #e0e0e0 !default; | |
46 $gray: #9e9e9e !default; | |
47 $gray-dark: #616161 !default; | |
48 $black: #212121 !default; | |
49 | |
50 /* RGB scale */ | |
51 | |
52 $red-light: #ffcdd2 !default; | |
53 $red: #f44336 !default; | |
54 $red-dark: #b71c1c !default; | |
55 | |
56 $green-light: #c8e6c9 !default; | |
57 $green: #4caf50 !default; | |
58 $green-dark: #1b5e20 !default; | |
59 | |
60 $blue-light: #bbdefb !default; | |
61 $blue: #2196f3 !default; | |
62 $blue-dark: #0d47a1 !default; | |
63 | 30 |
64 /* Brand colors | 31 /* Brand colors |
65 ******************************************************************************/ | 32 ******************************************************************************/ |
66 | 33 |
67 /* Primary - The most widely used across all screens and components. */ | 34 /* Primary - The most widely used across all screens and components. */ |
68 | 35 |
69 $primary: $white !default; | 36 $primary: #212121 !default; |
70 $primary-foreground: $black !default; | 37 $primary-light: #fff !default; |
71 $primary-background: $white !default; | 38 $primary-dark: #000 !default; |
72 | 39 |
73 /* Secondary - Used to indicate a related action or information. */ | 40 /* Secondary - Used to indicate a related action or information. */ |
74 | 41 |
75 $secondary: $gray-dark !default; | 42 $secondary: #9e9e9e !default; |
76 $secondary-foreground: $gray-light !default; | 43 $secondary-light: #eee !default; |
77 $secondary-background: $gray-dark !default; | 44 $secondary-dark: #424242 !default; |
78 | 45 |
79 /* Accent - Used for action buttons and interactive elements. */ | 46 /* Accent - Used for action buttons and interactive elements. */ |
80 | 47 |
81 $accent: $blue !default; | 48 $accent: #1565c0 !default; |
82 $accent-foreground: $white !default; | 49 $accent-light: #e3f2fd !default; |
83 $accent-background: $blue-dark !default; | 50 $accent-dark: #0d47a1 !default; |
84 | 51 |
85 /* Error - Used for error messages and warnings. */ | 52 /* Error - Used for error messages and warnings. */ |
86 | 53 |
87 $error: $red !default; | 54 $error: #f44336 !default; |
88 $error-foreground: $white !default; | 55 $error-light: #ffebee !default; |
89 $error-background: $red-dark !default; | 56 $error-dark: #b71c1c !default; |
90 | 57 |
91 /* Fonts | 58 /* Fonts |
92 ******************************************************************************/ | 59 ******************************************************************************/ |
93 | 60 |
94 /* Font families */ | 61 $primary-font: sans-serif !default; |
95 | 62 $secondary-font: serif !default; |
96 $sans-font: sans-serif !default; | |
97 $serif-font: serif !default; | |
98 $monospace-font: monospace !default; | 63 $monospace-font: monospace !default; |
99 | 64 |
100 /* Font sizes */ | 65 $large-font: 20px !default; |
101 | |
102 $large-font: 24px !default; | |
103 $medium-font: 16px !default; | 66 $medium-font: 16px !default; |
104 $small-font: 12px !default; | 67 $small-font: 12px !default; |
105 | |
106 /* Font weights */ | |
107 | 68 |
108 $bold-weight: 600 !default; | 69 $bold-weight: 600 !default; |
109 $normal-weight: 400 !default; | 70 $normal-weight: 400 !default; |
110 $thin-weight: 300 !default; | 71 $thin-weight: 300 !default; |
111 | 72 |
112 /* Spacing | 73 /* Spacing |
113 ******************************************************************************/ | 74 ******************************************************************************/ |
114 | 75 |
115 $large-space: 64px !default; | 76 $large-space: 64px !default; |
116 $medium-space: 32px !default; | 77 $medium-space: 32px !default; |
117 $small-space: 16px !default; | 78 $small-space: 16px !default; |
118 | 79 |
119 /* Breakpoints | 80 /* Breakpoints |
120 ******************************************************************************/ | 81 ******************************************************************************/ |
121 | 82 |
122 $mobile-breakpoint: 576px !default; | 83 $tablet-breakpoint: 768px; |
123 $tablet-breakpoint: 768px !default; | 84 $desktop-breakpoint: 992px; |
124 $desktop-breakpoint: 992px !default; | 85 |
| 86 /* Container widths |
| 87 ******************************************************************************/ |
| 88 |
| 89 $mobile-width: 540px !default; |
| 90 $tablet-width: 720px !default; |
| 91 $desktop-width: 960px !default; |
LEFT | RIGHT |