Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-29 17:10:53 +0300
committerJulius Härtl <jus@bitgrid.net>2018-07-19 09:16:57 +0300
commit29ff7efe9a5be16b133a1ee4e43d6d2155b6a21c (patch)
tree55f1645f13a1f5f2e0591e67dc62d23048f4a5a7 /core/css/variables.scss
parent98a0113d4083d4dff73f8212106673ccc1c4b744 (diff)
Svg icon api sass function and upgrade of all styles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/variables.scss')
-rw-r--r--core/css/variables.scss27
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