From 55b08cd8e3f6c4649e7178ddb79475b2ca7d5090 Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Thu, 19 Sep 2024 11:42:46 -0500 Subject: [PATCH] fix: correct fileStatus gradient usage in recipe --- packages/panda-preset/src/recipes/slots/fileStatus.ts | 10 +++++----- tests/panda-preset/recipes/slots/fileStatus.test.ts | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/panda-preset/src/recipes/slots/fileStatus.ts b/packages/panda-preset/src/recipes/slots/fileStatus.ts index 7e3e68e1..48a39600 100644 --- a/packages/panda-preset/src/recipes/slots/fileStatus.ts +++ b/packages/panda-preset/src/recipes/slots/fileStatus.ts @@ -35,22 +35,22 @@ export const fileStatus: Partial = defineSlotRecipe({ todo: { icon: { ...action, - cerbGradient: 'purple', - color: 'colorPalette.text.inverse', + cerbGradient: 'dark-purple', + color: 'action.text.initial', }, }, processing: { icon: { ...action, - cerbGradient: 'purple', - color: 'colorPalette.text.inverse', + cerbGradient: 'dark-purple', + color: 'action.text.initial', }, }, done: { icon: { ...success, cerbGradient: 'green', - color: 'colorPalette.text.200', + color: 'colorPalette.text.static', }, }, error: { diff --git a/tests/panda-preset/recipes/slots/fileStatus.test.ts b/tests/panda-preset/recipes/slots/fileStatus.test.ts index d2d9db10..d171464c 100644 --- a/tests/panda-preset/recipes/slots/fileStatus.test.ts +++ b/tests/panda-preset/recipes/slots/fileStatus.test.ts @@ -27,22 +27,22 @@ describe('fileStatus recipe', () => { test('should have a todo status variant', () => { expect(fileStatus.variants?.status?.todo?.icon).toMatchObject({ - cerbGradient: 'purple', - color: 'colorPalette.text.inverse', + cerbGradient: 'dark-purple', + color: 'action.text.initial', }) }) test('should have a processing status variant', () => { expect(fileStatus.variants?.status?.processing?.icon).toMatchObject({ - cerbGradient: 'purple', - color: 'colorPalette.text.inverse', + cerbGradient: 'dark-purple', + color: 'action.text.initial', }) }) test('should have a done status variant', () => { expect(fileStatus.variants?.status?.done?.icon).toMatchObject({ cerbGradient: 'green', - color: 'colorPalette.text.200', + color: 'colorPalette.text.static', }) })