Skip to content
Snippets Groups Projects

Update gatsby to 4.8.1

Merged Dmitry Romanov requested to merge gatsby-update into master
3 files
+ 43
20
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -2,9 +2,25 @@ import React from 'react';
import { Global, css } from '@emotion/core';
import { useTheme } from 'emotion-theming';
import { lighten } from 'polished';
import { theme } from './theme';
export default function GlobalStyle() {
const theme = useTheme();
const theme = {
colors: {
primary: '#E1A809',
background: '#fff',
sidebar: {
background: '#ffffff',
link: '#737373',
heading: '#aaa',
linkActive: '#13131A',
itemActive: '#F5F5FA',
footer: '#A8A8B3',
}
}
};
console.log(theme);
return (
<Global
Loading