Simplify scss code

This commit is contained in:
Tyler Long
2018-03-11 18:06:28 +08:00
parent a40d89ba0d
commit e20528ab0d
10 changed files with 23 additions and 84 deletions

View File

@@ -36,10 +36,10 @@ import gitGraphRenderer from './diagrams/gitGraph/gitGraphRenderer'
import gitGraphAst from './diagrams/gitGraph/gitGraphAst'
import pkg from '../package.json'
import darkTheme from './themes/dark/mermaid.scss'
import defaultTheme from './themes/default/mermaid.scss'
import forestTheme from './themes/forest/mermaid.scss'
import neutralTheme from './themes/neutral/mermaid.scss'
import darkTheme from './themes/dark/index.scss'
import defaultTheme from './themes/default/index.scss'
import forestTheme from './themes/forest/index.scss'
import neutralTheme from './themes/neutral/index.scss'
const themes = {
dark: darkTheme,