Skip to content

Commit

Permalink
fix(CSS): fix CSS calc syntax compatibility issue (#3474)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed Dec 1, 2023
1 parent 5b66549 commit 88021ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/styles/color-modes/dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@

// Placeholder
--rs-placeholder: var(--rs-gray-600);
--rs-placeholder-active: hsl(from var(--rs-gray-600) h s calc(l + l * 0.2));
--rs-placeholder-active: var(--rs-gray-500);

// Breadcrumb
--rs-breadcrumb-item-active-text: #fff;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/color-modes/high-contrast.less
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

// Placeholder
--rs-placeholder: var(--rs-gray-600);
--rs-placeholder-active: hsl(from var(--rs-gray-600) h s calc(l + l * 0.2));
--rs-placeholder-active: var(--rs-gray-500);

// Breadcrumb
--rs-breadcrumb-item-active-text: #fff;
Expand Down

0 comments on commit 88021ee

Please sign in to comment.