mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Fix the tag layout of dark theme at NoteDetail
This commit is contained in:
@@ -107,7 +107,7 @@ class TagSelect extends React.Component {
|
||||
<span styleName='tag'
|
||||
key={tag}
|
||||
>
|
||||
<span styleName='tag-label'>{tag}</span>
|
||||
<span styleName='tag-label'>#{tag}</span>
|
||||
<button styleName='tag-removeButton'
|
||||
onClick={(e) => this.handleTagRemoveButtonClick(tag)(e)}
|
||||
>
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
padding-right 4px
|
||||
|
||||
.tag-label
|
||||
font-size 12px
|
||||
font-weight bold
|
||||
font-size 11px
|
||||
font-weight 600
|
||||
color: #FFFFFF
|
||||
float left
|
||||
height 20px
|
||||
@@ -83,7 +83,7 @@ body[data-theme="dark"]
|
||||
color $ui-dark-button-color
|
||||
|
||||
.tag
|
||||
background-color $ui-dark-tag-backgroundColor
|
||||
background-color alpha($ui-dark-tag-backgroundColor, 60%)
|
||||
|
||||
.tag-removeButton
|
||||
border-color $ui-button--focus-borderColor
|
||||
|
||||
@@ -163,7 +163,7 @@ $ui-dark-borderColor = lighten(#21252B, 20%)
|
||||
$ui-dark-backgroundColor = #1D1D1D
|
||||
$ui-dark-noteList-backgroundColor = #181818
|
||||
$ui-dark-noteDetail-backgroundColor = #0D0D0D
|
||||
$ui-dark-tag-backgroundColor = rgba(255, 255, 255, 0.3)
|
||||
$ui-dark-tag-backgroundColor = #3A404C
|
||||
$dark-background-color = lighten($ui-dark-backgroundColor, 10%)
|
||||
$ui-dark-text-color = #DDDDDD
|
||||
$ui-dark-button--active-color = white
|
||||
|
||||
Reference in New Issue
Block a user