mobile: use accentForeground on accent background

This commit is contained in:
ammarahm-ed
2023-09-05 15:31:20 +05:00
committed by Abdullah Atta
parent 17582bcefb
commit 2aa5a57557
12 changed files with 48 additions and 31 deletions

View File

@@ -247,6 +247,7 @@ export type VariantsWithStaticColors<TRequired extends boolean = false> =
export type PreviewColors = {
editor: string;
accentForeground: string;
navigationMenu: {
shade: string;
accent: string;

View File

@@ -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
};
}