@kolkrabbi/kol-icons 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
- package/src/kol-icon-set-v1/misc/resize-grip.svg +3 -0
- package/src/kol-icon-set-v1/playback/pause.svg +4 -0
- package/src/kol-icon-set-v1/playback/play.svg +3 -0
- package/src/kol-icon-set-v1/playback/skip-back.svg +3 -0
- package/src/kol-icon-set-v1/playback/skip-end.svg +3 -0
- package/src/kol-icon-set-v1/playback/skip-forward.svg +3 -0
- package/src/kol-icon-set-v1/playback/skip-start.svg +3 -0
- package/src/kol-icon-set-v1/shape-primitives/star-solid.svg +3 -0
package/README.md
CHANGED
|
@@ -39,3 +39,11 @@ registerIcons(import.meta.glob('./icons/**/*.svg', { eager: true, query: '?raw',
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
Registered icons are keyed by filename (basename), win over the packaged set (add **or** override), and resolve synchronously. Author them with `currentColor` so they theme.
|
|
42
|
+
|
|
43
|
+
## Tailwind v4 consumers
|
|
44
|
+
|
|
45
|
+
`Icon`'s wrapper uses Tailwind utilities (`inline-block`, `inline-flex items-center justify-center`), and Tailwind skips `node_modules` when scanning — so point it at this package's source or icon alignment breaks:
|
|
46
|
+
|
|
47
|
+
```css
|
|
48
|
+
@source "../node_modules/@kolkrabbi/kol-icons/src";
|
|
49
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "KOL icons — <Icon/>, the curated kol-icon-set-v1 + registerIcons (bring-your-own), and the legacy inventory. Vite-only (import.meta.glob).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 3L14.4 8.7L20.5 9.3L15.8 13.4L17.2 19.5L12 16.3L6.8 19.5L8.2 13.4L3.5 9.3L9.6 8.7L12 3Z" fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|