1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Change the font color at dark theme

This commit is contained in:
Kazu Yokomizo
2017-04-11 00:47:13 +09:00
parent 658a90bf15
commit 1b58e320aa
8 changed files with 49 additions and 39 deletions

View File

@@ -135,18 +135,14 @@ body[data-theme="dark"]
.item-wrapper .item-wrapper
border-color transparent border-color transparent
.item-title .item-title
color white color $ui-dark-text-color
.item-title-icon .item-title-icon
color white color $ui-dark-text-color
.item-bottom-time .item-bottom-time
color white color $ui-dark-text-color
.item-bottom-tagList-item .item-bottom-tagList-item
background-color transparent background-color transparent
color white color $ui-dark-text-color
.item-bottom-tagList-empty
color white
&:hover
background-color $ui-dark-button--active-backgroundColor
.item-title .item-title
color $ui-inactive-text-color color $ui-inactive-text-color

View File

@@ -55,14 +55,15 @@
body[data-theme="dark"] body[data-theme="dark"]
.menu-button .menu-button
navDarkButtonColor()
&:active &:active
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
color $ui-dark-text-color
&:hover &:hover
background-color alpha($ui-dark-button--active-backgroundColor, 20%) background-color alpha($ui-dark-button--active-backgroundColor, 20%)
color $ui-button--active-color color $ui-dark-text-color
.menu-button--active .menu-button--active
color $ui-dark-button--active-color color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
&:active &:active
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
color $ui-dark-text-color

View File

@@ -60,7 +60,7 @@ body[data-theme="dark"]
&:hover &:hover
background-color darken($ui-dark-button--hover-backgroundColor, 15%) background-color darken($ui-dark-button--hover-backgroundColor, 15%)
&:active &:active
color white color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
.root--active .root--active
@@ -73,7 +73,7 @@ body[data-theme="dark"]
&:hover &:hover
background-color darken($ui-dark-button--hover-backgroundColor, 15%) background-color darken($ui-dark-button--hover-backgroundColor, 15%)
&:active &:active
color white color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
.button .button
@@ -83,9 +83,9 @@ body[data-theme="dark"]
transition color background-color 0.15s transition color background-color 0.15s
border-left 4px solid transparent border-left 4px solid transparent
&:hover &:hover
color white color $ui-dark-text-color
background-color $ui-dark-button--hover-backgroundColor background-color $ui-dark-button--hover-backgroundColor
.input .input
background-color $ui-dark-button--hover-backgroundColor background-color $ui-dark-button--hover-backgroundColor
color white color $ui-dark-text-color

View File

@@ -75,17 +75,17 @@ body[data-theme="dark"]
.folderList-item .folderList-item
&:hover &:hover
background-color alpha($ui-dark-button--active-backgroundColor, 20%) background-color alpha($ui-dark-button--active-backgroundColor, 20%)
color $ui-button--active-color color $ui-dark-text-color
&:active &:active
color $ui-button--active-color color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
.folderList-item--active .folderList-item--active
@extend .folderList-item @extend .folderList-item
color $ui-button--active-color color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
&:active &:active
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
&:hover &:hover
color $ui-button--active-color color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor

View File

@@ -84,7 +84,7 @@ body[data-theme="dark"]
.body .description textarea .body .description textarea
background-color $ui-dark-noteDetail-backgroundColor background-color $ui-dark-noteDetail-backgroundColor
color white color $ui-dark-text-color
.tabList .tabList
background-color $ui-button--active-backgroundColor background-color $ui-button--active-backgroundColor

View File

@@ -117,10 +117,9 @@ body[data-theme="dark"]
.top-menu .top-menu
navDarkButtonColor() navDarkButtonColor()
&:active &:active
background-color $ui-dark-button--active-backgroundColor background-color alpha($ui-dark-button--active-backgroundColor, 20%)
&:hover &:hover
background-color alpha($ui-dark-button--active-backgroundColor, 20%) background-color alpha($ui-dark-button--active-backgroundColor, 20%)
color $ui-button--active-color
.storageList-empty .storageList-empty
color $ui-dark-inactive-text-color color $ui-dark-inactive-text-color

View File

@@ -53,7 +53,7 @@
padding-right 10px padding-right 10px
line-height 26px line-height 26px
cursor pointer cursor pointer
font-size 14px font-size 13px
border none border none
overflow ellipsis overflow ellipsis
text-align left text-align left
@@ -109,21 +109,36 @@
margin 0 5px margin 0 5px
body[data-theme="dark"] body[data-theme="dark"]
.header .header
&:hover
color $ui-dark-text-color
background-color alpha($ui-dark-button--active-backgroundColor, 20%)
&:active
.header-toggleButton
.header-addFolderButton
&:active
color $ui-dark-text-color
.header-info
&:hover &:hover
background-color alpha($ui-dark-button--active-backgroundColor, 20%) background-color alpha($ui-dark-button--active-backgroundColor, 20%)
color $ui-button--active-color color $ui-dark-text-color
&:active &:active
color $ui-button--active-color .header-toggleButton
background-color $ui-dark-button--active-backgroundColor .header-addFolderButton
&:active
color $ui-dark-text-color
.header--active .header--active
@extend .header @extend .header
.header-info .header-info
color $ui-button--active-color color $ui-dark-text-color
background-color $ui-dark-button--active-backgroundColor background-color $ui-dark-button--active-backgroundColor
.header-toggleButton
.header-addFolderButton
color $ui-dark-text-color
&:active &:active
background-color $ui-dark-button--active-backgroundColor .header-toggleButton
&:hover .header-addFolderButton
color $ui-button--active-color &:active
background-color $ui-dark-button--active-backgroundColor color $ui-dark-text-color

View File

@@ -217,12 +217,11 @@ navDarkButtonColor()
background-color transparent background-color transparent
transition color background-color 0.15s transition color background-color 0.15s
&:hover &:hover
color white color $ui-dark-text-color
background-color $ui-dark-button--hover-backgroundColor background-color $ui-dark-button--hover-backgroundColor
&:active &:active
&:active:hover &:active:hover
background-color $ui-dark-button--active-backgroundColor color $ui-dark-text-color
color $ui-dark-button--active-color
topBarButtonDark() topBarButtonDark()
border-color $ui-dark-borderColor border-color $ui-dark-borderColor