Skip to content

Commit

Permalink
fix: some components do not have a default font size
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-sch committed Jul 1, 2024
1 parent 1ef7e78 commit 77f4e19
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ $db-accordion-item-border-radius: variables.$db-border-radius-sm;

summary {
@extend %dropdown-icon;
@extend %db-overwrite-font-size-md;

background-color: colors.$db-current-color-bg-transparent-full-enabled;

list-style: none;
Expand Down
3 changes: 3 additions & 0 deletions packages/components/src/components/brand/brand.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
@use "@db-ui/foundations/build/scss/variables";
@use "@db-ui/foundations/build/scss/colors";
@use "@db-ui/foundations/build/scss/fonts";

.db-brand {
@extend %db-overwrite-font-size-md;

display: flex;
gap: variables.$db-spacing-fixed-sm;
align-items: center;
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.db-button {
@extend %default-interactive-component;
@extend %default-button;
@extend %db-overwrite-font-size-md;

color: colors.$db-current-color-enabled;

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/link/link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

.db-link {
@extend %db-default-link;
@extend %db-overwrite-font-size-md;

a {
// Workaround for angular
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use "@db-ui/foundations/build/scss/variables";
@use "@db-ui/foundations/build/scss/colors";
@use "@db-ui/foundations/build/scss/fonts";
@use "@db-ui/foundations/build/scss/screen-sizes";
@use "@db-ui/foundations/build/scss/helpers";
@use "@db-ui/foundations/build/scss/animation";
Expand Down Expand Up @@ -44,6 +45,7 @@
%navigation-item {
@extend %default-interactive-component;
@extend %transparent-border;
@extend %db-overwrite-font-size-md;

background-color: colors.$db-current-color-bg-transparent-full-enabled;
cursor: pointer;
Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/components/tab-list/tab-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
@use "../../styles/scrollbar";

.db-tab-list {
@extend %db-overwrite-font-size-md;

position: relative;

> ul {
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/styles/_form-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ $input-valid-types: "color", "date", "datetime-local", "email", "file", "hidden"
}

@mixin set-default-check-element($selector) {
@extend %db-overwrite-font-size-md;
@include set-required-label(input);

@include get-validity($selector) {
Expand Down

0 comments on commit 77f4e19

Please sign in to comment.