Fix CSS rules order

Components styles should not precede root styles.
This commit is contained in:
mkpaz 2022-08-02 13:16:55 +04:00
parent 2a9dbe8413
commit 9a2c4c954b
2 changed files with 7 additions and 3 deletions

@ -48,6 +48,8 @@
$color-delta-active: 20%
);
@use "general";
@forward "components/titled-pane" as titled-pane-* with (
$elevation-color: -color-bg-inset
);
@ -57,5 +59,4 @@
$color-fg: -color-fg-default
);
@use "general";
@use "components";

@ -15,11 +15,14 @@
// @forward "settings/config" with (
// ...
// );
//
// This should precede components customization, as it guarantees
// that .root styles will precede components styles.
@use "general";
// Individual component property customization.
// @forward "components/split-pane" with (
// ...
// );
@use "general";
@use "components";