Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
🎇 Dark-mode licenses
Browse files Browse the repository at this point in the history
See executablebooks/mystjs#155
  • Loading branch information
rowanc1 committed Feb 2, 2023
1 parent 1db7188 commit 21302d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-poets-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/frontmatter': patch
---

Fix dark-mode licenses
2 changes: 1 addition & 1 deletion packages/frontmatter/src/licenses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function CreativeCommonsBadge({
const kind = match[1].toUpperCase();
return (
<a
className={classNames('opacity-50 hover:opacity-100 dark:invert', className)}
className={classNames('opacity-50 hover:opacity-100', className)}
href={license.url}
target="_blank"
rel="noopener noreferrer"
Expand Down

0 comments on commit 21302d9

Please sign in to comment.