Skip to content

Commit

Permalink
Add utility typography CSS vars to main bundle (#2438)
Browse files Browse the repository at this point in the history
* update main bundle

* Create small-nails-matter.md
  • Loading branch information
langermank authored May 3, 2023
1 parent 70a3eee commit abdb3a9
Show file tree
Hide file tree
Showing 5 changed files with 2,731 additions and 2,780 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-nails-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Add utility typography CSS vars to main bundle
18 changes: 9 additions & 9 deletions docs/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import '../../src/base/index.scss'
import '../src/stories/helpers/storybook-styles.scss'
// temporary import until primitives moves to core bundle
// importing the index from /css didn't play nice with Storybook
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/base/size/size.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/base/typography/typography.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/border.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/breakpoints.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/size-coarse.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/size-fine.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/size.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/viewport.css'
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/typography/typography.css'
import '@primer/primitives/tokens-next-private/css/base/size/size.css';
import '@primer/primitives/tokens-next-private/css/base/typography/typography.css';
import '@primer/primitives/tokens-next-private/css/functional/size/border.css';
import '@primer/primitives/tokens-next-private/css/functional/size/breakpoints.css';
import '@primer/primitives/tokens-next-private/css/functional/size/size-coarse.css';
import '@primer/primitives/tokens-next-private/css/functional/size/size-fine.css';
import '@primer/primitives/tokens-next-private/css/functional/size/size.css';
import '@primer/primitives/tokens-next-private/css/functional/size/viewport.css';
import '@primer/primitives/tokens-next-private/css/functional/typography/typography.css';
import renderToHTML from '../src/stories/helpers/code-snippet-html-helper'

const customViewports = {
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@primer/gatsby-theme-doctocat": "4.4.0",
"@primer/octicons": "17.0.0",
"@primer/octicons-react": "17.0.0",
"@primer/primitives": "7.8.3",
"@primer/primitives": "7.11.7",
"@primer/view-components": "^0.0.114",
"@svgr/webpack": "5.5.0",
"autoprefixer": "10.4.2",
Expand Down
Loading

0 comments on commit abdb3a9

Please sign in to comment.