Skip to content

Commit

Permalink
fix: form elements border color
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Dec 13, 2024
1 parent 69a5c97 commit 9372f70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/components/textarea/textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}

&::after {
@extend %component-border;
@extend %form-component-border;

@include get-scrolling-workaround();

Expand Down
5 changes: 5 additions & 0 deletions packages/components/src/styles/_component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ $placeholder-disabled: 0.68;
colors.$db-adaptive-on-bg-basic-emphasis-60-default;
}

%form-component-border {
border: variables.$db-border-height-3xs solid
colors.$db-adaptive-on-bg-basic-emphasis-70-default;
}

%default-interactive-component {
@extend %default-adaptive-border;

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/styles/_form-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ $input-valid-types: "color", "date", "datetime-local", "email", "file",
#{$selector} {
@extend %db-overwrite-font-size-md;
@extend %default-interactive-component;
@extend %component-border;
@extend %form-component-border;

background-color: colors.$db-adaptive-bg-basic-transparent-semi-default;
caret-color: colors.$db-adaptive-on-bg-basic-emphasis-100-default;
Expand Down

0 comments on commit 9372f70

Please sign in to comment.