diff --git a/browser/components/MarkdownEditor.js b/browser/components/MarkdownEditor.js index 978e28f2..c3c46890 100644 --- a/browser/components/MarkdownEditor.js +++ b/browser/components/MarkdownEditor.js @@ -147,6 +147,7 @@ class MarkdownEditor extends React.Component { : 'preview--hide' } style={previewStyle} + theme={config.ui.theme} fontSize={config.preview.fontSize} fontFamily={config.preview.fontFamily} codeBlockTheme={config.preview.codeBlockTheme} diff --git a/browser/components/MarkdownPreview.js b/browser/components/MarkdownPreview.js index dc55c0c1..0bd2e397 100644 --- a/browser/components/MarkdownPreview.js +++ b/browser/components/MarkdownPreview.js @@ -88,7 +88,8 @@ export default class MarkdownPreview extends React.Component { prevProps.fontSize !== this.props.fontSize || prevProps.codeBlockFontFamily !== this.props.codeBlockFontFamily || prevProps.codeBlockTheme !== this.props.codeBlockTheme || - prevProps.lineNumber !== this.props.lineNumber + prevProps.lineNumber !== this.props.lineNumber || + prevProps.theme !== this.props.theme ) this.rewriteIframe() } @@ -100,7 +101,7 @@ export default class MarkdownPreview extends React.Component { el.removeEventListener('click', this.checkboxClickHandler) }) - let { value, fontFamily, fontSize, codeBlockFontFamily, lineNumber, codeBlockTheme } = this.props + let { value, fontFamily, fontSize, codeBlockFontFamily, lineNumber, codeBlockTheme, theme } = this.props fontFamily = _.isString(fontFamily) && fontFamily.trim().length > 0 ? [fontFamily].concat(defaultFontFamily) : defaultFontFamily @@ -137,6 +138,8 @@ export default class MarkdownPreview extends React.Component { ` + + this.refs.root.contentWindow.document.body.setAttribute('data-theme', theme) this.refs.root.contentWindow.document.body.innerHTML = markdown(value) Array.prototype.forEach.call(this.refs.root.contentWindow.document.querySelectorAll('a'), (el) => { diff --git a/browser/components/markdown.styl b/browser/components/markdown.styl index 38b839df..a115b0f9 100644 --- a/browser/components/markdown.styl +++ b/browser/components/markdown.styl @@ -244,3 +244,48 @@ table border-color borderColor &:last-child border-right solid 1px borderColor + +themeDarkBackground = darken(#21252B, 10%) +themeDarkText = #DDDDDD +themeDarkBorder = lighten(themeDarkBackground, 20%) +themeDarkPreview = #282C34 +themeDarkTableOdd = themeDarkPreview +themeDarkTableEven = darken(themeDarkPreview, 10%) +themeDarkTableHead = themeDarkTableEven +themeDarkTableBorder = themeDarkBorder +themeDarkModalButtonDefault = themeDarkPreview +themeDarkModalButtonDanger = #BF360C +body[data-theme="dark"] + color themeDarkText + border-color themeDarkBorder + background-color themeDarkPreview + a:hover + background-color alpha(lighten(brandColor, 30%), 0.2) !important + + code + border-color darken(themeDarkBorder, 10%) + background-color lighten(themeDarkPreview, 5%) + + pre + code + background-color transparent + + label.taskListItem + background-color themeDarkPreview + table + thead + tr + background-color themeDarkTableHead + th + border-color themeDarkTableBorder + &:last-child + border-right solid 1px themeDarkTableBorder + tbody + tr:nth-child(2n + 1) + background-color themeDarkTableOdd + tr:nth-child(2n) + background-color themeDarkTableEven + td + border-color themeDarkTableBorder + &:last-child + border-right solid 1px themeDarkTableBorder diff --git a/browser/finder/FinderMain.styl b/browser/finder/FinderMain.styl index 44d8ef3a..198e435a 100644 --- a/browser/finder/FinderMain.styl +++ b/browser/finder/FinderMain.styl @@ -20,6 +20,7 @@ $list-width = 250px border none outline none text-align center + background-color transparent .result absolute left right bottom top $search-height @@ -76,3 +77,32 @@ $list-width = 250px .result-detail absolute top bottom right left $nav-width + $list-width + +body[data-theme="dark"] + .root + background-color $ui-dark-backgroundColor + .search + border-color $ui-dark-borderColor + .search-input + color $ui-dark-text-color + + .result-nav + background-color $ui-dark-backgroundColor + label + color $ui-dark-text-color + + .result-nav-menu + navDarkButtonColor() + + .result-nav-menu--active + background-color $ui-dark-button--active-backgroundColor + color $ui-dark-button--active-color + &:hover + background-color $ui-dark-button--active-backgroundColor + + .result-list + border-color $ui-dark-borderColor + + .result-detail + absolute top bottom right + left $nav-width + $list-width diff --git a/browser/finder/NoteDetail.styl b/browser/finder/NoteDetail.styl index 947ea324..83e1a001 100644 --- a/browser/finder/NoteDetail.styl +++ b/browser/finder/NoteDetail.styl @@ -31,14 +31,6 @@ position relative flex 1 border-right $ui-border - &:hover - .tabList-item-deleteButton - color $ui-inactive-text-color - &:hover - background-color darken($ui-backgroundColor, 15%) - &:active - color white - background-color $ui-active-color .tabList-item--active @extend .tabList-item .tabList-item-button @@ -47,6 +39,7 @@ width 100% height 29px navButtonColor() + outline none border-left 4px solid transparent .tabList-item-deleteButton position absolute @@ -91,3 +84,40 @@ box-sizing border-box height 100% width 100% + +body[data-theme="dark"] + .description + border-color $ui-dark-borderColor + + .description-textarea + background-color $ui-dark-button--hover-backgroundColor + color white + + .tabList + background-color $ui-button--active-backgroundColor + border-bottom-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + .tabList-item + border-color $ui-dark-borderColor + &:hover + background-color $ui-dark-button--hover-backgroundColor + .tabList-item--active + border-color $ui-dark-borderColor + .tabList-item-button + border-color $brand-color + .tabList-item-button + navDarkButtonColor() + border-left 4px solid transparent + .tabList-plusButton + navDarkButtonColor() + + .tabView-top + border-color $ui-dark-borderColor + .tabView-top-name + border-color $ui-dark-borderColor + color $ui-dark-text-color + background-color $ui-dark-button--hover-backgroundColor + .tabView-top-mode + border-color $ui-dark-borderColor + background-color $dark-default-button-background + color $ui-dark-inactive-text-color diff --git a/browser/finder/NoteItem.styl b/browser/finder/NoteItem.styl index 924fb452..3664ca1d 100644 --- a/browser/finder/NoteItem.styl +++ b/browser/finder/NoteItem.styl @@ -84,3 +84,38 @@ color $ui-inactive-text-color vertical-align middle +body[data-theme="dark"] + .root + border-color $ui-dark-borderColor + &:hover + background-color alpha($ui-active-color, 20%) + + .root--active + @extend .root + .border + border-color $ui-active-color + + .info + color $ui-dark-inactive-text-color + + .info-left-folder + color $ui-dark-text-color + .info-left-folder-surfix + color $ui-dark-inactive-text-color + + .title + color $ui-dark-text-color + .title-icon + color $ui-dark-inactive-text-color + .title-empty + color $ui-dark-inactive-text-color + + .tagList-icon + color $ui-dark-button-color + + .tagList-item + border-color $ui-dark-button--focus-borderColor + background-color $ui-dark-backgroundColor + + .tagList-empty + color $ui-dark-inactive-text-color diff --git a/browser/finder/StorageSection.styl b/browser/finder/StorageSection.styl index ce49af2d..7535bb37 100644 --- a/browser/finder/StorageSection.styl +++ b/browser/finder/StorageSection.styl @@ -57,3 +57,29 @@ color $ui-button--active-color &:hover background-color $ui-button--active-backgroundColor + +body[data-theme="dark"] + .header-toggleButton + navDarkButtonColor() + .header-name + navDarkButtonColor() + + .header-name--active + @extend .header-name + background-color $ui-button--active-backgroundColor + color $ui-button--active-color + &:hover + background-color $ui-button--active-backgroundColor + + .folderList-item + navDarkButtonColor() + border-width 0 0 0 6px + border-style solid + border-color transparent + + .folderList-item--active + @extend .folderList-item + background-color $ui-button--active-backgroundColor + color $ui-button--active-color + &:hover + background-color $ui-button--active-backgroundColor diff --git a/browser/finder/ipcClient.js b/browser/finder/ipcClient.js index 55bcf049..e3382368 100644 --- a/browser/finder/ipcClient.js +++ b/browser/finder/ipcClient.js @@ -79,6 +79,11 @@ nodeIpc.connectTo( nodeIpc.of.node.on('config-renew', function (payload) { console.log('config', payload) + if (payload.ui.theme === 'dark') { + document.body.setAttribute('data-theme', 'dark') + } else { + document.body.setAttribute('data-theme', 'default') + } store.default.dispatch({ type: 'SET_CONFIG', config: payload diff --git a/browser/main/Detail/Detail.styl b/browser/main/Detail/Detail.styl index 8d2374ce..11f1edcc 100644 --- a/browser/main/Detail/Detail.styl +++ b/browser/main/Detail/Detail.styl @@ -15,3 +15,10 @@ line-height 72px text-align center color $ui-inactive-text-color + +body[data-theme="dark"] + .root + border-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + .empty-message + color $ui-dark-inactive-text-color diff --git a/browser/main/Detail/FolderSelect.styl b/browser/main/Detail/FolderSelect.styl index 7aa61364..41db7525 100644 --- a/browser/main/Detail/FolderSelect.styl +++ b/browser/main/Detail/FolderSelect.styl @@ -57,10 +57,11 @@ .search-optionList position fixed - border $ui-border z-index 200 background-color white border-radius 2px + box-shadow 2px 2px 10px gray + .search-optionList-item height 34px @@ -86,3 +87,45 @@ font-size 10px color $ui-inactive-text-color margin-left 5px + +body[data-theme="dark"] + .root + color $ui-dark-text-color + &:hover + color white + background-color $ui-dark-button--hover-backgroundColor + border-color $ui-dark-borderColor + + .root--search, .root--focus + @extend .root + background-color $ui-dark-button--hover-backgroundColor + border-color $ui-input--focus-borderColor + &:hover + background-color $ui-dark-button--hover-backgroundColor + border-color $ui-input--focus-borderColor + + .idle-label-name-surfix + color $ui-dark-inactive-text-color + + .search-input + color white + background-color transparent + border-color $ui-dark-borderColor + + .search-optionList + color white + background-color $ui-dark-button--hover-backgroundColor + box-shadow 2px 2px 10px black + + .search-optionList-item + &:hover + background-color lighten($ui-dark-button--hover-backgroundColor, 15%) + + .search-optionList-item--active + background-color $ui-dark-button--active-backgroundColor + color $ui-dark-button--active-color + &:hover + background-color $ui-dark-button--active-backgroundColor + color $ui-dark-button--active-color + .search-optionList-item-name-surfix + color $ui-dark-inactive-text-color diff --git a/browser/main/Detail/MarkdownNoteDetail.styl b/browser/main/Detail/MarkdownNoteDetail.styl index b06a8ef7..5a63a9b8 100644 --- a/browser/main/Detail/MarkdownNoteDetail.styl +++ b/browser/main/Detail/MarkdownNoteDetail.styl @@ -29,7 +29,6 @@ $info-height = 75px padding 0 25px border-radius 2px border none - color $ui-text-color colorDangerButton() .info-delete-cancelButton @@ -88,6 +87,7 @@ $info-height = 75px top 45px padding 5px opacity 0 + border-radius 2px .body absolute bottom left right @@ -95,3 +95,36 @@ $info-height = 75px .body-noteEditor absolute top bottom left right + +body[data-theme="dark"] + .root + border-color $ui-dark-borderColor + + .info + border-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + + .info-delete + color $ui-dark-text-color + + .info-delete-confirmButton + colorDarkDangerButton() + color $ui-dark-text-color + + .info-delete-cancelButton + colorDarkDefaultButton() + border-color $ui-dark-borderColor + color $ui-dark-text-color + + .info-right-button + navDarkButtonColor() + border-color $ui-dark-borderColor + &:active + border-color $ui-dark-button--focus-borderColor + &:hover .info-right-button-tooltip + opacity 1 + &:focus + border-color $ui-button--focus-borderColor + + .info-right-button-tooltip + darkTooltip() diff --git a/browser/main/Detail/SnippetNoteDetail.styl b/browser/main/Detail/SnippetNoteDetail.styl index 67e14a6b..cd387995 100644 --- a/browser/main/Detail/SnippetNoteDetail.styl +++ b/browser/main/Detail/SnippetNoteDetail.styl @@ -174,3 +174,95 @@ $info-height = 75px .tabView-content absolute left right bottom top 30px + +body[data-theme="dark"] + .root + border-color $ui-dark-borderColor + + .info + border-bottom-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + + .info-delete + color $ui-dark-text-color + + .info-delete-confirmButton + colorDarkDangerButton() + color $ui-dark-text-color + + .info-delete-cancelButton + colorDarkDefaultButton() + border-color $ui-dark-borderColor + color $ui-dark-text-color + + .info-right-button + navDarkButtonColor() + border-color $ui-dark-borderColor + &:active + border-color $ui-dark-button--focus-borderColor + &:hover .info-right-button-tooltip + opacity 1 + &:focus + border-color $ui-button--focus-borderColor + + .info-right-button-tooltip + darkTooltip() + + .body-description + border-bottom-color $ui-dark-borderColor + + .body-description-textarea + background-color $ui-dark-button--hover-backgroundColor + color white + + .tabList + background-color $ui-button--active-backgroundColor + border-bottom-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + + .tabList-item + border-color $ui-dark-borderColor + &:hover + background-color $ui-dark-button--hover-backgroundColor + .tabList-item-deleteButton + color $ui-dark-inactive-text-color + &:hover + background-color darken($ui-dark-button--hover-backgroundColor, 15%) + &:active + color white + background-color $ui-dark-button--active-backgroundColor + .tabList-item--active + border-color $ui-dark-borderColor + .tabList-item-button + border-color $brand-color + &:hover + background-color $ui-dark-button--hover-backgroundColor + .tabList-item-deleteButton + color $ui-dark-inactive-text-color + &:hover + background-color darken($ui-dark-button--hover-backgroundColor, 15%) + &:active + color white + background-color $ui-dark-button--active-backgroundColor + .tabList-item-button + navDarkButtonColor() + border-left 4px solid transparent + .tabList-plusButton + navDarkButtonColor() + .tabView-top + border-color $ui-dark-borderColor + .tabView-top-name + border-color $ui-dark-borderColor + color $ui-dark-text-color + background-color $ui-dark-button--hover-backgroundColor + .tabView-top-mode + border-color $ui-dark-borderColor + background-color $dark-default-button-background + color $ui-dark-inactive-text-color + &:hover + color $ui-dark-text-color + background-color $ui-dark-button--hover-backgroundColor + &:active + background-color $ui-dark-button--active-backgroundColor + &:active:hover + background-color $ui-dark-button--active-backgroundColor diff --git a/browser/main/Detail/StarButton.styl b/browser/main/Detail/StarButton.styl index 041fdf1d..89b199dc 100644 --- a/browser/main/Detail/StarButton.styl +++ b/browser/main/Detail/StarButton.styl @@ -7,10 +7,11 @@ .tooltip opacity 1 - .root--active @extend .root - color $ui-active-color + color $brand-color + &:hover + color $brand-color !important .icon transform rotate(-72deg) .icon @@ -23,3 +24,4 @@ right 65px padding 5px opacity 0 + border-radius 2px diff --git a/browser/main/Detail/TagSelect.styl b/browser/main/Detail/TagSelect.styl index 5a5bafce..ba7e309c 100644 --- a/browser/main/Detail/TagSelect.styl +++ b/browser/main/Detail/TagSelect.styl @@ -61,3 +61,27 @@ border-color $ui-input--focus-borderColor = #369DCD &:disabled background-color $ui-input--disabled-backgroundColor = #DDD + +body[data-theme="dark"] + .icon + color $ui-dark-button-color + + .tag + background-color $ui-dark-button--hover-backgroundColor + + .tag-removeButton + border-color $ui-button--focus-borderColor + background-color transparent + color $ui-button-color + + .tag-label + color $ui-dark-text-color + + .newTag + border-color $ui-dark-borderColor + background-color transparent + color $ui-dark-text-color + &:focus + border-color $ui-input--focus-borderColor = #369DCD + &:disabled + background-color $ui-input--disabled-backgroundColor = #DDD diff --git a/browser/main/Main.js b/browser/main/Main.js index 8725b091..3fb912ba 100644 --- a/browser/main/Main.js +++ b/browser/main/Main.js @@ -27,7 +27,13 @@ class Main extends React.Component { } componentDidMount () { - let { dispatch } = this.props + let { dispatch, config } = this.props + + if (config.ui.theme === 'dark') { + document.body.setAttribute('data-theme', 'dark') + } else { + document.body.setAttribute('data-theme', 'default') + } // Reload all data dataApi.init() diff --git a/browser/main/Main.styl b/browser/main/Main.styl index f16a583c..44d08854 100644 --- a/browser/main/Main.styl +++ b/browser/main/Main.styl @@ -28,3 +28,15 @@ left -3px z-index 10 cursor col-resize + + +body[data-theme="dark"] + .root + absolute top left bottom right + + .slider + background-color $ui-dark-borderColor + border-color $ui-dark-borderColor + + .slider--active + background-color $ui-button--active-backgroundColor diff --git a/browser/main/NoteList/NoteList.styl b/browser/main/NoteList/NoteList.styl index 2a8d1fde..27ff2173 100644 --- a/browser/main/NoteList/NoteList.styl +++ b/browser/main/NoteList/NoteList.styl @@ -91,3 +91,44 @@ color $ui-inactive-text-color vertical-align middle +body[data-theme="dark"] + .root + border-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + + .item + border-color $ui-dark-borderColor + &:hover + background-color alpha($ui-active-color, 20%) + + .item--active + @extend .item + .item-border + border-color $ui-active-color + + .item-info + color $ui-dark-inactive-text-color + + .item-info-left-folder + color $ui-dark-text-color + .item-info-left-folder-surfix + color $ui-dark-inactive-text-color + + .item-title + color $ui-dark-text-color + .item-title-icon + color $ui-darkinactive-text-color + .item-title-empty + color $ui-dark-inactive-text-color + + .item-tagList-icon + color $ui-dark-button-color + + .item-tagList-item + border-color $ui-dark-button--focus-borderColor + background-color $ui-dark-button--hover-backgroundColor + color $ui-dark-text-color + + .item-tagList-empty + color $ui-inactive-text-color + vertical-align middle diff --git a/browser/main/SideNav/SideNav.styl b/browser/main/SideNav/SideNav.styl index b78cea2c..1fad5584 100644 --- a/browser/main/SideNav/SideNav.styl +++ b/browser/main/SideNav/SideNav.styl @@ -122,3 +122,32 @@ pointer-events none opacity 0 font-size 12px + +body[data-theme="dark"] + .root, .root--folded + border-color $ui-dark-borderColor + background-color $ui-dark-backgroundColor + color $ui-dark-text-color + + .top + border-color $ui-dark-borderColor + + .top-menu + navDarkButtonColor() + + .menu-button + navDarkButtonColor() + + .menu-button--active + @extend .menu-button + background-color $ui-dark-button--active-backgroundColor + color $ui-dark-button--active-color + &:hover + background-color $ui-dark-button--active-backgroundColor + + .storageList-empty + color $ui-dark-inactive-text-color + + .navToggle + navDarkButtonColor() + diff --git a/browser/main/StatusBar/StatusBar.styl b/browser/main/StatusBar/StatusBar.styl index 9286ae25..e9259949 100644 --- a/browser/main/StatusBar/StatusBar.styl +++ b/browser/main/StatusBar/StatusBar.styl @@ -35,3 +35,18 @@ .update-icon color $brand-color + +body[data-theme="dark"] + .root + background-color $ui-dark-backgroundColor + + .pathname + color $ui-dark-inactive-text-color + + .zoom + border-color $ui-dark-borderColor + + .update + navDarkButtonColor() + border-color $ui-dark-borderColor + border-left 1px solid $ui-dark-borderColor diff --git a/browser/main/StatusBar/index.js b/browser/main/StatusBar/index.js index 28486281..afdc5c3a 100644 --- a/browser/main/StatusBar/index.js +++ b/browser/main/StatusBar/index.js @@ -74,7 +74,7 @@ class StatusBar extends React.Component {
{location.pathname + location.search}
{this.state.updateReady ? : null } diff --git a/browser/main/TopBar/TopBar.styl b/browser/main/TopBar/TopBar.styl index 69d6d1d6..dafe6a54 100644 --- a/browser/main/TopBar/TopBar.styl +++ b/browser/main/TopBar/TopBar.styl @@ -102,3 +102,65 @@ $control-height = 34px line-height normal opacity 0 transition 0.1s + +body[data-theme="dark"] + .root, .root--expanded + background-color $ui-dark-backgroundColor + + .control + border-color $ui-dark-borderColor + .control-search + background-color $dark-background-color + + .control-search-icon + absolute top bottom left + line-height 32px + width 35px + color $ui-dark-inactive-text-color + + .control-search-input + input + background-color $dark-background-color + color $ui-dark-text-color + .control-search-optionList + color white + background-color $ui-dark-button--hover-backgroundColor + border-color $ui-dark-borderColor + box-shadow 2px 2px 10px black + + .control-search-optionList-item + border-color $ui-dark-borderColor + &:hover + background-color lighten($ui-dark-button--hover-backgroundColor, 15%) + .control-search-optionList-item-folder + color $ui-dark-text-color + .control-search-optionList-item-folder-surfix + font-size 10px + margin-left 5px + color $ui-inactive-text-color + .control-search-optionList-item-type + font-size 12px + color $ui-inactive-text-color + padding-right 3px + .control-search-optionList-empty + height 150px + color $ui-inactive-text-color + line-height 150px + text-align center + .control-newPostButton + colorDarkDefaultButton() + border-color $ui-dark-borderColor + &:active + border-color $ui-dark-button--active-backgroundColor + + .control-newPostButton-tooltip + darkTooltip() + position fixed + pointer-events none + top 45px + left 385px + z-index 10 + padding 5px + line-height normal + opacity 0 + transition 0.1s diff --git a/browser/main/global.styl b/browser/main/global.styl index d4073aff..c907a1a0 100644 --- a/browser/main/global.styl +++ b/browser/main/global.styl @@ -83,3 +83,7 @@ modalBackColor = transparentify(white, 65%) absolute top left bottom right background-color modalBackColor z-index modalZIndex + 1 +body[data-theme="dark"] + .ModalBase + .modalBack + background-color alpha(black, 60%) diff --git a/browser/main/lib/ConfigManager.js b/browser/main/lib/ConfigManager.js index 43802707..bafdffed 100644 --- a/browser/main/lib/ConfigManager.js +++ b/browser/main/lib/ConfigManager.js @@ -67,6 +67,12 @@ function set (updates) { if (!validate(newConfig)) throw new Error('INVALID CONFIG') _save(newConfig) + if (newConfig.ui.theme === 'dark') { + document.body.setAttribute('data-theme', 'dark') + } else { + document.body.setAttribute('data-theme', 'default') + } + remote.getCurrentWindow().webContents.send('config-renew', { config: get(), silent: false diff --git a/browser/main/lib/ipc.js b/browser/main/lib/ipc.js index e0d117cf..2e3de2e2 100644 --- a/browser/main/lib/ipc.js +++ b/browser/main/lib/ipc.js @@ -114,6 +114,7 @@ nodeIpc.serve( nodeIpc.server.on('connect', function (socket) { console.log('connected') + nodeIpc.server.broadcast('config-renew', ConfigManager.get()) socket.on('close', function () { console.log('socket dead') }) diff --git a/browser/main/modals/NewNoteModal.styl b/browser/main/modals/NewNoteModal.styl index 7973a463..ed985f6a 100644 --- a/browser/main/modals/NewNoteModal.styl +++ b/browser/main/modals/NewNoteModal.styl @@ -54,3 +54,28 @@ color $ui-inactive-text-color text-align center margin-bottom 25px + +body[data-theme="dark"] + .root + modalDark() + + .header + background-color $ui-dark-button--hover-backgroundColor + border-color $ui-dark-borderColor + color $ui-dark-text-color + + .closeButton + border-color $ui-dark-borderColor + color $ui-dark-text-color + colorDarkDefaultButton() + + .control-button + border-color $ui-dark-borderColor + color $ui-dark-text-color + background-color transparent + &:focus + colorPrimaryButton() + + .description + color $ui-inactive-text-color + diff --git a/browser/main/modals/PreferencesModal/ConfigTab.js b/browser/main/modals/PreferencesModal/ConfigTab.js index 947ad318..d685b04d 100644 --- a/browser/main/modals/PreferencesModal/ConfigTab.js +++ b/browser/main/modals/PreferencesModal/ConfigTab.js @@ -230,7 +230,6 @@ class ConfigTab extends React.Component {