Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: scss/_variables.scss

Issue 29361647: Issue 4607 - Default content styles (Closed)
Patch Set: See comments for details. Created Nov. 11, 2016, 4:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« scss/_content.scss ('K') | « scss/_reset.scss ('k') | scss/main.scss » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scss/_variables.scss
===================================================================
new file mode 100644
--- /dev/null
+++ b/scss/_variables.scss
@@ -0,0 +1,131 @@
+/*!
+ * 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;
+
+/* Container widths
+ ******************************************************************************/
+
+$mobile-width: 540px !default;
+$tablet-width: 720px !default;
+$desktop-width: 960px !default;
« scss/_content.scss ('K') | « scss/_reset.scss ('k') | scss/main.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld