Skip to content

Commit

Permalink
🐛 Fix doc version banner style
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Sep 15, 2023
1 parent 3d01ca5 commit 226517a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function DocVersionBannerEnabled({
className={clsx(
className,
ThemeClassNames.docs.docVersionBanner,
"admonition doc-version-banner",
"alert admonition admonition-warning doc-version-banner",
)}
role="alert"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.doc-version-banner {
@apply bg-[#fff8e6] text-base-content;

[data-theme="dark"] & {
@apply bg-[#4d3800];
& a {
@apply text-primary;
}
}

0 comments on commit 226517a

Please sign in to comment.