Skip to content

Commit 1d51a4b

Browse files
committed
feat: add .form-control-color
1 parent 48e8a93 commit 1d51a4b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scss/_forms.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,3 +389,16 @@ textarea.form-control {
389389
}
390390
}
391391
}
392+
393+
.form-control-color {
394+
max-width: 3rem;
395+
padding: $input-padding-y;
396+
}
397+
398+
.form-control-color::-moz-color-swatch {
399+
@include border-radius($input-border-radius);
400+
}
401+
402+
.form-control-color::-webkit-color-swatch {
403+
@include border-radius($input-border-radius);
404+
}

0 commit comments

Comments
 (0)