mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-28 16:06:47 +01:00
mobile: use accentForeground on accent background
This commit is contained in:
committed by
Abdullah Atta
parent
17582bcefb
commit
2aa5a57557
@@ -247,6 +247,7 @@ export type VariantsWithStaticColors<TRequired extends boolean = false> =
|
||||
|
||||
export type PreviewColors = {
|
||||
editor: string;
|
||||
accentForeground: string;
|
||||
navigationMenu: {
|
||||
shade: string;
|
||||
accent: string;
|
||||
|
||||
@@ -63,7 +63,8 @@ export function getPreviewColors(theme: ThemeDefinition): PreviewColors {
|
||||
border: primary.border,
|
||||
paragraph: primary.paragraph,
|
||||
background: primary.background,
|
||||
accent: primary.accent
|
||||
accent: primary.accent,
|
||||
accentForeground: primary.accentForeground
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user