Skip to content

Commit 31453bb

Browse files
committed
fix(themes): resolve TypeScript errors in Sunset theme
Fix type compatibility issues: - Change step color from 'primary' reference to 'magentaBright' ColorValue - Change shimmer gradient from color references to actual RGB values (purple [200,100,180] to orange [255,140,100]) step field requires ColorValue, not ColorReference shimmer.color requires ColorReference | ColorValue[], not ColorReference[]
1 parent 3731fc6 commit 31453bb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/themes/themes.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const SUNSET_THEME: Theme = {
6060
error: 'redBright',
6161
warning: 'yellowBright',
6262
info: 'magentaBright',
63-
step: 'primary',
63+
step: 'magentaBright',
6464
text: 'white',
6565
textDim: 'gray',
6666
link: 'primary',
@@ -73,7 +73,10 @@ export const SUNSET_THEME: Theme = {
7373
},
7474
shimmer: {
7575
enabled: true,
76-
color: ['secondary', 'primary'],
76+
color: [
77+
[200, 100, 180],
78+
[255, 140, 100],
79+
],
7780
direction: 'ltr',
7881
speed: 0.4,
7982
},

0 commit comments

Comments
 (0)