summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/ui.styl
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-20 04:51:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-20 04:51:04 +0900
commit5ace37e3dbb4c22585c28dc6eba230092ad9033b (patch)
tree15ca6a58e3f8c0d2214471c8431cc2158423564c /src/client/app/desktop/ui.styl
parent[wip] darkmode (diff)
downloadmisskey-5ace37e3dbb4c22585c28dc6eba230092ad9033b.tar.gz
misskey-5ace37e3dbb4c22585c28dc6eba230092ad9033b.tar.bz2
misskey-5ace37e3dbb4c22585c28dc6eba230092ad9033b.zip
[wip] darkmode
Diffstat (limited to 'src/client/app/desktop/ui.styl')
-rw-r--r--src/client/app/desktop/ui.styl14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/client/app/desktop/ui.styl b/src/client/app/desktop/ui.styl
index 5a8d1718e2..a54cafda68 100644
--- a/src/client/app/desktop/ui.styl
+++ b/src/client/app/desktop/ui.styl
@@ -65,6 +65,20 @@ button.ui
background $theme-color
border-color $theme-color
+html[data-darkmode] button.ui
+html[data-darkmode] .button.ui
+ color #fff
+ background linear-gradient(to bottom, #313543 0%, #282c37 100%)
+ border-color #1c2023
+
+ &:hover
+ background linear-gradient(to bottom, #2c2f3c 0%, #22262f 100%)
+ border-color #151a1d
+
+ &:active
+ background #22262f
+ border-color #151a1d
+
input:not([type]).ui
input[type='text'].ui
input[type='password'].ui