Skip to content

Commit 4bb60d3

Browse files
committed
🤖 fix: use subtle grey tones for cache and input token colors
- Change Cache Create from orange to lighter grey (matching Cache Read family) - Change Input from saturated green to muted grey-green - Update storybook comment to reflect new color scheme These changes create a more cohesive, less distracting token meter display.
1 parent b98b323 commit 4bb60d3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/browser/stories/App.rightsidebar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const CostsTab: AppStory = {
103103

104104
/**
105105
* Costs tab showing cache create vs cache read differentiation.
106-
* Cache create (orange) is typically more expensive than cache read (grey).
106+
* Cache create is more expensive than cache read; both render in grey tones.
107107
* This story uses realistic Anthropic-style usage where most input is cached.
108108
*/
109109
export const CostsTabWithCacheCreate: AppStory = {

src/browser/styles/globals.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@
128128
--color-token-completion: hsl(207 100% 40%);
129129
--color-token-variable: hsl(207 100% 40%);
130130
--color-token-fixed: hsl(0 0% 40%);
131-
--color-token-input: hsl(120 40% 35%);
131+
--color-token-input: hsl(120 8% 45%);
132132
--color-token-output: hsl(207 100% 40%);
133133
--color-token-cached: hsl(0 0% 50%);
134-
--color-token-cache-create: hsl(30 90% 50%);
134+
--color-token-cache-create: hsl(0 0% 65%);
135135

136136
/* Plan surfaces */
137137
--surface-plan-gradient: linear-gradient(
@@ -381,10 +381,10 @@
381381
--color-token-completion: hsl(207 90% 40%);
382382
--color-token-variable: hsl(207 90% 40%);
383383
--color-token-fixed: hsl(210 18% 32%);
384-
--color-token-input: hsl(125 45% 36%);
384+
--color-token-input: hsl(125 10% 45%);
385385
--color-token-output: hsl(207 90% 40%);
386386
--color-token-cached: hsl(210 16% 50%);
387-
--color-token-cache-create: hsl(30 85% 45%);
387+
--color-token-cache-create: hsl(210 12% 62%);
388388

389389
--surface-plan-gradient: linear-gradient(
390390
135deg,
@@ -621,10 +621,10 @@
621621
--color-token-completion: #268bd2;
622622
--color-token-variable: #268bd2;
623623
--color-token-fixed: #657b83;
624-
--color-token-input: #859900;
624+
--color-token-input: #7a8a7a;
625625
--color-token-output: #268bd2;
626626
--color-token-cached: #839496;
627-
--color-token-cache-create: #cb4b16;
627+
--color-token-cache-create: #93a1a1;
628628

629629
--surface-plan-gradient: linear-gradient(135deg, color-mix(in srgb, var(--color-plan-mode), transparent 94%) 0%, color-mix(in srgb, var(--color-plan-mode), transparent 97%) 100%);
630630
--surface-plan-border: color-mix(in srgb, var(--color-plan-mode), transparent 78%);
@@ -836,10 +836,10 @@
836836
--color-token-completion: #268bd2;
837837
--color-token-variable: #268bd2;
838838
--color-token-fixed: #657b83;
839-
--color-token-input: #859900;
839+
--color-token-input: #7a8a7a;
840840
--color-token-output: #268bd2;
841841
--color-token-cached: #586e75;
842-
--color-token-cache-create: #cb4b16;
842+
--color-token-cache-create: #6c7c82;
843843

844844
--surface-plan-gradient: linear-gradient(135deg, color-mix(in srgb, var(--color-plan-mode), transparent 92%) 0%, color-mix(in srgb, var(--color-plan-mode), transparent 95%) 100%);
845845
--surface-plan-border: color-mix(in srgb, var(--color-plan-mode), transparent 70%);

0 commit comments

Comments
 (0)