rizzo-css 0.0.5 → 0.0.7
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/bin/rizzo-css.js +61 -2
- package/package.json +1 -1
- package/scaffold/astro-app/package.json +1 -13
- package/scaffold/astro-app/public/favicon.svg +18 -0
- package/scaffold/astro-app/src/layouts/Layout.astro +2 -0
- package/scaffold/svelte/icons/Brush.svelte +11 -0
- package/scaffold/svelte/icons/Cake.svelte +12 -0
- package/scaffold/svelte/icons/Check.svelte +22 -0
- package/scaffold/svelte/icons/Cherry.svelte +12 -0
- package/scaffold/svelte/icons/ChevronDown.svelte +22 -0
- package/scaffold/svelte/icons/Circle.svelte +22 -0
- package/scaffold/svelte/icons/Close.svelte +23 -0
- package/scaffold/svelte/icons/Copy.svelte +23 -0
- package/scaffold/svelte/icons/Eye.svelte +23 -0
- package/scaffold/svelte/icons/Filter.svelte +22 -0
- package/scaffold/svelte/icons/Flame.svelte +22 -0
- package/scaffold/svelte/icons/Flower.svelte +12 -0
- package/scaffold/svelte/icons/Gear.svelte +23 -0
- package/scaffold/svelte/icons/Heart.svelte +22 -0
- package/scaffold/svelte/icons/IceCream.svelte +24 -0
- package/scaffold/svelte/icons/Leaf.svelte +23 -0
- package/scaffold/svelte/icons/Lemon.svelte +12 -0
- package/scaffold/svelte/icons/Moon.svelte +22 -0
- package/scaffold/svelte/icons/Owl.svelte +27 -0
- package/scaffold/svelte/icons/Palette.svelte +26 -0
- package/scaffold/svelte/icons/Rainbow.svelte +24 -0
- package/scaffold/svelte/icons/Search.svelte +23 -0
- package/scaffold/svelte/icons/Shield.svelte +22 -0
- package/scaffold/svelte/icons/Snowflake.svelte +27 -0
- package/scaffold/svelte/icons/Sort.svelte +23 -0
- package/scaffold/svelte/icons/Sun.svelte +23 -0
- package/scaffold/svelte/icons/Sunset.svelte +11 -0
- package/scaffold/svelte/icons/Zap.svelte +10 -0
- package/scaffold/svelte/icons/devicons/Astro.svelte +31 -0
- package/scaffold/svelte/icons/devicons/Bash.svelte +27 -0
- package/scaffold/svelte/icons/devicons/Css3.svelte +22 -0
- package/scaffold/svelte/icons/devicons/Git.svelte +17 -0
- package/scaffold/svelte/icons/devicons/Html5.svelte +20 -0
- package/scaffold/svelte/icons/devicons/Javascript.svelte +18 -0
- package/scaffold/svelte/icons/devicons/Nodejs.svelte +40 -0
- package/scaffold/svelte/icons/devicons/Plaintext.svelte +26 -0
- package/scaffold/svelte/icons/devicons/React.svelte +20 -0
- package/scaffold/svelte/icons/devicons/Svelte.svelte +18 -0
- package/scaffold/svelte/icons/devicons/Vue.svelte +19 -0
- package/scaffold/svelte-app/package.json +13 -8
- package/scaffold/svelte-app/src/app.html +1 -0
- package/scaffold/svelte-app/src/lib/assets/favicon.svg +1 -0
- package/scaffold/svelte-app/src/routes/+layout.svelte +5 -0
- package/scaffold/svelte-app/static/robots.txt +3 -0
- package/scaffold/svelte-app/svelte.config.js +6 -4
- package/scaffold/svelte-app/tsconfig.json +19 -13
- package/scaffold/vanilla/icons/Brush.svg +5 -0
- package/scaffold/vanilla/icons/Cake.svg +6 -0
- package/scaffold/vanilla/icons/Check.svg +13 -0
- package/scaffold/vanilla/icons/Cherry.svg +6 -0
- package/scaffold/vanilla/icons/ChevronDown.svg +13 -0
- package/scaffold/vanilla/icons/Circle.svg +13 -0
- package/scaffold/vanilla/icons/Close.svg +14 -0
- package/scaffold/vanilla/icons/Copy.svg +14 -0
- package/scaffold/vanilla/icons/Eye.svg +14 -0
- package/scaffold/vanilla/icons/Filter.svg +13 -0
- package/scaffold/vanilla/icons/Flame.svg +13 -0
- package/scaffold/vanilla/icons/Flower.svg +6 -0
- package/scaffold/vanilla/icons/Gear.svg +14 -0
- package/scaffold/vanilla/icons/Heart.svg +13 -0
- package/scaffold/vanilla/icons/IceCream.svg +15 -0
- package/scaffold/vanilla/icons/Leaf.svg +14 -0
- package/scaffold/vanilla/icons/Lemon.svg +6 -0
- package/scaffold/vanilla/icons/Moon.svg +13 -0
- package/scaffold/vanilla/icons/Owl.svg +18 -0
- package/scaffold/vanilla/icons/Palette.svg +17 -0
- package/scaffold/vanilla/icons/Rainbow.svg +15 -0
- package/scaffold/vanilla/icons/Search.svg +14 -0
- package/scaffold/vanilla/icons/Shield.svg +13 -0
- package/scaffold/vanilla/icons/Snowflake.svg +18 -0
- package/scaffold/vanilla/icons/Sort.svg +14 -0
- package/scaffold/vanilla/icons/Sun.svg +14 -0
- package/scaffold/vanilla/icons/Sunset.svg +5 -0
- package/scaffold/vanilla/icons/Zap.svg +4 -0
- package/scaffold/vanilla/icons/devicons/Astro.svg +20 -0
- package/scaffold/vanilla/icons/devicons/Bash.svg +9 -0
- package/scaffold/vanilla/icons/devicons/Css3.svg +13 -0
- package/scaffold/vanilla/icons/devicons/Git.svg +8 -0
- package/scaffold/vanilla/icons/devicons/Html5.svg +11 -0
- package/scaffold/vanilla/icons/devicons/Javascript.svg +9 -0
- package/scaffold/vanilla/icons/devicons/Nodejs.svg +31 -0
- package/scaffold/vanilla/icons/devicons/Plaintext.svg +8 -0
- package/scaffold/vanilla/icons/devicons/React.svg +11 -0
- package/scaffold/vanilla/icons/devicons/Svelte.svg +9 -0
- package/scaffold/vanilla/icons/devicons/Vue.svg +10 -0
package/bin/rizzo-css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const { copyFileSync, mkdirSync, writeFileSync, existsSync, readFileSync, readdirSync } = require('fs');
|
|
3
|
+
const { copyFileSync, mkdirSync, writeFileSync, existsSync, readFileSync, readdirSync, statSync } = require('fs');
|
|
4
4
|
const { join, dirname } = require('path');
|
|
5
5
|
const readline = require('readline');
|
|
6
6
|
|
|
@@ -232,6 +232,18 @@ function multiSelectMenu(options, title) {
|
|
|
232
232
|
render(false);
|
|
233
233
|
return;
|
|
234
234
|
}
|
|
235
|
+
if (ch === 'a' || ch === 'A') {
|
|
236
|
+
buf = '';
|
|
237
|
+
for (let i = 0; i < items.length; i++) selected.add(i);
|
|
238
|
+
render(false);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
if (ch === 'n' || ch === 'N') {
|
|
242
|
+
buf = '';
|
|
243
|
+
selected.clear();
|
|
244
|
+
render(false);
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
235
247
|
buf += ch;
|
|
236
248
|
const isUp = buf === '\u001b[A' || buf === '\u001bOA' || (buf.length >= 2 && buf.endsWith('A') && buf.startsWith('\u001b'));
|
|
237
249
|
const isDown = buf === '\u001b[B' || buf === '\u001bOB' || (buf.length >= 2 && buf.endsWith('B') && buf.startsWith('\u001b'));
|
|
@@ -363,6 +375,33 @@ function getScaffoldVanillaIndex() {
|
|
|
363
375
|
return join(getPackageRoot(), 'scaffold', 'vanilla', 'index.html');
|
|
364
376
|
}
|
|
365
377
|
|
|
378
|
+
function getScaffoldVanillaIconsDir() {
|
|
379
|
+
return join(getPackageRoot(), 'scaffold', 'vanilla', 'icons');
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/** Copy Rizzo icons into the project for the given framework. */
|
|
383
|
+
function copyRizzoIcons(projectDir, framework) {
|
|
384
|
+
if (framework === 'astro') {
|
|
385
|
+
const iconsSrc = join(getScaffoldAstroDir(), 'icons');
|
|
386
|
+
if (!existsSync(iconsSrc)) return;
|
|
387
|
+
const targetDir = join(projectDir, 'src', 'components', 'rizzo', 'icons');
|
|
388
|
+
mkdirSync(targetDir, { recursive: true });
|
|
389
|
+
copyDirRecursive(iconsSrc, targetDir);
|
|
390
|
+
} else if (framework === 'svelte') {
|
|
391
|
+
const iconsSrc = join(getScaffoldSvelteDir(), 'icons');
|
|
392
|
+
if (!existsSync(iconsSrc)) return;
|
|
393
|
+
const targetDir = join(projectDir, 'src', 'lib', 'rizzo', 'icons');
|
|
394
|
+
mkdirSync(targetDir, { recursive: true });
|
|
395
|
+
copyDirRecursive(iconsSrc, targetDir);
|
|
396
|
+
} else if (framework === 'vanilla') {
|
|
397
|
+
const iconsSrc = getScaffoldVanillaIconsDir();
|
|
398
|
+
if (!existsSync(iconsSrc)) return;
|
|
399
|
+
const targetDir = join(projectDir, 'icons');
|
|
400
|
+
mkdirSync(targetDir, { recursive: true });
|
|
401
|
+
copyDirRecursive(iconsSrc, targetDir);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
366
405
|
function getScaffoldAstroAppDir() {
|
|
367
406
|
return join(getPackageRoot(), 'scaffold', 'astro-app');
|
|
368
407
|
}
|
|
@@ -433,10 +472,14 @@ function copySvelteComponents(projectDir, selectedNames) {
|
|
|
433
472
|
exports.push(`export { default as ${name} } from './${name}.svelte';`);
|
|
434
473
|
}
|
|
435
474
|
}
|
|
475
|
+
const iconsSrc = join(scaffoldDir, 'icons');
|
|
476
|
+
if (existsSync(iconsSrc)) {
|
|
477
|
+
copyDirRecursive(iconsSrc, join(targetDir, 'icons'));
|
|
478
|
+
}
|
|
436
479
|
if (exports.length > 0) {
|
|
437
480
|
const indexContent = `/** Rizzo CSS Svelte components — selected via npx rizzo-css init */\n${exports.join('\n')}\n`;
|
|
438
481
|
writeFileSync(join(targetDir, 'index.ts'), indexContent, 'utf8');
|
|
439
|
-
console.log('\n ✓ ' + exports.length + ' Svelte components copied to ' + targetDir);
|
|
482
|
+
console.log('\n ✓ ' + exports.length + ' Svelte components copied to ' + targetDir + (existsSync(iconsSrc) ? ' + icons' : ''));
|
|
440
483
|
console.log(' Import in your app: import { Button, Badge, ... } from \'$lib/rizzo\';\n');
|
|
441
484
|
}
|
|
442
485
|
}
|
|
@@ -527,6 +570,7 @@ async function runAddToExisting() {
|
|
|
527
570
|
mkdirSync(targetDir, { recursive: true });
|
|
528
571
|
copyFileSync(cssSource, cssTarget);
|
|
529
572
|
|
|
573
|
+
copyRizzoIcons(cwd, framework);
|
|
530
574
|
if (framework === 'svelte' && selectedComponents.length > 0) {
|
|
531
575
|
copySvelteComponents(cwd, selectedComponents);
|
|
532
576
|
} else if (framework === 'astro' && selectedComponents.length > 0) {
|
|
@@ -649,6 +693,10 @@ async function cmdInit() {
|
|
|
649
693
|
mkdirSync(join(projectDir, 'public', 'css'), { recursive: true });
|
|
650
694
|
cssTarget = join(projectDir, 'public', 'css', 'rizzo.min.css');
|
|
651
695
|
copyFileSync(cssSource, cssTarget);
|
|
696
|
+
if (statSync(cssTarget).size < 5000) {
|
|
697
|
+
console.warn('\nWarning: rizzo.min.css is very small. From repo root run: pnpm build:css');
|
|
698
|
+
}
|
|
699
|
+
copyRizzoIcons(projectDir, 'astro');
|
|
652
700
|
if (selectedComponents.length > 0) {
|
|
653
701
|
copyAstroComponents(projectDir, selectedComponents);
|
|
654
702
|
}
|
|
@@ -658,6 +706,10 @@ async function cmdInit() {
|
|
|
658
706
|
mkdirSync(join(projectDir, 'static', 'css'), { recursive: true });
|
|
659
707
|
cssTarget = join(projectDir, 'static', 'css', 'rizzo.min.css');
|
|
660
708
|
copyFileSync(cssSource, cssTarget);
|
|
709
|
+
if (statSync(cssTarget).size < 5000) {
|
|
710
|
+
console.warn('\nWarning: rizzo.min.css is very small. From repo root run: pnpm build:css');
|
|
711
|
+
}
|
|
712
|
+
copyRizzoIcons(projectDir, 'svelte');
|
|
661
713
|
if (selectedComponents.length > 0) {
|
|
662
714
|
copySvelteComponents(projectDir, selectedComponents);
|
|
663
715
|
}
|
|
@@ -667,6 +719,9 @@ async function cmdInit() {
|
|
|
667
719
|
const linkHref = framework === 'astro' ? '/css/rizzo.min.css' : 'css/rizzo.min.css';
|
|
668
720
|
mkdirSync(cssDir, { recursive: true });
|
|
669
721
|
copyFileSync(cssSource, cssTarget);
|
|
722
|
+
if (statSync(cssTarget).size < 5000) {
|
|
723
|
+
console.warn('\nWarning: rizzo.min.css is very small. From repo root run: pnpm build:css');
|
|
724
|
+
}
|
|
670
725
|
|
|
671
726
|
const vanillaScaffoldPath = getScaffoldVanillaIndex();
|
|
672
727
|
indexPath = join(projectDir, 'index.html');
|
|
@@ -695,6 +750,7 @@ async function cmdInit() {
|
|
|
695
750
|
`;
|
|
696
751
|
writeFileSync(indexPath, indexHtml, 'utf8');
|
|
697
752
|
}
|
|
753
|
+
copyRizzoIcons(projectDir, framework);
|
|
698
754
|
if (framework === 'svelte' && selectedComponents.length > 0) {
|
|
699
755
|
copySvelteComponents(projectDir, selectedComponents);
|
|
700
756
|
} else if (framework === 'astro' && selectedComponents.length > 0) {
|
|
@@ -707,12 +763,15 @@ async function cmdInit() {
|
|
|
707
763
|
if (indexPath) console.log(' - ' + indexPath);
|
|
708
764
|
if (framework === 'vanilla') {
|
|
709
765
|
console.log(' - Vanilla JS: same CSS and component styles; index includes theme switcher and sample components.');
|
|
766
|
+
console.log(' - Icons: ' + join(projectDir, 'icons') + ' (SVG files)');
|
|
710
767
|
}
|
|
711
768
|
if (framework === 'astro' && existsSync(astroAppDir)) {
|
|
712
769
|
console.log(' - Default Astro project with Rizzo CSS. Run: pnpm install && pnpm dev');
|
|
770
|
+
console.log(' - Icons: src/components/rizzo/icons/ (Astro components)');
|
|
713
771
|
}
|
|
714
772
|
if (framework === 'svelte' && existsSync(svelteAppDir)) {
|
|
715
773
|
console.log(' - Default SvelteKit project with Rizzo CSS. Run: pnpm install && pnpm dev');
|
|
774
|
+
console.log(' - Icons: src/lib/rizzo/icons/ (Svelte components)');
|
|
716
775
|
}
|
|
717
776
|
if ((framework === 'svelte' || framework === 'astro') && !existsSync(framework === 'astro' ? astroAppDir : svelteAppDir)) {
|
|
718
777
|
const fw = framework === 'svelte' ? 'Svelte' : 'Astro';
|
package/package.json
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{PROJECT_NAME}}",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "astro dev",
|
|
7
|
-
"build": "astro build",
|
|
8
|
-
"preview": "astro preview"
|
|
9
|
-
},
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"astro": "^5.0.0"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
{"name":"{{PROJECT_NAME}}","type":"module","version":"0.0.1","scripts":{"dev":"astro dev","build":"astro build","preview":"astro preview"},"devDependencies":{"astro":"^5.0.0"}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M47.7 107.1c-5.5-5-7.2-15.7-4.9-23.4 4 4.9 9.6 6.4 15.4 7.3 8.9 1.3 17.6.8 25.9-3.2l2.8-1.7a18 18 0 0 1-7.2 20l-5.5 3.8c-5.6 3.8-7.2 8.2-5 14.7l.2.7a14 14 0 0 1-6.6-5.6 15.8 15.8 0 0 1-2.6-8.6c0-1.5 0-3-.2-4.5-.5-3.7-2.2-5.3-5.5-5.4-3.3-.1-5.9 2-6.6 5.2l-.2.7ZM16 82.4s16.5-8 33-8l12.4-38.3c.5-2 1.8-3.2 3.3-3.2 1.6 0 3 1.3 3.4 3.2l12.4 38.3c19.6 0 33 8 33 8l-28-76c-.8-2.3-2.2-3.7-4-3.7H48c-1.8 0-3.1 1.4-4 3.7l-28 76Z"/>
|
|
4
|
+
</g>
|
|
5
|
+
<path fill="url(#a)" d="M47.7 107.1c-5.5-5-7.2-15.7-4.9-23.4 4 4.9 9.6 6.4 15.4 7.3 8.9 1.3 17.6.8 25.9-3.2l2.8-1.7a18 18 0 0 1-7.2 20l-5.5 3.8c-5.6 3.8-7.2 8.2-5 14.7l.2.7a14 14 0 0 1-6.6-5.6 15.8 15.8 0 0 1-2.6-8.6c0-1.5 0-3-.2-4.5-.5-3.7-2.2-5.3-5.5-5.4-3.3-.1-5.9 2-6.6 5.2l-.2.7Z"/>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient id="a" x1="64.7" x2="77.4" y1="119.2" y2="77.4" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop stop-color="#D83333"/>
|
|
9
|
+
<stop offset="1" stop-color="#F041FF"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<style>
|
|
13
|
+
g { fill: #000; }
|
|
14
|
+
@media (prefers-color-scheme: dark) {
|
|
15
|
+
g { fill: #FFF; }
|
|
16
|
+
}
|
|
17
|
+
</style>
|
|
18
|
+
</svg>
|
|
@@ -10,6 +10,8 @@ const { title = '{{TITLE}}' } = Astro.props;
|
|
|
10
10
|
<head>
|
|
11
11
|
<meta charset="UTF-8" />
|
|
12
12
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
13
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
14
|
+
<!-- Rizzo CSS: full bundle (reset + base + components + themes) -->
|
|
13
15
|
<link rel="stylesheet" href="/css/rizzo.min.css" />
|
|
14
16
|
<title>{title}</title>
|
|
15
17
|
</head>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class={className} aria-hidden="true">
|
|
8
|
+
<title>Brush</title>
|
|
9
|
+
<path d="m9.06 11.9 8.07-8.06a2.85 2.85 0 1 1 4.03 4.03l-8.06 8.08" />
|
|
10
|
+
<path d="M7.87 14.14c-.32.32-.67.68-1.06 1.06a5.04 5.04 0 0 1-2.17 1.22c-.47.15-.85.2-1.15.2-.16 0-.3-.02-.41-.03a1 1 0 0 1-.63-.97c-.01-.14.02-.31.07-.51.1-.41.3-.95.6-1.59.3-.64.67-1.33 1.08-2.05" />
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class={className} aria-hidden="true">
|
|
8
|
+
<title>Cake</title>
|
|
9
|
+
<path d="M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8" />
|
|
10
|
+
<path d="M4 16s1-1 4-1 5 2 8 2 4-1 4-1V4" />
|
|
11
|
+
<path d="M2 16v4M22 16v4M8 8h.01M16 8h.01M8 12h.01M16 12h.01" />
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Check</title>
|
|
21
|
+
<path d="M20 6L9 17l-5-5" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class={className} aria-hidden="true">
|
|
8
|
+
<title>Cherry</title>
|
|
9
|
+
<path d="M9 18c0-2 1.5-4 4-4s4 2 4 4c0 2-1.5 4-4 4s-4-2-4-4Z" />
|
|
10
|
+
<path d="M15 18c0-2 1.5-4 4-4s4 2 4 4c0 2-1.5 4-4 4s-4-2-4-4Z" />
|
|
11
|
+
<path d="M12 8v4M10 10l-2 2M14 10l2 2" />
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Chevron Down</title>
|
|
21
|
+
<path d="m6 9 6 6 6-6" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Circle</title>
|
|
21
|
+
<circle cx="12" cy="12" r="10" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Close</title>
|
|
21
|
+
<path d="M18 6L6 18" />
|
|
22
|
+
<path d="M6 6l12 12" />
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Copy</title>
|
|
21
|
+
<rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
|
|
22
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2" />
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Eye</title>
|
|
21
|
+
<path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" />
|
|
22
|
+
<circle cx="12" cy="12" r="3" />
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Filter</title>
|
|
21
|
+
<path d="M22 3H2l8 9.46V19l4 2v-8.54L22 3z" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Flame</title>
|
|
21
|
+
<path d="M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class={className} aria-hidden="true">
|
|
8
|
+
<title>Flower</title>
|
|
9
|
+
<circle cx="12" cy="12" r="3" />
|
|
10
|
+
<path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" />
|
|
11
|
+
<path d="M12 5v2M12 17v2M5 12h2M17 12h2" />
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Settings</title>
|
|
21
|
+
<path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" />
|
|
22
|
+
<circle cx="12" cy="12" r="3" />
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Heart</title>
|
|
21
|
+
<path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Ice Cream</title>
|
|
21
|
+
<path d="m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11" />
|
|
22
|
+
<path d="M17 7A5 5 0 0 0 7 7" />
|
|
23
|
+
<path d="M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4" />
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Leaf</title>
|
|
21
|
+
<path d="M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z" />
|
|
22
|
+
<path d="M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12" />
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class={className} aria-hidden="true">
|
|
8
|
+
<title>Lemon</title>
|
|
9
|
+
<path d="M15.5 6.5c.5-2.5 2.5-4 5-4 1.5 0 2.5.5 3 1" />
|
|
10
|
+
<path d="M12 12c-2 2-3 4-3 6 0 3 2 5 5 5 2 0 4-1 6-3" />
|
|
11
|
+
<path d="M18 12c2 2 3 4 3 6 0 3-2 5-5 5-2 0-4-1-6-3" />
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Moon</title>
|
|
21
|
+
<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" />
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Owl</title>
|
|
21
|
+
<path d="M16 7h.01" />
|
|
22
|
+
<path d="M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20" />
|
|
23
|
+
<path d="m20 7 2 .5-2 .5" />
|
|
24
|
+
<path d="M10 18v3" />
|
|
25
|
+
<path d="M14 17.75V21" />
|
|
26
|
+
<path d="M7 18a6 6 0 0 0 3.84-10.61" />
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Palette</title>
|
|
21
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
|
22
|
+
<path d="M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25"/>
|
|
23
|
+
<path d="M7.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/>
|
|
24
|
+
<path d="M11.5 7.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/>
|
|
25
|
+
<path d="M15.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/>
|
|
26
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let width = 16;
|
|
3
|
+
export let height = 16;
|
|
4
|
+
export let className = '';
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={width}
|
|
10
|
+
height={height}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
class={className}
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
>
|
|
20
|
+
<title>Rainbow</title>
|
|
21
|
+
<path d="M22 17a10 10 0 0 0-20 0" />
|
|
22
|
+
<path d="M6 17a6 6 0 0 1 12 0" />
|
|
23
|
+
<path d="M10 17a2 2 0 0 1 4 0" />
|
|
24
|
+
</svg>
|