From 159784cef6bd51b8be339a741191a96f58250fc3 Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Thu, 24 Oct 2024 09:16:23 -0500 Subject: [PATCH] test: update palettes to match latest Figma tokens --- .../themes/semantic-tokens/base-danger.test.ts | 4 ++-- .../themes/semantic-tokens/base-success.test.ts | 2 +- .../themes/semantic-tokens/base-warning.test.ts | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/panda-preset/themes/semantic-tokens/base-danger.test.ts b/tests/panda-preset/themes/semantic-tokens/base-danger.test.ts index 4ba28dba..37d869ff 100644 --- a/tests/panda-preset/themes/semantic-tokens/base-danger.test.ts +++ b/tests/panda-preset/themes/semantic-tokens/base-danger.test.ts @@ -122,10 +122,10 @@ describe('dangerTokens', () => { test('should have a cerberus surface.100 property', () => { expect(dangerTokens.danger.surface['100'].value.base).toEqual( - formatSemanticToken`cerberus.danger.70`, + formatSemanticToken`cerberus.danger.90`, ) expect(dangerTokens.danger.surface['100'].value._darkMode).toEqual( - formatSemanticToken`cerberus.danger.70`, + formatSemanticToken`cerberus.danger.90`, ) expect(dangerTokens.danger.surface['100'].value._lightMode).toEqual( formatSemanticToken`cerberus.danger.10`, diff --git a/tests/panda-preset/themes/semantic-tokens/base-success.test.ts b/tests/panda-preset/themes/semantic-tokens/base-success.test.ts index 3bd26be9..08df57bd 100644 --- a/tests/panda-preset/themes/semantic-tokens/base-success.test.ts +++ b/tests/panda-preset/themes/semantic-tokens/base-success.test.ts @@ -128,7 +128,7 @@ describe('success', () => { formatSemanticToken`cerberus.success.90`, ) expect(successTokens.success.surface['100'].value._lightMode).toEqual( - formatSemanticToken`cerberus.success.40`, + formatSemanticToken`cerberus.success.30`, ) }) diff --git a/tests/panda-preset/themes/semantic-tokens/base-warning.test.ts b/tests/panda-preset/themes/semantic-tokens/base-warning.test.ts index fe99742a..0243a507 100644 --- a/tests/panda-preset/themes/semantic-tokens/base-warning.test.ts +++ b/tests/panda-preset/themes/semantic-tokens/base-warning.test.ts @@ -150,10 +150,10 @@ describe('warning', () => { test('should have a cerberus text.initial property', () => { expect(warningTokens.warning.text.initial.value.base).toEqual( - formatSemanticToken`cerberus.warning.100`, + formatSemanticToken`cerberus.warning.10`, ) expect(warningTokens.warning.text.initial.value._darkMode).toEqual( - formatSemanticToken`cerberus.warning.100`, + formatSemanticToken`cerberus.warning.10`, ) expect(warningTokens.warning.text.initial.value._lightMode).toEqual( formatSemanticToken`cerberus.warning.100`, @@ -164,10 +164,10 @@ describe('warning', () => { test('should have a cerberus text.100 property', () => { expect(warningTokens.warning.text[100].value.base).toEqual( - formatSemanticToken`cerberus.warning.30`, + formatSemanticToken`cerberus.warning.20`, ) expect(warningTokens.warning.text[100].value._darkMode).toEqual( - formatSemanticToken`cerberus.warning.30`, + formatSemanticToken`cerberus.warning.20`, ) expect(warningTokens.warning.text[100].value._lightMode).toEqual( formatSemanticToken`cerberus.warning.90`,