Skip to content

Commit

Permalink
chore: adds headless sass vars in includes for component usage. (#7700)
Browse files Browse the repository at this point in the history
**Related Issue:** None

## Summary

- Gives a component SCSS access to headless token vars.
- This is required to access breakpoint vars (`$breakpoint-width-xs`)

Example:

```scss
@container pagination (max-width: #{$breakpoint-width-xs}) {
  // some styling here
}
```
  • Loading branch information
driskull authored Sep 8, 2023
1 parent 2f35968 commit e1ad70b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import "../../node_modules/@esri/calcite-colors/dist/colors";
@import "../../node_modules/@esri/calcite-base/dist/_index";
@import "../../node_modules/@esri/calcite-design-tokens/dist/scss/calcite-headless";

/* mixins & extensions */
@import "animation";
Expand Down

0 comments on commit e1ad70b

Please sign in to comment.