Skip to content

Commit

Permalink
chore(core): do not add rmd-current-color-background class
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Nov 4, 2023
1 parent f91de78 commit ffe42c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/cssUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ export function cssUtils(options: CssUtilsOptions): string {
!backgroundColor && !isTextColor && textColor && `rmd-${textColor}-color`,
!backgroundColor && isTextColor && `rmd-${textColor}-color`,
backgroundColor && "rmd-background-container",
backgroundColor && `rmd-${backgroundColor}-container`,
backgroundColor &&
backgroundColor !== "current-color" &&
`rmd-${backgroundColor}-container`,
outlineColor && "rmd-outline",
outlineColor && `rmd-${outlineColor}-outline`,
(isMarginTop || margin === "bottom") &&
Expand Down

0 comments on commit ffe42c5

Please sign in to comment.