Skip to content

Commit

Permalink
Manually adding —theme layers
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Kloos committed Jan 8, 2024
1 parent 104b8d5 commit e3385cf
Show file tree
Hide file tree
Showing 5 changed files with 1,142 additions and 35 deletions.
1 change: 1 addition & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@layer --system, --theme;

@import url('src/system-properties.css');
@import url('src/system-colors.css');
@import url('src/system-typography.css');
Expand Down
1 change: 1 addition & 0 deletions src/system-selectors.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
display: flex;
column-gap: var(--system-spacing-column-gap);
margin-block-start: var(--system-spacing-single);
font-family: var(--system-font-family-interactive);
& [href] {
color: var(--system-link-text);
}
Expand Down
4 changes: 2 additions & 2 deletions theme/openprops/index.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import url('open-props.min.css') layer(--theme);
@import url('system-open-props.css') layer(--theme);
@import url('open-props.min.css');
@import url('system-open-props.css');
Loading

0 comments on commit e3385cf

Please sign in to comment.