Skip to content

Commit a2172c8

Browse files
committed
Update status bar theme gradients and action link colors
1 parent 64069b0 commit a2172c8

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

‎packages/ui/src/components/editor/prompt/StatusBar/StatusBar.module.scss‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@
3131
.theme-default {
3232
color: var(--cwc-text-color);
3333
background: var(--cwc-bg-tertiary);
34+
background: linear-gradient(
35+
40deg,
36+
var(--cwc-bg-secondary) 40px,
37+
var(--cwc-bg-tertiary) 140px
38+
);
3439
--theme-description-color: var(--cwc-text-color-dimmed);
3540
}
3641

3742
.theme-warning {
3843
color: var(--cwc-yellow-foreground);
3944
background: linear-gradient(
40-
45deg,
45+
40deg,
4146
var(--cwc-yellow-background) 40px,
4247
var(--cwc-bg-tertiary) 140px
4348
);
@@ -47,7 +52,7 @@
4752
.theme-success {
4853
color: var(--cwc-green-foreground);
4954
background: linear-gradient(
50-
45deg,
55+
40deg,
5156
var(--cwc-green-background) 40px,
5257
var(--cwc-bg-tertiary) 140px
5358
);
@@ -57,7 +62,7 @@
5762
.theme-error {
5863
color: var(--cwc-red-foreground);
5964
background: linear-gradient(
60-
45deg,
65+
40deg,
6166
var(--cwc-red-background) 40px,
6267
var(--cwc-bg-tertiary) 140px
6368
);
@@ -67,7 +72,7 @@
6772
.theme-blue {
6873
color: var(--cwc-blue-foreground);
6974
background: linear-gradient(
70-
45deg,
75+
40deg,
7176
var(--cwc-blue-background) 40px,
7277
var(--cwc-bg-tertiary) 140px
7378
);
@@ -77,7 +82,7 @@
7782
.theme-purple {
7883
color: var(--cwc-purple-foreground);
7984
background: linear-gradient(
80-
45deg,
85+
40deg,
8186
var(--cwc-purple-background) 40px,
8287
var(--cwc-bg-tertiary) 140px
8388
);
@@ -134,10 +139,9 @@
134139
cursor: pointer;
135140
white-space: nowrap;
136141
padding: 0 7px 0 4px;
137-
color: var(--cwc-text-color-dimmed);
142+
color: var(--cwc-link-color);
138143

139144
&:hover {
140-
color: var(--cwc-text-color);
141145
background-color: var(--cwc-bg-tertiary);
142146
}
143147
}

‎packages/ui/src/styles/foundation/_colors.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
var(--vscode-foreground) 75%,
66
transparent
77
);
8+
--cwc-link-color: var(--vscode-textLink-foreground);
89
--cwc-green-foreground: var(--vscode-charts-green);
910
--cwc-green-foreground-dimmed: color-mix(
1011
in srgb,

0 commit comments

Comments
 (0)