Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "fix: add \"style\" to exports field",
"packageName": "@fluentui/react-theme-sass",
"email": "[email protected]",
"dependentChangeType": "patch"
}
5 changes: 3 additions & 2 deletions packages/react-components/react-theme-sass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ ReactDOM.render(
2. In SCSS styles you can import SCSS variables from `@fluentui/react-theme-sass` and use them in the styles:

```scss
@import '~@fluentui/react-theme-sass';
@import '@fluentui/react-theme-sass';

.brandedElement {
color: $colorBrandForeground1;
background: $colorBrandBackground;
border-radius: $borderRadiusLarge;
}
```

This package does not export any Javascript code.️
> ⚠ Note: This package does not export any Javascript code.️
1 change: 1 addition & 0 deletions packages/react-components/react-theme-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
},
"exports": {
".": {
"style": "./sass/tokens.scss",
"types": "./dist/index.d.ts",
"node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
Expand Down