-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #649 from no-chris/configure-postcss
Configure postcss
- Loading branch information
Showing
8 changed files
with
905 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
:root { | ||
--space-xxs: 4px; | ||
--space-xs: 8px; | ||
--space-s: 12px; | ||
--space-m: 16px; | ||
--space-l: 24px; | ||
--space-xl: 32px; | ||
--space-xxl: 48px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* eslint-env node */ | ||
const postcssPresetEnv = require('postcss-preset-env'); | ||
|
||
module.exports = { | ||
plugins: [ | ||
postcssPresetEnv({ | ||
stage: 3, | ||
features: { | ||
'nesting-rules': [ | ||
'auto', | ||
{ | ||
noIsPseudoSelector: false, | ||
}, | ||
], | ||
}, | ||
}), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import '../css/global.css'; | ||
import '../scss/styles.scss'; | ||
|
||
import { createStore } from './state/store'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/chord-chart-studio/src/components/button/Button.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
.button { | ||
font-weight: bold; | ||
background-color: red; | ||
|
||
.buttonContent { | ||
background-color: blueviolet; | ||
padding: var(--space-xxl); | ||
} | ||
} |
Oops, something went wrong.