Skip to content

Commit 43d8ebb

Browse files
Aleksei SeletskiyRokt33r
authored andcommitted
Dracula theme buttons in storage settings fix
1 parent 68175cd commit 43d8ebb

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

browser/main/modals/PreferencesModal/StorageItem.styl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,12 @@ body[data-theme="solarized-dark"]
101101
.header-control-button
102102
border-color $ui-solarized-dark-button-backgroundColor
103103
background-color $ui-solarized-dark-button-backgroundColor
104-
color $ui-solarized-dark-text-color
104+
color $ui-solarized-dark-text-color
105+
106+
body[data-theme="dracula"]
107+
.header
108+
border-color $ui-dracula-borderColor
109+
110+
.header-control-button
111+
colorDraculaDefaultButton()
112+
border-color $ui-dracula-borderColor

browser/styles/index.styl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,15 @@ $ui-dracula-button--active-color = #f8f8f2
410410
$ui-dracula-button--active-backgroundColor = #bd93f9
411411
$ui-dracula-button--hover-backgroundColor = lighten($ui-dracula-backgroundColor, 10%)
412412
$ui-dracula-button--focus-borderColor = lighten(#44475a, 25%)
413+
colorDraculaDefaultButton()
414+
border-color $ui-dracula-borderColor
415+
color $ui-dracula-text-color
416+
background-color $ui-dracula-button-backgroundColor
417+
&:hover
418+
background-color $ui-dracula-button--hover-backgroundColor
419+
&:active
420+
&:active:hover
421+
background-color $ui-dracula-button--active-backgroundColor
413422

414423
modalDracula()
415424
position relative

0 commit comments

Comments
 (0)