Skip to content

Commit 2c2ca9e

Browse files
committed
Set iconify-tailwind scale to 0
1 parent fe43cf0 commit 2c2ca9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ Use `@fontsource-variable` for self-hosted open-source fonts.
110110
### Icons
111111

112112
Use `@iconify/tailwind` plugin for high-performance css-only icons. Apply icon classes using
113-
`icon-[{prefix}--{name}]`. Install icon sets at `@iconify-json/{prefix}`. Only icons you use will be
114-
included in your build. Read more at
113+
`icon-[{prefix}--{name}]`. Install icon sets at `@iconify-json/{prefix}`. Set icon size using
114+
standard tw classes eg. `h-6 w-6`. Only icons you use will be included in your build. Read more at
115115
[Iconify](https://github.com/iconify/iconify/tree/main/plugins/tailwind).
116116

117117
## License

index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ await spinner('add iconify', async () => {
104104
await patchFiles(
105105
path.join(name, 'tailwind.config.cjs'),
106106
[`const dt`, `const { addDynamicIconSelectors } = require('@iconify/tailwind');\nconst dt`],
107-
[`plugins: [`, `plugins: [addDynamicIconSelectors(),`]
107+
[`plugins: [`, `plugins: [addDynamicIconSelectors({ scale: 0 }),`]
108108
)
109109
await patchFiles(path.join(name, 'src', 'routes', '+page.svelte'), [
110110
`</h1>`,

0 commit comments

Comments
 (0)