Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use elements instead of @carbon/themes #281

Merged
merged 2 commits into from
Jul 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/gatsby-theme-carbon/gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const colors = require('@carbon/themes');
const { uiBackground, interactive01 } = require('@carbon/elements');
const remarkSlug = require('remark-slug');

module.exports = themeOptions => {
@@ -123,8 +123,8 @@ module.exports = themeOptions => {
name: 'Carbon Design Gatsby Theme',
short_name: 'Gatsby Theme Carbon',
start_url: '/',
background_color: colors.uiBackground,
theme_color: colors.interactive01,
background_color: uiBackground,
theme_color: interactive01,
display: 'browser',
icon: iconPath
? path.resolve(iconPath)
2 changes: 1 addition & 1 deletion packages/gatsby-theme-carbon/src/styles/internal/g10.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// These resources get shared with every css module.
// We only want to import variables/mixins/helpers, not things that generate css.
@import '~@carbon/themes/scss/theme-maps';
@import '~@carbon/elements/scss/themes/theme-maps';

$carbon--theme: $carbon--theme--g10;