| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 /*! | 
|  | 2  * This file is part of universal-design-language | 
|  | 3  * Copyright (C) 2016 Eyeo GmbH | 
|  | 4  * | 
|  | 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 | 
|  | 7  * the Free Software Foundation, either version 3 of the License, or | 
|  | 8  * (at your option) any later version. | 
|  | 9  * | 
|  | 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 | 
|  | 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|  | 13  * GNU General Public License for more details. | 
|  | 14  * | 
|  | 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/>. | 
|  | 17  */ | 
|  | 18 | 
|  | 19 /** UDL variables */ | 
|  | 20 | 
|  | 21 /* Table of contents | 
|  | 22  ******************************************************************************* | 
|  | 23  * - Basic colors | 
|  | 24  *   - Gray scale | 
|  | 25  *   - RGB scale | 
|  | 26  * - Brand colors | 
|  | 27  *   - Primary | 
|  | 28  *   - Secondary | 
|  | 29  *   - Accent | 
|  | 30  *   - Error | 
|  | 31  * - Fonts | 
|  | 32  *   - Font families | 
|  | 33  *   - Font sizes | 
|  | 34  *   - Font weights | 
|  | 35  * - Spacing | 
|  | 36  * - Breakpoints | 
|  | 37  ******************************************************************************/ | 
|  | 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 | 
|  | 64 /* Brand colors | 
|  | 65  ******************************************************************************/ | 
|  | 66 | 
|  | 67 /* Primary - The most widely used across all screens and components. */ | 
|  | 68 | 
|  | 69 $primary: $white !default; | 
|  | 70 $primary-foreground: $black !default; | 
|  | 71 $primary-background: $white !default; | 
|  | 72 | 
|  | 73 /* Secondary - Used to indicate a related action or information. */ | 
|  | 74 | 
|  | 75 $secondary: $gray-dark !default; | 
|  | 76 $secondary-foreground: $gray-light !default; | 
|  | 77 $secondary-background: $gray-dark !default; | 
|  | 78 | 
|  | 79 /* Accent - Used for action buttons and interactive elements. */ | 
|  | 80 | 
|  | 81 $accent: $blue !default; | 
|  | 82 $accent-foreground: $white !default; | 
|  | 83 $accent-background: $blue-dark !default; | 
|  | 84 | 
|  | 85 /* Error - Used for error messages and warnings. */ | 
|  | 86 | 
|  | 87 $error: $red !default; | 
|  | 88 $error-foreground: $white !default; | 
|  | 89 $error-background: $red-dark !default; | 
|  | 90 | 
|  | 91 /* Fonts | 
|  | 92  ******************************************************************************/ | 
|  | 93 | 
|  | 94 /* Font families */ | 
|  | 95 | 
|  | 96 $sans-font: sans-serif !default; | 
|  | 97 $serif-font: serif !default; | 
|  | 98 $monospace-font: monospace !default; | 
|  | 99 | 
|  | 100 /* Font sizes */ | 
|  | 101 | 
|  | 102 $large-font: 24px !default; | 
|  | 103 $medium-font: 16px !default; | 
|  | 104 $small-font: 12px !default; | 
|  | 105 | 
|  | 106 /* Font weights */ | 
|  | 107 | 
|  | 108 $bold-weight: 600 !default; | 
|  | 109 $normal-weight: 400 !default; | 
|  | 110 $thin-weight: 300 !default; | 
|  | 111 | 
|  | 112 /* Spacing | 
|  | 113  ******************************************************************************/ | 
|  | 114 | 
|  | 115 $large-space: 64px !default; | 
|  | 116 $medium-space: 32px !default; | 
|  | 117 $small-space: 16px !default; | 
|  | 118 | 
|  | 119 /* Breakpoints | 
|  | 120  ******************************************************************************/ | 
|  | 121 | 
|  | 122 $mobile-breakpoint: 576px !default; | 
|  | 123 $tablet-breakpoint: 768px !default; | 
|  | 124 $desktop-breakpoint: 992px !default; | 
|  | 125 | 
|  | 126 /* Container widths | 
|  | 127  ******************************************************************************/ | 
|  | 128 | 
|  | 129 $mobile-width: 540px !default; | 
|  | 130 $tablet-width: 720px !default; | 
|  | 131 $desktop-width: 960px !default; | 
| OLD | NEW | 
|---|