Update themes

main
Jake Dexheimer 7 years ago committed by Michael Fix
parent c4b09d58a9
commit 208242ae1e

@ -21,7 +21,7 @@ export default () => (
<link rel="stylesheet" href='//cdnjs.cloudflare.com/ajax/libs/codemirror/5.26.0/codemirror.min.css' />
{
THEMES.map((theme, i) => (
<link key={i} rel="stylesheet" href={theme.link || `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.26.0/theme/${theme.id}.min.css`}/>
<link key={i} rel="stylesheet" href={theme.link || `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.30.0/theme/${theme.id}.min.css`}/>
))
}
<link rel="stylesheet" href="//cdn.jsdelivr.net/font-hack/2.020/css/hack-extended.min.css" />

@ -1,50 +1,65 @@
export const THEMES = [
{
id: '3024-night',
name: '3024 Night'
},
{
id: 'ambiance',
name: 'Ambiance'
},
{
id: 'blackboard',
name: 'Blackboard'
},
{
id: 'cobalt',
name: 'Cobalt'
},
{
id: 'dracula',
name: 'Dracula'
},
{
id: 'solarized',
name: 'Solarized',
light: true
id: 'duotone-dark',
name: 'Duotone'
},
{
id: 'zenburn',
name: 'Zenburn'
id: 'hopscotch',
name: 'Hopscotch'
},
{
id: 'yeti',
name: 'Yeti',
light: true
id: 'material',
name: 'Material'
},
{
id: 'twilight',
name: 'Twilight'
id: 'monokai',
name: 'Monokai'
},
{
id: 'paraiso-dark',
name: 'Paraiso'
},
{
id: 'monokai',
name: 'Monokai'
id: 'seti',
name: 'Seti'
},
{
id: 'material',
name: 'Material'
id: 'solarized',
name: 'Solarized',
light: true
},
{
id: 'isotope',
name: 'Isotope'
id: 'twilight',
name: 'Twilight'
},
{
id: 'cobalt',
name: 'Cobalt'
id: 'yeti',
name: 'Yeti',
light: true
},
{
id: '3024-day',
name: '3024 Day',
light: true
id: 'zenburn',
name: 'Zenburn'
}
]

Loading…
Cancel
Save