Skip to content

Commit d9b07bf

Browse files
committed
Standardize input borders across components by enforcing the use of the --cwc-border-color variable
1 parent 64e4f18 commit d9b07bf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎packages/ui/src/components/editor/common/Input/Input.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.input {
2-
border: 1px solid var(--cwc-stroke-primary);
2+
border: 1px solid var(--cwc-border-color);
33
background: var(--vscode-input-background);
44
color: var(--vscode-input-foreground);
55
padding: var(--padding-4px) var(--padding-8px);

‎packages/ui/src/components/editor/panel/modals/CommitMessageModal/CommitMessageModal.module.scss‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.textarea {
22
display: flex;
33
width: 100%;
4-
background-color: var(--vscode-input-background);
5-
color: var(--vscode-input-foreground);
6-
border: 1px solid var(--vscode-input-border);
74
border-radius: var(--border-radius-5px);
85
padding: var(--padding-5px) var(--padding-6px);
96
resize: none;
107
font-family: var(--vscode-font-family);
118
font-size: var(--vscode-font-size);
129
overflow: hidden;
10+
border: 1px solid var(--cwc-border-color);
11+
background: var(--vscode-input-background);
12+
color: var(--vscode-input-foreground);
1313

1414
&:focus {
1515
outline: 1px solid var(--vscode-focusBorder);

0 commit comments

Comments
 (0)