Fix CSS rules order
Components styles should not precede root styles.
This commit is contained in:
parent
2a9dbe8413
commit
9a2c4c954b
@ -48,6 +48,8 @@
|
|||||||
$color-delta-active: 20%
|
$color-delta-active: 20%
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@use "general";
|
||||||
|
|
||||||
@forward "components/titled-pane" as titled-pane-* with (
|
@forward "components/titled-pane" as titled-pane-* with (
|
||||||
$elevation-color: -color-bg-inset
|
$elevation-color: -color-bg-inset
|
||||||
);
|
);
|
||||||
@ -57,5 +59,4 @@
|
|||||||
$color-fg: -color-fg-default
|
$color-fg: -color-fg-default
|
||||||
);
|
);
|
||||||
|
|
||||||
@use "general";
|
|
||||||
@use "components";
|
@use "components";
|
||||||
|
@ -15,11 +15,14 @@
|
|||||||
// @forward "settings/config" with (
|
// @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.
|
// Individual component property customization.
|
||||||
// @forward "components/split-pane" with (
|
// @forward "components/split-pane" with (
|
||||||
// ...
|
// ...
|
||||||
// );
|
// );
|
||||||
|
|
||||||
@use "general";
|
|
||||||
@use "components";
|
@use "components";
|
Loading…
Reference in New Issue
Block a user