-
Notifications
You must be signed in to change notification settings - Fork 639
Spike: Button with css #3065
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
Closed
Closed
Spike: Button with css #3065
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
9e5493e
Button with css
siddharthkp 2df502e
Update generated/components.json
siddharthkp 1224e8b
build with modules
siddharthkp c81d1c1
Merge branch 'spike-publish-css' of github.com:primer/react into spik…
siddharthkp 7e9ff96
fix storybook setup
siddharthkp 72ae002
auto import css from component
siddharthkp 6e008b0
move patch package to build
siddharthkp ead3e2e
move back to postcss to create 1 file
siddharthkp a4f5d6f
wip
siddharthkp 37b50e4
add another todo
siddharthkp bf00576
turns out we already use classnames
siddharthkp fd5151c
Merge branch 'main' into spike-publish-css
siddharthkp 6752a47
Update generated/components.json
siddharthkp 2e18e2d
test(vrt): update snapshots
siddharthkp cb1e02b
merge Button2 into drafts/Button2, delete drafts/IconButton
siddharthkp 0b616b1
Merge branch 'spike-publish-css' of github.com:primer/react into spik…
siddharthkp 114b350
Update generated/components.json
siddharthkp 9c68346
Button.counter only accepts numbers
siddharthkp 94d75cc
test(vrt): update snapshots
siddharthkp 8834621
Add theming for primitives to BaseStyles
siddharthkp 7d75f51
update checklist
siddharthkp 3024134
Merge branch 'spike-publish-css' of github.com:primer/react into spik…
siddharthkp ea19c4d
test(vrt): update snapshots
siddharthkp 29924ce
undo unrelated change
siddharthkp 20ff4e5
Merge branch 'spike-publish-css' of github.com:primer/react into spik…
siddharthkp 6f378ef
reduce unrelated changes
siddharthkp a3f2639
accidental delete
siddharthkp a95df78
remove task as done
siddharthkp 97cc41e
Merge branch 'main' into spike-publish-css
siddharthkp 2497640
update lockfile
siddharthkp 6529201
reduce unrelated changes
siddharthkp 7af5b4c
Update generated/components.json
siddharthkp 359ab69
test(vrt): update snapshots
siddharthkp 9d7e486
fix spacing for trailingAction
siddharthkp 7ed9d3c
Merge branch 'spike-publish-css' of github.com:primer/react into spik…
siddharthkp d845859
maybe: increase specificity of sx
siddharthkp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
-54 Bytes
(99%)
...ctionList.test.ts-snapshots/ActionList-Inside-Overlay-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-69 Bytes
(99%)
...ts/ActionList.test.ts-snapshots/ActionList-Inside-Overlay-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-52 Bytes
(99%)
...onList.test.ts-snapshots/ActionList-Inside-Overlay-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-54 Bytes
(99%)
...omponents/ActionList.test.ts-snapshots/ActionList-Inside-Overlay-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-54 Bytes
(99%)
...ctionList.test.ts-snapshots/ActionList-Inside-Overlay-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.3 KB
(89%)
....test.ts-snapshots/ActionMenu-Groups-And-Descriptions-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.96 KB
(91%)
...Menu.test.ts-snapshots/ActionMenu-Groups-And-Descriptions-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.1 KB
(90%)
...st.ts-snapshots/ActionMenu-Groups-And-Descriptions-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.24 KB
(89%)
.../ActionMenu.test.ts-snapshots/ActionMenu-Groups-And-Descriptions-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.3 KB
(89%)
....test.ts-snapshots/ActionMenu-Groups-And-Descriptions-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.39 KB
(89%)
...test.ts-snapshots/ActionMenu-Groups-And-Descriptions-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.71 KB
(91%)
...t.ts-snapshots/ActionMenu-Groups-And-Descriptions-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.36 KB
(89%)
...ActionMenu.test.ts-snapshots/ActionMenu-Groups-And-Descriptions-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.39 KB
(89%)
...test.ts-snapshots/ActionMenu-Groups-And-Descriptions-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.62 KB
(95%)
...onMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.6 KB
(95%)
...ActionMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.64 KB
(94%)
...enu.test.ts-snapshots/ActionMenu-Multiple-Sections-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.46 KB
(95%)
...onents/ActionMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.62 KB
(95%)
...onMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.34 KB
(95%)
...nMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.65 KB
(94%)
...nu.test.ts-snapshots/ActionMenu-Multiple-Sections-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.38 KB
(95%)
...nents/ActionMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.37 KB
(95%)
...nMenu.test.ts-snapshots/ActionMenu-Multiple-Sections-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-151 Bytes
(98%)
...BranchName.test.ts-snapshots/BranchName-Default-dark-colorblind-focus-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-73 Bytes
(99%)
...nts/BranchName.test.ts-snapshots/BranchName-Default-dark-dimmed-focus-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-184 Bytes
(97%)
...components/BranchName.test.ts-snapshots/BranchName-Default-dark-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-157 Bytes
(98%)
...nchName.test.ts-snapshots/BranchName-Default-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-151 Bytes
(98%)
...BranchName.test.ts-snapshots/BranchName-Default-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-15 Bytes
(100%)
...eadcrumbs.test.ts-snapshots/Breadcrumbs-Default-dark-colorblind-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...s/Breadcrumbs.test.ts-snapshots/Breadcrumbs-Default-dark-dimmed-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-57 Bytes
(99%)
...mponents/Breadcrumbs.test.ts-snapshots/Breadcrumbs-Default-dark-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-30 Bytes
(100%)
...crumbs.test.ts-snapshots/Breadcrumbs-Default-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-15 Bytes
(100%)
...eadcrumbs.test.ts-snapshots/Breadcrumbs-Default-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...shots/components/IconButton.test.ts-snapshots/IconButton-Danger-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...hots/components/IconButton.test.ts-snapshots/IconButton-Default-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
...ents/IconButton.test.ts-snapshots/IconButton-Disabled-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+46 Bytes
(100%)
...mponents/IconButton.test.ts-snapshots/IconButton-Disabled-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
...hots/components/IconButton.test.ts-snapshots/IconButton-Disabled-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
...ents/IconButton.test.ts-snapshots/IconButton-Disabled-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...ots/components/IconButton.test.ts-snapshots/IconButton-Disabled-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+7 Bytes
(100%)
...nts/IconButton.test.ts-snapshots/IconButton-Invisible-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-26 Bytes
(100%)
...ponents/IconButton.test.ts-snapshots/IconButton-Invisible-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+7 Bytes
(100%)
...nts/IconButton.test.ts-snapshots/IconButton-Invisible-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...pshots/components/IconButton.test.ts-snapshots/IconButton-Large-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...shots/components/IconButton.test.ts-snapshots/IconButton-Medium-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...ts/IconButton.test.ts-snapshots/IconButton-Playground-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...onents/IconButton.test.ts-snapshots/IconButton-Playground-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...IconButton.test.ts-snapshots/IconButton-Playground-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...ts/components/IconButton.test.ts-snapshots/IconButton-Playground-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...ts/IconButton.test.ts-snapshots/IconButton-Playground-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...s/IconButton.test.ts-snapshots/IconButton-Playground-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...conButton.test.ts-snapshots/IconButton-Playground-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...s/components/IconButton.test.ts-snapshots/IconButton-Playground-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...s/IconButton.test.ts-snapshots/IconButton-Playground-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...hots/components/IconButton.test.ts-snapshots/IconButton-Primary-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...pshots/components/IconButton.test.ts-snapshots/IconButton-Small-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
.../components/Link.test.ts-snapshots/Link-Default-dark-colorblind-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...hots/components/Link.test.ts-snapshots/Link-Default-dark-dimmed-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-33 Bytes
(99%)
...t/snapshots/components/Link.test.ts-snapshots/Link-Default-dark-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-43 Bytes
(99%)
...mponents/Link.test.ts-snapshots/Link-Default-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
.../components/Link.test.ts-snapshots/Link-Default-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...ts/components/Link.test.ts-snapshots/Link-Muted-dark-colorblind-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
+34 Bytes
(100%)
...pshots/components/Link.test.ts-snapshots/Link-Muted-dark-dimmed-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-27 Bytes
(100%)
...ght/snapshots/components/Link.test.ts-snapshots/Link-Muted-dark-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-22 Bytes
(100%)
...components/Link.test.ts-snapshots/Link-Muted-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...ts/components/Link.test.ts-snapshots/Link-Muted-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...omponents/Link.test.ts-snapshots/Link-Underline-dark-colorblind-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...ts/components/Link.test.ts-snapshots/Link-Underline-dark-dimmed-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-33 Bytes
(99%)
...snapshots/components/Link.test.ts-snapshots/Link-Underline-dark-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-43 Bytes
(99%)
...onents/Link.test.ts-snapshots/Link-Underline-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...omponents/Link.test.ts-snapshots/Link-Underline-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...ne.test.ts-snapshots/Timeline-With-Inline-Links-dark-colorblind-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
+39 Bytes
(100%)
...meline.test.ts-snapshots/Timeline-With-Inline-Links-dark-dimmed-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-56 Bytes
(100%)
...ents/Timeline.test.ts-snapshots/Timeline-With-Inline-Links-dark-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-27 Bytes
(100%)
...test.ts-snapshots/Timeline-With-Inline-Links-dark-high-contrast-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...ne.test.ts-snapshots/Timeline-With-Inline-Links-dark-tritanopia-focus-linux.png
Oops, something went wrong.
Binary file modified
BIN
-52 Bytes
(99%)
...ts/drafts/Button2.test.ts-snapshots/Button-Danger-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-99 Bytes
(98%)
...s/drafts/Button2.test.ts-snapshots/Button-Default-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-102 Bytes
(98%)
...nts/drafts/Button2.test.ts-snapshots/Button-Large-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-102 Bytes
(99%)
...s/Button2.test.ts-snapshots/Button-Leading-Visual-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-99 Bytes
(98%)
...ts/drafts/Button2.test.ts-snapshots/Button-Medium-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-61 Bytes
(99%)
...s/drafts/Button2.test.ts-snapshots/Button-Outline-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-99 Bytes
(98%)
...rafts/Button2.test.ts-snapshots/Button-Playground-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-295 Bytes
(95%)
...ents/drafts/Button2.test.ts-snapshots/Button-Primary-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-60 Bytes
(99%)
...s/drafts/Button2.test.ts-snapshots/Button-Primary-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-295 Bytes
(95%)
...ents/drafts/Button2.test.ts-snapshots/Button-Primary-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-94 Bytes
(99%)
...nts/drafts/Button2.test.ts-snapshots/Button-Small-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-39 Bytes
(99%)
...fts/Button2.test.ts-snapshots/Button-Trailing-Counter-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-29 Bytes
(100%)
.../drafts/Button2.test.ts-snapshots/Button-Trailing-Counter-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
-49 Bytes
(99%)
.../Button2.test.ts-snapshots/Button-Trailing-Counter-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-36 Bytes
(99%)
...ponents/drafts/Button2.test.ts-snapshots/Button-Trailing-Counter-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
-39 Bytes
(99%)
...fts/Button2.test.ts-snapshots/Button-Trailing-Counter-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-102 Bytes
(99%)
...ts/Button2.test.ts-snapshots/Button-Trailing-Counter-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-108 Bytes
(98%)
...Button2.test.ts-snapshots/Button-Trailing-Counter-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-114 Bytes
(98%)
...onents/drafts/Button2.test.ts-snapshots/Button-Trailing-Counter-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-102 Bytes
(99%)
...ts/Button2.test.ts-snapshots/Button-Trailing-Counter-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-104 Bytes
(99%)
.../Button2.test.ts-snapshots/Button-Trailing-Visual-light-high-contrast-linux.png
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,3 @@ | ||
.storybook-debug { | ||
outline: 2px solid tomato; | ||
} |
This file contains hidden or 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 |
---|---|---|
|
@@ -2,6 +2,10 @@ import {addons} from '@storybook/addons' | |
import {withThemeProvider, withSurroundingElements, toolbarTypes} from '../src/utils/story-helpers' | ||
import {PrimerBreakpoints} from '../src/utils/layout' | ||
|
||
import '@primer/css/dist/primitives.css' | ||
import '@primer/css/dist/color-modes.css' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: dependency on css variables from primitives! |
||
import './preview.css' | ||
|
||
export const globalTypes = toolbarTypes | ||
export const decorators = [withThemeProvider, withSurroundingElements] | ||
|
||
|
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
css modules setup for storybook