Skip to content

Commit fc2bbd4

Browse files
committed
fix: border for hovered and pressed tag
1 parent ebde2e4 commit fc2bbd4

File tree

2 files changed

+297
-365
lines changed

2 files changed

+297
-365
lines changed

packages/components/src/styles/internal/_tag-components.scss

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ $interactive-selectors: "label, button:not(.db-tab-remove-button), a";
3333
);
3434
}
3535

36-
%set-adaptive-origin-tag {
37-
border-color: colors.$db-adaptive-on-bg-basic-emphasis-70-default;
38-
39-
@include colors.set-current-colors(
40-
colors.$db-adaptive-origin-default,
41-
colors.$db-adaptive-on-origin-default
42-
);
43-
}
44-
4536
%set-interactive-weak {
4637
@extend %set-adaptive-weak-tag;
4738

@@ -54,18 +45,6 @@ $interactive-selectors: "label, button:not(.db-tab-remove-button), a";
5445
}
5546
}
5647

57-
%set-interactive-origin {
58-
@extend %set-adaptive-origin-tag;
59-
60-
@include helpers.hover {
61-
background-color: colors.$db-adaptive-origin-hovered;
62-
}
63-
64-
@include helpers.active {
65-
background-color: colors.$db-adaptive-origin-pressed;
66-
}
67-
}
68-
6948
@mixin get-tag-colors($htmlTag: "tag") {
7049
@if ($htmlTag == "badge") {
7150
@extend %set-adaptive-weak-badge;
@@ -120,16 +99,10 @@ $interactive-selectors: "label, button:not(.db-tab-remove-button), a";
12099

121100
@include helpers.hover {
122101
background-color: colors.$db-adaptive-bg-vibrant-hovered;
123-
// TODO: will be changed in the future tag refactoring
124-
/* stylelint-disable-next-line db-ux/use-border-color */
125-
border-color: colors.$db-adaptive-bg-vibrant-hovered;
126102
}
127103

128104
@include helpers.active {
129105
background-color: colors.$db-adaptive-bg-vibrant-pressed;
130-
// TODO: will be changed in the future tag refactoring
131-
/* stylelint-disable-next-line db-ux/use-border-color */
132-
border-color: colors.$db-adaptive-bg-vibrant-pressed;
133106
}
134107
}
135108

0 commit comments

Comments
 (0)