netlify cms
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import CMS from "netlify-cms-app"
|
||||
import { MdxControl, MdxPreview } from "netlify-cms-widget-mdx"
|
||||
|
||||
CMS.registerWidget("mdx", MdxControl, MdxPreview)
|
||||
@@ -7,10 +7,6 @@ import { Styled } from "theme-ui"
|
||||
|
||||
export default () => (
|
||||
<Fragment>
|
||||
This is where <Styled.a href="http://example.com/">your name</Styled.a>
|
||||
{` `}
|
||||
goes.
|
||||
<br />
|
||||
Or whatever, you make the rules.
|
||||
<Styled.a href="http://example.com/">Ken Chau</Styled.a>
|
||||
</Fragment>
|
||||
)
|
||||
|
||||
@@ -7,19 +7,19 @@ import defaultThemeColors from "gatsby-theme-blog/src/gatsby-plugin-theme-ui/col
|
||||
* to go from default purple to a blue theme
|
||||
*/
|
||||
|
||||
// const darkBlue = `#007acc`
|
||||
// const lightBlue = `#66E0FF`
|
||||
// const blueGray = `#282c35`
|
||||
const darkBlue = `#007acc`
|
||||
const lightBlue = `#66E0FF`
|
||||
const blueGray = `#282c35`
|
||||
|
||||
export default merge(defaultThemeColors, {
|
||||
// text: blueGray,
|
||||
// primary: darkBlue,
|
||||
// heading: blueGray,
|
||||
// modes: {
|
||||
// dark: {
|
||||
// background: blueGray,
|
||||
// primary: lightBlue,
|
||||
// highlight: lightBlue,
|
||||
// },
|
||||
// },
|
||||
text: blueGray,
|
||||
primary: darkBlue,
|
||||
heading: blueGray,
|
||||
modes: {
|
||||
dark: {
|
||||
background: blueGray,
|
||||
primary: lightBlue,
|
||||
highlight: lightBlue,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user