Skip to content

Commit 0375a55

Browse files
committed
Update prompt editor styles and color variables
1 parent 9337150 commit 0375a55

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎apps/editor/src/views/prompt/frontend/Home/Home.module.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
border: 1px solid var(--cwc-border-color);
120120
margin: 0 12px;
121121
z-index: 1;
122+
overflow: hidden;
122123

123124
:global([data-modern-ui='true']) & {
124125
margin: 0 10px;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
justify-content: space-between;
44
align-items: center;
55
gap: 14px;
6-
padding: 0 12px;
6+
margin: 0 12px;
77
border-bottom: 1px solid var(--cwc-border-color);
88

99
:global([data-modern-ui='true']) & {
10-
padding: 0;
1110
margin: 0 10px;
1211
}
1312

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
var(--vscode-foreground) 75%,
66
transparent
77
);
8-
--cwc-text-color-green: var(
9-
--vscode-gitDecoration-untrackedResourceForeground
10-
);
8+
--cwc-text-color-green: var(--vscode-charts-green);
119
--cwc-text-color-orange: var(--vscode-list-warningForeground);
1210
--cwc-text-color-red: var(--vscode-list-errorForeground);
13-
--cwc-text-color-blue: var(--vscode-textLink-foreground);
11+
--cwc-text-color-blue: var(--vscode-charts-blue);
1412

1513
--cwc-bg-primary: color-mix(
1614
in srgb,

0 commit comments

Comments
 (0)