Skip to content

Commit

Permalink
test: update palettes to match latest Figma tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
@casey_baggz_omni committed Oct 24, 2024
1 parent 8a5dc1c commit 159784c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/panda-preset/themes/semantic-tokens/base-danger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
)
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand All @@ -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`,
Expand Down

0 comments on commit 159784c

Please sign in to comment.