summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-22 21:43:38 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-22 21:43:38 +0900
commit3ca03b3fba16598bf2c234309243ec1810d62766 (patch)
tree129f5bc2698e441b9a36c099a073850e0bc50fcd /src
parent[Client:Mobile] Better design (diff)
downloadmisskey-3ca03b3fba16598bf2c234309243ec1810d62766.tar.gz
misskey-3ca03b3fba16598bf2c234309243ec1810d62766.tar.bz2
misskey-3ca03b3fba16598bf2c234309243ec1810d62766.zip
Refactor
Diffstat (limited to 'src')
-rw-r--r--src/const.json3
-rw-r--r--src/web/app/base.styl6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/const.json b/src/const.json
index 4c8d05cb53..f31fc02381 100644
--- a/src/const.json
+++ b/src/const.json
@@ -1,3 +1,4 @@
{
- "themeColor": "#f76d6c"
+ "themeColor": "#f76d6c",
+ "themeColorForeground": "#fff"
}
diff --git a/src/web/app/base.styl b/src/web/app/base.styl
index 5a1da3813f..40823175cd 100644
--- a/src/web/app/base.styl
+++ b/src/web/app/base.styl
@@ -1,7 +1,9 @@
+json('../../const.json')
+
@charset 'utf-8'
-$theme-color = #f76d6c
-$theme-color-foreground = #fff
+$theme-color = themeColor
+$theme-color-foreground = themeColorForeground
@import './reset'