diff --git a/blitzkit.code-workspace b/blitzkit.code-workspace deleted file mode 100644 index 796425ccc..000000000 --- a/blitzkit.code-workspace +++ /dev/null @@ -1,10 +0,0 @@ -{ - "folders": [ - { - "path": ".", - }, - { - "path": "C:/Program Files/WindowsApps/7458BE2C.WorldofTanksBlitz_11.1.256.0_x64__x4tje2y229k00/Data", - }, - ], -} diff --git a/packages/website-ue/src/components/Text/index.module.css b/packages/website-ue/src/components/Text/index.module.css index a85048d51..b716e926b 100644 --- a/packages/website-ue/src/components/Text/index.module.css +++ b/packages/website-ue/src/components/Text/index.module.css @@ -1,6 +1,5 @@ .text { font-size: var(--font-size-regular); - color: var(--gray-12); &[data-size="minor"] { font-size: var(--font-size-minor); diff --git a/packages/website-ue/src/components/Text/index.tsx b/packages/website-ue/src/components/Text/index.tsx index 4395a4e4b..258d004f4 100644 --- a/packages/website-ue/src/components/Text/index.tsx +++ b/packages/website-ue/src/components/Text/index.tsx @@ -21,6 +21,13 @@ export function Text({ color = "gray", ...props }: TextProps) { + const scale = color === "gray" && lowContrast ? "white" : color; + let power: string | number = 12; + + if (lowContrast) { + power = color === "gray" ? "a9" : 11; + } + return ( ); diff --git a/packages/website-ue/src/components/ToolCard.astro b/packages/website-ue/src/components/ToolCard.astro index ab102d933..63b4b537a 100644 --- a/packages/website-ue/src/components/ToolCard.astro +++ b/packages/website-ue/src/components/ToolCard.astro @@ -20,6 +20,7 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];