|
|
@ -5,7 +5,7 @@ import { withRouter } from 'next/router'
|
|
|
|
|
|
|
|
|
|
|
|
// Ours
|
|
|
|
// Ours
|
|
|
|
import ApiContext from '../../components/ApiContext'
|
|
|
|
import ApiContext from '../../components/ApiContext'
|
|
|
|
import { StylesheetLink, CodeMirrorLink, MetaTags } from '../../components/Meta'
|
|
|
|
import { StylesheetLink, CodeMirrorLink, MetaTags, HIGHLIGHTS_ONLY } from '../../components/Meta'
|
|
|
|
import Font from '../../components/style/Font'
|
|
|
|
import Font from '../../components/style/Font'
|
|
|
|
import Carbon from '../../components/Carbon'
|
|
|
|
import Carbon from '../../components/Carbon'
|
|
|
|
import GlobalHighlights from '../../components/Themes/GlobalHighlights'
|
|
|
|
import GlobalHighlights from '../../components/Themes/GlobalHighlights'
|
|
|
@ -22,7 +22,7 @@ const Page = props => (
|
|
|
|
<CodeMirrorLink />
|
|
|
|
<CodeMirrorLink />
|
|
|
|
<Font />
|
|
|
|
<Font />
|
|
|
|
{props.children}
|
|
|
|
{props.children}
|
|
|
|
{props.theme === 'a11y-dark' && (
|
|
|
|
{HIGHLIGHTS_ONLY.includes(props.theme) && (
|
|
|
|
<GlobalHighlights highlights={THEMES_HASH[props.theme].highlights} />
|
|
|
|
<GlobalHighlights highlights={THEMES_HASH[props.theme].highlights} />
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
<style jsx global>
|
|
|
|
<style jsx global>
|
|
|
|