aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-06-20 09:05:25 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 09:42:15 +0100
commit4c7072d81fdd0868b96317d1f28d6d0c8c05c112 (patch)
treeacba12a89756482ddd814fdfafc252d71e593e01 /src/styles
parent025ba97f3409aef208d87c86d02cb55544c88e4b (diff)
FUNT Add Sass vars for color customization
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/app.scss5
-rw-r--r--src/styles/main.scss2
-rw-r--r--src/styles/svg.scss2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/styles/app.scss b/src/styles/app.scss
index f986a37..f08ff56 100644
--- a/src/styles/app.scss
+++ b/src/styles/app.scss
@@ -1,3 +1,8 @@
+$colors: (
+ primary: #00ADDC,
+ font: #999999
+);
+
@import "main.scss";
@import "svg.scss";
@import "portrait.scss";
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 226509e..5aca22b 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -6,7 +6,7 @@ html {
body {
font-size: 1.2rem;
font-family: Arial;
- color: #999999;
+ color: map-get($colors, font);
margin: 5%;
.parent {
diff --git a/src/styles/svg.scss b/src/styles/svg.scss
index eddbbe5..2aa0441 100644
--- a/src/styles/svg.scss
+++ b/src/styles/svg.scss
@@ -4,7 +4,7 @@ body {
polygon,
linearGradient,
rect {
- fill: #00ADDC !important;
+ fill: map-get($colors, primary) !important;
}
circle {