mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
changed cssmodule & applied style for solarized dark theme
This commit is contained in:
@@ -2,7 +2,7 @@ import CodeMirror from 'codemirror'
|
||||
import React from 'react'
|
||||
import _ from 'lodash'
|
||||
import styles from './SnippetTab.styl'
|
||||
import CSSModules from 'react-css-modules'
|
||||
import CSSModules from 'browser/lib/CSSModules'
|
||||
import dataApi from 'browser/main/lib/dataApi'
|
||||
|
||||
const defaultEditorFontFamily = ['Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', 'monospace']
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@import('./Tab')
|
||||
@import('./ConfigTab')
|
||||
|
||||
|
||||
.root
|
||||
padding 15px
|
||||
white-space pre
|
||||
@@ -143,4 +143,16 @@ body[data-theme="dark"]
|
||||
&:hover
|
||||
background darken(#2E3235, 5)
|
||||
.snippet-detail
|
||||
color white
|
||||
color white
|
||||
|
||||
body[data-theme="solarized-dark"]
|
||||
.snippets
|
||||
background: #083e4c
|
||||
.snippet-item
|
||||
color white
|
||||
&::after
|
||||
background rgba(255, 255, 255 0.1)
|
||||
&:hover
|
||||
background #0a4d5e
|
||||
.snippet-detail
|
||||
color white
|
||||
|
||||
Reference in New Issue
Block a user