Add Oceanic Next theme (#167)

* Add Oceanic Next theme

* Update Codemirror to 5.34.0
main
Hugo 7 years ago committed by Michael Fix
parent 9d1f05ad0f
commit a69a3f2e44

@ -42,7 +42,7 @@ export default () => (
rel="stylesheet" rel="stylesheet"
href={ href={
theme.link || theme.link ||
`//cdnjs.cloudflare.com/ajax/libs/codemirror/5.30.0/theme/${theme.id}.min.css` `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.34.0/theme/${theme.id}.min.css`
} }
/> />
))} ))}

@ -51,6 +51,10 @@ export const THEMES = [
id: 'monokai', id: 'monokai',
name: 'Monokai' name: 'Monokai'
}, },
{
id: 'oceanic-next',
name: 'Oceanic Next'
},
{ {
id: 'panda-syntax', id: 'panda-syntax',
name: 'Panda' name: 'Panda'

Loading…
Cancel
Save