diff --git a/components/Footer.js b/components/Footer.js index 0b8ae9d..af5ec35 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -1,5 +1,6 @@ import React from 'react' import Link from 'next/link' +import { PALETTE } from '../lib/constants' const Footer = (props) => (
@@ -19,7 +20,7 @@ const Footer = (props) => ( text-align: center; font-size: 14px; margin: 16px 0; - color: #777; + color: ${PALETTE.GRAY}; } a { diff --git a/components/Meta.js b/components/Meta.js index 06fe74c..6aa493a 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -26,7 +26,7 @@ export default () => ( body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; color: #fff; - background: #000; + background: #121212; } h1, h2, h3, h4, h5, h6 { @@ -43,7 +43,8 @@ export default () => ( } ::selection { - background-color: rgba(256, 256, 256, 0.165); + background: rgba(255,255,255,.99); + color: #121212; } #toolbar > div { diff --git a/components/svg/Logo.js b/components/svg/Logo.js index e56eefd..1055b8e 100644 --- a/components/svg/Logo.js +++ b/components/svg/Logo.js @@ -1,7 +1,7 @@ import React from 'react' export default () => ( - + diff --git a/lib/constants.js b/lib/constants.js index 18a8f21..85f8ec9 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -230,8 +230,9 @@ export const LANGUAGES = [ ] export const PALETTE = { - EDITOR_BG: '#000', - SECONDARY: '#fff' + EDITOR_BG: '#121212', + SECONDARY: '#fff', + GRAY: '#646464' } export const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj) diff --git a/pages/about.js b/pages/about.js index 3c4dc2d..98e0e02 100644 --- a/pages/about.js +++ b/pages/about.js @@ -2,7 +2,7 @@ import Page from '../components/Page' import Meta from '../components/Meta' import Header from '../components/Header' import Footer from '../components/Footer' - +import { PALETTE } from '../lib/constants' export default () => ( @@ -14,16 +14,16 @@ export default () => (

How do I use it?

Import

-

There are a few different ways to import code into Carbon:

-

I want to make this better.

@@ -31,8 +31,8 @@ export default () => (