Skip to content

Commit

Permalink
hoist token definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
gfellerph committed Jul 24, 2024
1 parent 21b2718 commit f2621eb
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions packages/styles/src/post-tokens-external.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use './tokens/semantic/modes';
@use './tokens/semantic/device';
@use './tokens/semantic/external';
@use './tokens/semantic/post-theme';
@use './tokens/modes';
@use './tokens/device';
@use './tokens/external';
@use './tokens/post-theme';
8 changes: 4 additions & 4 deletions packages/styles/src/post-tokens-internal.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use './tokens/semantic/modes';
@use './tokens/semantic/device';
@use './tokens/semantic/internal';
@use './tokens/semantic/post-theme';
@use './tokens/modes';
@use './tokens/device';
@use './tokens/internal';
@use './tokens/post-theme';
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@use '@swisspost/design-system-tokens/device' as device;

@use './core';
@use './../../mixins/tokens';
@use './../../mixins/media';
@use './../mixins/tokens';
@use './../mixins/media';

:root {
@include media.max(600px) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '@swisspost/design-system-tokens/channel' as channel;

@use './core';
@use './../../mixins/tokens';
@use './../mixins/tokens';

:root {
@include tokens.from(channel.$post-edk);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '@swisspost/design-system-tokens/channel' as channel;

@use './core';
@use './../../mixins/tokens';
@use './../mixins/tokens';

:root {
@include tokens.from(channel.$post-idk);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use './core';
@use './../../placeholders/modes';
@use './../placeholders/modes';

:root,
[data-color-mode='light'] {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '@swisspost/design-system-tokens/theme' as themes;

@use './core';
@use './../../mixins/tokens';
@use './../mixins/tokens';

:root {
@include tokens.from(themes.$post-theme);
Expand Down

0 comments on commit f2621eb

Please sign in to comment.