Skip to content

Commit 0248285

Browse files
committed
refactor: Replace with css variables if available
1 parent 114bbf7 commit 0248285

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

style/components/MobileOptionsPopover.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
padding: 12px;
3131
cursor: pointer;
3232
color: #585769;
33-
border-bottom: 1px solid #d7d7de;
33+
border-bottom: $ds-card-border;
3434

3535
&:last-child {
3636
border-bottom: none;
@@ -101,7 +101,7 @@
101101
align-items: center;
102102
justify-content: flex-start;
103103
padding: 12px 16px;
104-
border-bottom: 1px solid #d7d7de;
104+
border-bottom: $ds-card-border;
105105
}
106106

107107
&__title {

style/components/Popover.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
left: 0;
1010
margin-bottom: 8px;
1111
background: $ds-ui-lightest-color;
12-
border: 1px solid #d7d7de;
12+
border: $ds-card-border;
1313
border-radius: 6px;
1414
box-shadow: 0 12px 23.2px rgba(0, 0, 0, 0.05);
1515
padding: 0;

style/forms/PromptInput.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
flex-direction: column;
99
align-items: flex-end;
1010
padding: 16px;
11-
background: #fff;
11+
background: $ds-ui-lightest-color;
1212
box-shadow: 0 12px 23.2px rgba(0, 0, 0, 0.05);
1313
flex: 1;
1414
position: relative;
@@ -24,7 +24,7 @@
2424
resize: none;
2525
border: 0;
2626
margin-bottom: 12px;
27-
color: #110f33;
27+
color: $ds-display-regular-color;
2828

2929
@media (min-width: 768px) {
3030
max-height: 400px;
@@ -45,19 +45,19 @@
4545
}
4646

4747
&::-webkit-scrollbar-thumb:hover {
48-
background: #b3b3b3;
48+
background: $ds-ui-darkest-color;
4949
}
5050

5151
&:focus {
5252
outline: none;
5353
}
5454

5555
&::placeholder {
56-
color: #84839c;
56+
color: $ds-body-lighter-color;
5757
}
5858

5959
&:disabled {
60-
background-color: #ffffff;
60+
background-color: $ds-ui-lightest-color;
6161
}
6262
}
6363

0 commit comments

Comments
 (0)