Skip to content

Commit

Permalink
Merge 028cd55 into 737f194
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank authored Mar 5, 2024
2 parents 737f194 + 028cd55 commit b6d81e4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/react/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import clsx from 'clsx'

import './storybook.css'
import './primitives-v8.css'
import './primitives-v7.css'

let storybookViewports = {}
Object.entries(PrimerBreakpoints).forEach(([viewport, value]) => {
Expand Down
1 change: 0 additions & 1 deletion packages/react/.storybook/primitives-v7.css

This file was deleted.

20 changes: 9 additions & 11 deletions packages/react/.storybook/primitives-v8.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
@import '@primer/primitives/tokens-next-private/css/functional/typography/typography.css';

/* color */
/* temporarily disabiling these to ensure visual regression tests work on production code
* @import '@primer/primitives/tokens-next-private/css/functional/themes/light.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/light-tritanopia.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/light-high-contrast.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/light-colorblind.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/dark.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/dark-colorblind.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/dark-dimmed.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/dark-high-contrast.css';
* @import '@primer/primitives/tokens-next-private/css/functional/themes/dark-tritanopia.css';
*/
@import '@primer/primitives/tokens-next-private/css/functional/themes/light.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/light-tritanopia.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/light-high-contrast.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/light-colorblind.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/dark.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/dark-colorblind.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/dark-dimmed.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/dark-high-contrast.css';
@import '@primer/primitives/tokens-next-private/css/functional/themes/dark-tritanopia.css';
1 change: 1 addition & 0 deletions packages/react/.storybook/storybook.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.story-wrap {
font-family: var(--fontStack-system);
color: var(--fgColor-default);
background: var(--bgColor-default);
}

#storybook-preview-wrapper {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"@oddbird/popover-polyfill": "^0.3.1",
"@primer/behaviors": "^1.5.1",
"@primer/octicons-react": "^19.8.0",
"@primer/primitives": "7.15.3",
"@primer/primitives": "^7.15.9",
"@react-aria/ssr": "^3.5.0",
"@styled-system/css": "^5.1.5",
"@styled-system/props": "^5.1.5",
Expand Down

0 comments on commit b6d81e4

Please sign in to comment.