Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish cleaning up CSS from move to CSS variables for colors #3028

Merged
merged 16 commits into from
Oct 1, 2021
Merged
Prev Previous commit
Next Next commit
Remove theme CSS from tag chip component
  • Loading branch information
sandymcfadden committed Sep 29, 2021
commit 0a98cc2fba3c15a29c611106ae64335a5ef73dde
17 changes: 1 addition & 16 deletions lib/components/tag-chip/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.tag-chip {
color: var(--primary-color);
flex: none;
margin: 2px 8px 6px 0;
padding: 1px 14px 3px;
Expand Down Expand Up @@ -48,19 +49,3 @@
}
}
}

body[data-theme='dark'] {
.tag-chip {
background: var(--primary-tag-chip-color);
color: var(--primary-color);

&.deleted {
background: var(--secondary-tag-chip-color);
}
}

.remove-tag-icon {
background-color: var(--foreground-color);
color: var(--background-color);
}
}