From a69a3f2e44240f6675fed8855e5fd523a9c101a4 Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 30 Jan 2018 01:42:57 +0000 Subject: [PATCH] Add Oceanic Next theme (#167) * Add Oceanic Next theme * Update Codemirror to 5.34.0 --- components/Meta.js | 2 +- lib/constants.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/Meta.js b/components/Meta.js index b458621..5acda23 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -42,7 +42,7 @@ export default () => ( rel="stylesheet" href={ 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` } /> ))} diff --git a/lib/constants.js b/lib/constants.js index 08740a3..6cfcde6 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -51,6 +51,10 @@ export const THEMES = [ id: 'monokai', name: 'Monokai' }, + { + id: 'oceanic-next', + name: 'Oceanic Next' + }, { id: 'panda-syntax', name: 'Panda'