Skip to content

Commit

Permalink
feat(bezier-react): apply alpha shadow tokens to elevation util class…
Browse files Browse the repository at this point in the history
…names
  • Loading branch information
sungik-choi committed Jan 7, 2025
1 parent f8e6d06 commit 7875415
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@use 'sass:map';
@use '../../../../../node_modules/@channel.io/bezier-tokens/dist/scss' as *;
@use '../../../../../node_modules/@channel.io/bezier-tokens/dist/alpha/scss'
as *;

@each $ev in map.keys(map.get($tokens, 'light-theme', 'ev')) {
@each $ev in map.keys(map.get($tokens, 'light-theme', 'shadow')) {
:where(.elevation-#{$ev}) {
/* stylelint-disable-next-line bezier/validate-token */
box-shadow: var(--ev-#{$ev});
box-shadow: var(--alpha-shadow-#{$ev});
}
}

0 comments on commit 7875415

Please sign in to comment.