| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 /*! | 1 /*! |
| 2 * This file is part of universal-design-language | 2 * This file is part of universal-design-language |
| 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 * universal-design-language 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 * universal-design-language 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 web.starter-kit. If not, see <http://www.gnu.org/licenses/>. |
| 17 */ | 17 */ |
| 18 | 18 |
| 19 /* UDL variables | 19 /* UDL variables |
| 20 ******************************************************************************* | 20 ******************************************************************************* |
| 21 * - Basic colors | 21 * ~ WARNING ~ DO NOT EDIT THIS FILE! |
| 22 * Set variables within project specfic SCSS before including UDL styles. | |
| 23 ******************************************************************************* | |
| 22 * - Brand colors | 24 * - Brand colors |
| 23 * - Fonts | 25 * - Fonts |
| 24 * - Spacing | 26 * - Spacing |
| 25 * - Breakpoints | 27 * - Breakpoints |
| 26 ******************************************************************************/ | 28 ******************************************************************************/ |
| 27 | 29 |
| 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 | 30 /* Brand colors |
| 50 ******************************************************************************/ | 31 ******************************************************************************/ |
| 51 | 32 |
| 52 /* Primary - The most widely used across all screens and components. */ | 33 /* Primary - The most widely used across all screens and components. */ |
| 53 | 34 |
| 54 $primary: $white !default; | 35 $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; | 36 $primary-light: #fafafa !default; |
| 56 $primary-background: $white !default; | 37 $primary-dark: #000 !default; |
| 57 | 38 |
| 58 /* Secondary - Used to indicate a related action or information. */ | 39 /* Secondary - Used to indicate a related action or information. */ |
| 59 | 40 |
| 60 $secondary: $gray-dark !default; | 41 $secondary: #9e9e9e !default; |
| 61 $secondary-foreground: $gray-light !default; | 42 $secondary-light: #9e9e9e !default; |
| 62 $secondary-background: $gray-dark !default; | 43 $secondary-dark: #424242 !default; |
| 63 | 44 |
| 64 /* Accent - Used for action buttons and interactive elements. */ | 45 /* Accent - Used for action buttons and interactive elements. */ |
| 65 | 46 |
| 66 $accent: $blue !default; | 47 $accent: #1565c0 !default; |
| 67 $accent-foreground: $white !default; | 48 $accent-light: #e3f2fd !default; |
| 68 $accent-background: $blue-dark !default; | 49 $accent-dark: #0d47a1 !default; |
| 69 | 50 |
| 70 /* Error - Used for error messages and warnings. */ | 51 /* Error - Used for error messages and warnings. */ |
| 71 | 52 |
| 72 $error: $red !default; | 53 $error: #f44336 !default; |
| 73 $error-foreground: $white !default; | 54 $error-light: #ffebee !default; |
| 74 $error-background: $red-dark !default; | 55 $error-dark: #b71c1c !default; |
| 75 | 56 |
| 76 /* Fonts | 57 /* Fonts |
| 77 ******************************************************************************/ | 58 ******************************************************************************/ |
| 78 | 59 |
| 79 $sans-font: sans-serif !default; | 60 $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; | 61 $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; | 62 $monospace-font: monospace !default; |
| 82 | 63 |
| 83 $large-font: 20px !default; | 64 $large-font: 20px !default; |
| 84 $medium-font: 16px !default; | 65 $medium-font: 16px !default; |
| 85 $small-font: 12px !default; | 66 $small-font: 12px !default; |
| 86 | 67 |
| 87 $bold-weight: 600 !default; | 68 $bold-weight: 600 !default; |
| 88 $normal-weight: 400 !default; | 69 $normal-weight: 400 !default; |
| 89 $thin-weight: 300 !default; | 70 $thin-weight: 300 !default; |
| 90 | 71 |
| 91 /* Spacing | 72 /* Spacing |
| 92 ******************************************************************************/ | 73 ******************************************************************************/ |
| 93 | 74 |
| 94 $large-space: 64px !default; | 75 $large-space: 64px !default; |
| 95 $medium-space: 32px !default; | 76 $medium-space: 32px !default; |
| 96 $small-space: 16px !default; | 77 $small-space: 16px !default; |
| 97 | 78 |
| 98 /* Breakpoints | 79 /* Breakpoints |
| 99 ******************************************************************************/ | 80 ******************************************************************************/ |
| 100 | 81 |
| 101 $mobile-breakpoint: 576px !default; | |
|
juliandoucette
2016/11/17 16:09:39
Done.
juliandoucette
2016/11/17 16:09:40
NOTE: Removed mobile breakpoint.
| |
| 102 $tablet-breakpoint: 768px !default; | 82 $tablet-breakpoint: 768px !default; |
|
saroyanm
2016/11/24 15:18:44
We will remove "!default", because people should n
juliandoucette
2016/11/25 16:28:45
Done.
| |
| 103 $desktop-breakpoint: 992px !default; | 83 $desktop-breakpoint: 992px !default; |
| 104 | 84 |
| 105 /* Container widths | 85 /* Container widths |
|
saroyanm
2016/11/21 18:44:41
Not sure if we need this variables, see my comment
juliandoucette
2016/11/22 00:54:05
Acknowledged.
See my comment on the other page.
juliandoucette
2016/11/25 16:28:44
Done.
| |
| 106 ******************************************************************************/ | 86 ******************************************************************************/ |
| 107 | 87 |
| 108 $mobile-width: 540px !default; | 88 $mobile-width: 540px !default; |
| 109 $tablet-width: 720px !default; | 89 $tablet-width: 720px !default; |
| 110 $desktop-width: 960px !default; | 90 $desktop-width: 960px !default; |
| LEFT | RIGHT |