Skip to content

Have any of you been able to override the breakpoints from the grid scss files? #17094

Closed Answered by victorwhy
victorwhy asked this question in Help
Discussion options

You must be logged in to vote

FYI this was a problem of grabbing the right files. ended up importing the three files this way:

@use '../../../node_modules/@carbon/styles/scss/_config' with (
  $grid-breakpoints: (
     ...
  )
);
@use '../../../node_modules/@carbon/styles/scss/_breakpoint';
@use '../../../node_modules/@carbon/styles/scss/grid/css-grid';

and everything flowed through!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by victorwhy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant