Skip to content

Commit

Permalink
Add Callout border in dark mode (#1055)
Browse files Browse the repository at this point in the history
* Add Callout border in dark mode

* Create cyan-baboons-provide.md

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>
Co-authored-by: Shu Ding <g@shud.in>
  • Loading branch information
3 people committed Dec 18, 2022
1 parent ae449d6 commit 3a08fe2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/cyan-baboons-provide.md
@@ -0,0 +1,6 @@
---
"nextra-theme-docs": patch
"nextra": patch
---

Add Callout border in dark mode
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/src/components/callout.tsx
Expand Up @@ -22,7 +22,7 @@ const classes: Record<CalloutType, string> = {
'nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200'
),
warning: cn(
'nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200'
'nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200'
)
}

Expand Down

1 comment on commit 3a08fe2

@vercel
Copy link

@vercel vercel bot commented on 3a08fe2 Dec 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.