Skip to content

Commit cb9086f

Browse files
committed
feat: add secondary color support to Root component for enhanced theming
1 parent 8e7684b commit cb9086f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/layout/Root.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ const Root = () => {
2222
appearance.color.primary
2323
);
2424

25+
document.documentElement.style.setProperty(
26+
"--color-secondary",
27+
appearance.color.secondary
28+
);
29+
2530
document.documentElement.style.setProperty(
2631
"--text-color",
2732
appearance.color.textColor

0 commit comments

Comments
 (0)