Skip to content

Commit bcb89ef

Browse files
committed
Fix focus variables
1 parent 7f7556c commit bcb89ef

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/forms/form-control.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ textarea.form-control {
8686
&:focus {
8787
// stylelint-disable-next-line primer/borders
8888
border-color: $black-fade-30;
89-
box-shadow: var(--color-input-shadow-focus);
89+
box-shadow: var(--color-state-focus-shadow);
9090
}
9191
}
9292

src/forms/form-validation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ dl.form-group > dd, // TODO: Deprecate
236236

237237
&.focused {
238238
border-radius: $border-radius;
239-
box-shadow: var(--color-input-shadow), var(--color-input-shadow-focus);
239+
box-shadow: var(--color-input-shadow), var(--color-state-focus-shadow);
240240

241241
.form-control {
242242
box-shadow: none;

src/utilities/colors.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
.color-bg-warning { background-color: var(--color-bg-warning) !important; }
4646
.color-bg-warning-inverse { background-color: var(--color-bg-warning-inverse) !important; }
4747

48-
4948
//
5049
// ------------------------ Deprecated ------------------------
5150
// Some might get replaced at some point. If possible, use functional classes.

0 commit comments

Comments
 (0)