mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
docs: update blockquote styles + shadcn-ui guide
This commit is contained in:
@@ -7,7 +7,9 @@ description: How to use shadcn/ui to add SVGs to your project.
|
||||
|
||||
SVGL v5 support [shadcn/ui](https://ui.shadcn.com/) registry 🎉, so you can easily add SVGs to your project using [their CLI](https://ui.shadcn.com/docs/cli). Add the registry config once and you will be able to install any SVG in **`.tsx`** using `npm`, `yarn`, `bun` or `pnpm`.
|
||||
|
||||
## Add registry
|
||||
## Add registry (optional)
|
||||
|
||||
> If you have already added shadcn/ui in your project, you can skip this step.
|
||||
|
||||
Add the SVGL registry to your `components.json` file:
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
/* Blockquotes */
|
||||
|
||||
& blockquote:not(.not-markdown blockquote) {
|
||||
@apply mt-6 border-l-2 border-neutral-300 pl-6 text-neutral-900 dark:border-neutral-700 dark:text-neutral-100;
|
||||
@apply mt-6 border-l-2 border-neutral-300 bg-neutral-200/50 pl-4 text-neutral-700 dark:border-neutral-700 dark:bg-neutral-800/50 dark:text-neutral-300;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
|
||||
Reference in New Issue
Block a user