From 078f8eb6b309a6704d0f4de005cfdf0debd348a3 Mon Sep 17 00:00:00 2001 From: Ben McMorran Date: Wed, 12 Jan 2022 11:26:46 -0800 Subject: [PATCH] Fix misnamed link design tokens The active and foreground tokens names were swapped. I don't think this affects the VS Code scenario, because the tokens are referred to by their correct TypeScript identifiers, but it breaks custom theming that overrides the CSS variables. --- src/design-tokens.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/design-tokens.ts b/src/design-tokens.ts index 73589abd..1a182dd1 100644 --- a/src/design-tokens.ts +++ b/src/design-tokens.ts @@ -102,8 +102,8 @@ export const inputPlaceholderForeground = create('input-placeholder-fore * Link design tokens. */ -export const linkActiveForeground = create('link-foreground', '--vscode-textLink-activeForeground').withDefault('#3794ff'); -export const linkForeground = create('link-active-foreground', '--vscode-textLink-foreground').withDefault('#3794ff'); +export const linkActiveForeground = create('link-active-foreground', '--vscode-textLink-activeForeground').withDefault('#3794ff'); +export const linkForeground = create('link-foreground', '--vscode-textLink-foreground').withDefault('#3794ff'); /** * Progress ring design tokens.