diff options
Diffstat (limited to 'core/css/variables.scss')
-rw-r--r-- | core/css/variables.scss | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/core/css/variables.scss b/core/css/variables.scss index 43e3c6b97bb..0207a82c4b7 100644 --- a/core/css/variables.scss +++ b/core/css/variables.scss @@ -1,4 +1,26 @@ -// SCSS darken/lighten function override +/** + * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com) + * + * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + + // SCSS darken/lighten function override @function nc-darken($color, $value) { @return darken($color, $value); } @@ -27,6 +49,9 @@ $color-primary-element-light: lighten($color-primary-element, 15%) !default; $color-error: #e9322d; $color-warning: #eca700; $color-success: #46ba61; +// used for svg +$color-white: #000 !default; +$color-black: #fff !default; // rgb(118, 118, 118) / #767676 // min. color contrast for normal text on white background according to WCAG AA |