mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
web: use accentForeground color instead of white
This commit is contained in:
committed by
Abdullah Atta
parent
7b57639076
commit
32d0b07f09
@@ -87,7 +87,7 @@ export function CodeblockComponent(
|
||||
position: "relative",
|
||||
lineHeight: "20px",
|
||||
// bg: "var(--background-secondary)",
|
||||
color: "white",
|
||||
// color: "white",
|
||||
overflowX: "hidden",
|
||||
display: "flex"
|
||||
}}
|
||||
|
||||
@@ -73,7 +73,7 @@ const secondary: ThemeUIStyleObject = createButtonVariant(
|
||||
"paragraph"
|
||||
);
|
||||
|
||||
const accent = createButtonVariant("accent", "white", {
|
||||
const accent = createButtonVariant("accent", "accentForeground", {
|
||||
hover: { bg: alpha("accent", 0.9) },
|
||||
active: { bg: alpha("accent", 0.8) }
|
||||
});
|
||||
@@ -81,7 +81,7 @@ const accentSecondary = createButtonVariant("shade", "accent", {
|
||||
hover: { bg: alpha("shade", 0.3) }
|
||||
});
|
||||
|
||||
const error = createButtonVariant("accent-error", "white", {
|
||||
const error = createButtonVariant("accent-error", "accentForeground-error", {
|
||||
hover: { bg: alpha("accent-error", 0.9) }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user