From 43d8ebb3c42955b10050ea3160714fe8c8f1364d Mon Sep 17 00:00:00 2001 From: Aleksei Seletskiy Date: Mon, 2 Sep 2019 14:20:37 -0700 Subject: [PATCH] Dracula theme buttons in storage settings fix --- browser/main/modals/PreferencesModal/StorageItem.styl | 10 +++++++++- browser/styles/index.styl | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/browser/main/modals/PreferencesModal/StorageItem.styl b/browser/main/modals/PreferencesModal/StorageItem.styl index adcc483e..3e588a17 100644 --- a/browser/main/modals/PreferencesModal/StorageItem.styl +++ b/browser/main/modals/PreferencesModal/StorageItem.styl @@ -101,4 +101,12 @@ body[data-theme="solarized-dark"] .header-control-button border-color $ui-solarized-dark-button-backgroundColor background-color $ui-solarized-dark-button-backgroundColor - color $ui-solarized-dark-text-color \ No newline at end of file + color $ui-solarized-dark-text-color + +body[data-theme="dracula"] + .header + border-color $ui-dracula-borderColor + + .header-control-button + colorDraculaDefaultButton() + border-color $ui-dracula-borderColor \ No newline at end of file diff --git a/browser/styles/index.styl b/browser/styles/index.styl index b9f9c41e..53456da9 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -410,6 +410,15 @@ $ui-dracula-button--active-color = #f8f8f2 $ui-dracula-button--active-backgroundColor = #bd93f9 $ui-dracula-button--hover-backgroundColor = lighten($ui-dracula-backgroundColor, 10%) $ui-dracula-button--focus-borderColor = lighten(#44475a, 25%) +colorDraculaDefaultButton() + border-color $ui-dracula-borderColor + color $ui-dracula-text-color + background-color $ui-dracula-button-backgroundColor + &:hover + background-color $ui-dracula-button--hover-backgroundColor + &:active + &:active:hover + background-color $ui-dracula-button--active-backgroundColor modalDracula() position relative