Skip to content

Commit 6105034

Browse files
committed
finished styling
1 parent 205451a commit 6105034

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

browser/components/NoteItem.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ body[data-theme="dracula"]
441441
.item-title
442442
.item-title-icon
443443
.item-bottom-time
444-
color $ui-dracula-text-color
444+
color $ui-dracula-active-color
445445
.item-bottom-tagList-item
446446
background-color alpha(#f8f8f2, 10%)
447447
color $ui-dracula-text-color

browser/main/Detail/FolderSelect.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ body[data-theme="monokai"]
162162

163163
body[data-theme="dracula"]
164164
.root
165-
color $ui-dark-text-color
165+
color $ui-dracula-text-color
166166
&:hover
167167
color #f8f8f2
168-
background-color $ui-dracula-button--hover-backgroundColor
168+
background-color $ui-dark-button--hover-backgroundColor
169169
border-color $ui-dracula-borderColor
170170

171171
.search-optionList
@@ -181,7 +181,7 @@ body[data-theme="dracula"]
181181
background-color $ui-dracula-button--active-backgroundColor
182182
color $ui-dracula-button--active-color
183183
&:hover
184-
background-color $ui-dracula-button--active-backgroundColor
184+
background-color $ui-dark-button--hover-backgroundColor
185185
color $ui-dracula-button--active-color
186186
.search-optionList-item-name-surfix
187187
color $ui-dracula-inactive-text-color

browser/main/Detail/TagSelect.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ body[data-theme="monokai"]
7878

7979
body[data-theme="dracula"]
8080
.tag
81-
background-color $ui-dracula-button-backgroundColor
81+
background-color $ui-dracula-tag-backgroundColor
8282

8383
.tag-removeButton
8484
border-color $ui-dracula-button--focus-borderColor
8585
background-color transparent
8686

8787
.tag-label
88-
color $ui-dracula-text-color
88+
color $ui-dracula-borderColor

browser/main/Detail/ToggleModeButton.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ body[data-theme="dracula"]
6868
.control-toggleModeButton
6969
background-color #282a36
7070
.active
71-
background-color #ff79c6
72-
box-shadow 2px 0px 7px #222222
71+
background-color #bd93f9
72+
box-shadow 2px 0px 7px #222222

browser/styles/index.styl

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,16 @@ colorMonokaiPrimaryButton()
128128
&:active:hover
129129
background-color $dark-primary-button-background--active
130130

131+
colorDraculaPrimaryButton()
132+
color $ui-dracula-text-color
133+
background-color $ui-dracula-button-backgroundColor
134+
border none
135+
&:hover
136+
background-color $ui-dracula-button--active-backgroundColor
137+
&:active
138+
&:active:hover
139+
background-color $ui-dracula-button--active-backgroundColor
140+
131141

132142
// Danger button(Brand color)
133143
$danger-button-background = #c9302c
@@ -391,17 +401,17 @@ $ui-dracula-noteList-backgroundColor = #282a36
391401
$ui-dracula-noteDetail-backgroundColor = #282a36
392402

393403
$ui-dracula-text-color = #f8f8f2
394-
$ui-dracula-active-color = #50fa7b
404+
$ui-dracula-active-color = #bd93f9
395405

396406
$ui-dracula-borderColor = #44475a
397407

398408
$ui-dracula-tag-backgroundColor = #50fa7b
399409

400410
$ui-dracula-button-backgroundColor = #44475a
401-
$ui-dracula-button--active-color = #ff79c6
402-
$ui-dracula-button--active-backgroundColor = #50fa7b
411+
$ui-dracula-button--active-color = #f8f8f2
412+
$ui-dracula-button--active-backgroundColor = #bd93f9
403413
$ui-dracula-button--hover-backgroundColor = lighten($ui-dracula-backgroundColor, 10%)
404-
$ui-dracula-button--focus-borderColor = lighten(#bd93f9, 25%)
414+
$ui-dracula-button--focus-borderColor = lighten(#44475a, 25%)
405415

406416
modalDracula()
407417
position relative

0 commit comments

Comments
 (0)