| Index: scss/_variables.scss |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/scss/_variables.scss |
| @@ -0,0 +1,124 @@ |
| +/*! |
| + * This file is part of universal-design-language |
| + * Copyright (C) 2016 Eyeo GmbH |
| + * |
| + * universal-design-language is free software: you can redistribute it and/or |
| + * modify it under the terms of the GNU General Public License as published by |
| + * the Free Software Foundation, either version 3 of the License, or |
| + * (at your option) any later version. |
| + * |
| + * universal-design-language is distributed in the hope that it will be useful, |
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| + * GNU General Public License for more details. |
| + * |
| + * You should have received a copy of the GNU General Public License |
| + * along with web.starter-kit. If not, see <http://www.gnu.org/licenses/>. |
| + */ |
| + |
| +/** UDL variables */ |
| + |
| +/* Table of contents |
| + ******************************************************************************* |
| + * - Basic colors |
| + * - Gray scale |
| + * - RGB scale |
| + * - Brand colors |
| + * - Primary |
| + * - Secondary |
| + * - Accent |
| + * - Error |
| + * - Fonts |
| + * - Font families |
| + * - Font sizes |
| + * - Font weights |
| + * - Spacing |
| + * - Breakpoints |
| + ******************************************************************************/ |
| + |
| +/* Basic colors |
| + ******************************************************************************/ |
| + |
| +/* Gray scale */ |
| + |
| +$white: #fafafa !default; |
| +$gray-light: #e0e0e0 !default; |
| +$gray: #9e9e9e !default; |
| +$gray-dark: #616161 !default; |
| +$black: #212121 !default; |
| + |
| +/* RGB scale */ |
| + |
| +$red-light: #ffcdd2 !default; |
| +$red: #f44336 !default; |
| +$red-dark: #b71c1c !default; |
| + |
| +$green-light: #c8e6c9 !default; |
| +$green: #4caf50 !default; |
| +$green-dark: #1b5e20 !default; |
| + |
| +$blue-light: #bbdefb !default; |
| +$blue: #2196f3 !default; |
| +$blue-dark: #0d47a1 !default; |
| + |
| +/* Brand colors |
| + ******************************************************************************/ |
| + |
| +/* Primary - The most widely used across all screens and components. */ |
| + |
| +$primary: $white !default; |
| +$primary-foreground: $black !default; |
| +$primary-background: $white !default; |
| + |
| +/* Secondary - Used to indicate a related action or information. */ |
| + |
| +$secondary: $gray-dark !default; |
| +$secondary-foreground: $gray-light !default; |
| +$secondary-background: $gray-dark !default; |
| + |
| +/* Accent - Used for action buttons and interactive elements. */ |
| + |
| +$accent: $blue !default; |
| +$accent-foreground: $white !default; |
| +$accent-background: $blue-dark !default; |
| + |
| +/* Error - Used for error messages and warnings. */ |
| + |
| +$error: $red !default; |
| +$error-foreground: $white !default; |
| +$error-background: $red-dark !default; |
| + |
| +/* Fonts |
| + ******************************************************************************/ |
| + |
| +/* Font families */ |
| + |
| +$sans-font: sans-serif !default; |
| +$serif-font: serif !default; |
| +$monospace-font: monospace !default; |
| + |
| +/* Font sizes */ |
| + |
| +$large-font: 24px !default; |
| +$medium-font: 16px !default; |
| +$small-font: 12px !default; |
| + |
| +/* Font weights */ |
| + |
| +$bold-weight: 600 !default; |
| +$normal-weight: 400 !default; |
| +$thin-weight: 300 !default; |
| + |
| +/* Spacing |
| + ******************************************************************************/ |
| + |
| +$large-space: 64px !default; |
| +$medium-space: 32px !default; |
| +$small-space: 16px !default; |
| + |
| +/* Breakpoints |
| + ******************************************************************************/ |
| + |
| +$mobile-breakpoint: 576px !default; |
| +$tablet-breakpoint: 768px !default; |
| +$desktop-breakpoint: 992px !default; |