Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
tutorials
eic_tutorial
Merge requests
!19
Update gatsby to 4.8.1
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update gatsby to 4.8.1
gatsby-update
into
master
Overview
1
Commits
1
Pipelines
2
Changes
3
Merged
Dmitry Romanov
requested to merge
gatsby-update
into
master
3 years ago
Overview
1
Commits
1
Pipelines
2
Changes
3
Expand
Update gatsby and packages to resolve dependency error
Fix theme to work with new version
Fix configs
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5bb85033
1 commit,
3 years ago
3 files
+
43
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
src/@rocketseat/gatsby-theme-docs/styles/global.js
+
17
−
1
Options
@@ -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