do-ui-design-system 0.0.1

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.
Files changed (35) hide show
  1. package/README.md +58 -0
  2. package/dist/atoms/Button/Button.svelte +33 -0
  3. package/dist/atoms/Button/Button.svelte.d.ts +38 -0
  4. package/dist/atoms/Button/iProps.d.ts +11 -0
  5. package/dist/atoms/Button/iProps.js +1 -0
  6. package/dist/atoms/Icons/Icon.svelte +22 -0
  7. package/dist/atoms/Icons/Icon.svelte.d.ts +32 -0
  8. package/dist/atoms/Icons/iProps.d.ts +7 -0
  9. package/dist/atoms/Icons/iProps.js +1 -0
  10. package/dist/do-theme/border.css +0 -0
  11. package/dist/do-theme/button.css +57 -0
  12. package/dist/do-theme/color.css +0 -0
  13. package/dist/do-theme/icomoon/backup-icons.json +1 -0
  14. package/dist/do-theme/icomoon/generate-icon-list.cjs +29 -0
  15. package/dist/do-theme/icomoon/generate-icon-list.d.cts +1 -0
  16. package/dist/do-theme/icomoon/icomoon.eot +0 -0
  17. package/dist/do-theme/icomoon/icomoon.svg +23 -0
  18. package/dist/do-theme/icomoon/icomoon.ttf +0 -0
  19. package/dist/do-theme/icomoon/icomoon.woff +0 -0
  20. package/dist/do-theme/icomoon/iconList.d.ts +3 -0
  21. package/dist/do-theme/icomoon/iconList.js +18 -0
  22. package/dist/do-theme/icomoon/icons.css +66 -0
  23. package/dist/do-theme/index.css +29 -0
  24. package/dist/do-theme/post-compiled.css +1376 -0
  25. package/dist/do-theme/var-dark.css +34 -0
  26. package/dist/do-theme/var-hybrid.css +47 -0
  27. package/dist/do-theme/var-light.css +29 -0
  28. package/dist/index.d.ts +4 -0
  29. package/dist/index.js +7 -0
  30. package/dist/molecules/IconButton/IconButton.svelte +51 -0
  31. package/dist/molecules/IconButton/IconButton.svelte.d.ts +48 -0
  32. package/dist/molecules/IconButton/iProps.d.ts +14 -0
  33. package/dist/molecules/IconButton/iProps.js +1 -0
  34. package/package.json +95 -0
  35. package/src/lib/do-theme/index.css +29 -0
package/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # Svelte library
2
+
3
+ Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).
4
+
5
+ Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).
6
+
7
+ ## Creating a project
8
+
9
+ If you're seeing this, you've probably already done this step. Congrats!
10
+
11
+ ```bash
12
+ # create a new project in the current directory
13
+ npx sv create
14
+
15
+ # create a new project in my-app
16
+ npx sv create my-app
17
+ ```
18
+
19
+ ## Developing
20
+
21
+ Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
22
+
23
+ ```bash
24
+ npm run dev
25
+
26
+ # or start the server and open the app in a new browser tab
27
+ npm run dev -- --open
28
+ ```
29
+
30
+ Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.
31
+
32
+ ## Building
33
+
34
+ To build your library:
35
+
36
+ ```bash
37
+ npm run package
38
+ ```
39
+
40
+ To create a production version of your showcase app:
41
+
42
+ ```bash
43
+ npm run build
44
+ ```
45
+
46
+ You can preview the production build with `npm run preview`.
47
+
48
+ > To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
49
+
50
+ ## Publishing
51
+
52
+ Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).
53
+
54
+ To publish your library to [npm](https://www.npmjs.com):
55
+
56
+ ```bash
57
+ npm publish
58
+ ```
@@ -0,0 +1,33 @@
1
+ <script lang="ts">
2
+ import type { iProps } from './iProps.ts';
3
+
4
+ export let variant: iProps['variant'] = 'primary';
5
+ export let size: iProps['size'] = 'md';
6
+ export let label: iProps['label'] = '';
7
+ export let disabled: iProps['disabled'] = false;
8
+ export let onClick: iProps['onClick'];
9
+ export let loading: iProps['loading'] = false;
10
+ export let type: iProps['type'] = 'button';
11
+ </script>
12
+
13
+ <!--
14
+ @component
15
+ Props:
16
+ - variant: 'primary' | 'secondary' | 'accent' | 'neutral'
17
+ - size: 'sm' | 'md' | 'lg'
18
+ - label: string
19
+ - onClick: () => void
20
+ - disabled: boolean
21
+ - loading: boolean
22
+ - type: 'button' | 'submit' | 'reset'
23
+ -->
24
+ <button
25
+ {...$$restProps}
26
+ {type}
27
+ class={['btn', `btn-${size}`, `btn-${variant}`].join(' ')}
28
+ {disabled}
29
+ on:click={onClick}
30
+ >
31
+ {label}
32
+ <span class="loading loading-spinner hidden" class:!inline={loading}></span>
33
+ </button>
@@ -0,0 +1,38 @@
1
+ import type { iProps } from './iProps.ts';
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
12
+ };
13
+ z_$$bindings?: Bindings;
14
+ }
15
+ /**
16
+ * Props:
17
+ * - variant: 'primary' | 'secondary' | 'accent' | 'neutral'
18
+ * - size: 'sm' | 'md' | 'lg'
19
+ * - label: string
20
+ * - onClick: () => void
21
+ * - disabled: boolean
22
+ * - loading: boolean
23
+ * - type: 'button' | 'submit' | 'reset'
24
+ */
25
+ declare const Button: $$__sveltets_2_IsomorphicComponent<{
26
+ [x: string]: any;
27
+ variant?: "primary" | "secondary" | "neutral" | "accent" | undefined;
28
+ size?: "sm" | "md" | "lg" | undefined;
29
+ label?: string | undefined;
30
+ disabled?: boolean | undefined;
31
+ onClick: iProps["onClick"];
32
+ loading?: boolean | undefined;
33
+ type?: "submit" | "reset" | "button" | undefined;
34
+ }, {
35
+ [evt: string]: CustomEvent<any>;
36
+ }, {}, {}, string>;
37
+ type Button = InstanceType<typeof Button>;
38
+ export default Button;
@@ -0,0 +1,11 @@
1
+ import type { HTMLButtonAttributes } from 'svelte/elements';
2
+ export interface iProps extends HTMLButtonAttributes {
3
+ variant?: 'primary' | 'secondary' | 'neutral' | 'accent';
4
+ type?: 'button' | 'submit' | 'reset';
5
+ size?: 'sm' | 'md' | 'lg';
6
+ label?: string;
7
+ disabled?: boolean;
8
+ onClick?: () => void;
9
+ loading?: boolean;
10
+ loadingIcon?: undefined;
11
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ <script lang="ts">
2
+ import { type iProps } from "./iProps.ts";
3
+
4
+ export let name: iProps['name'] = "";
5
+ export let color: iProps['color'] = "text-inherit";
6
+ export let size: iProps['size'] = "text-base";
7
+
8
+ </script>
9
+
10
+ <!-- @component
11
+ ```Svelte
12
+ <Icon name={icon} color?={color} size?={size}/>
13
+ ```
14
+ - `name`: one of the .icon classes suggested by the component.
15
+ - `color?`: Any tailwind color class.
16
+ - `size?`: Any tailwind size class.
17
+ -->
18
+
19
+ <i
20
+ {...$$restProps}
21
+ class={[`${name}`, `${color}`, `${size}`].join(' ')}
22
+ ></i>
@@ -0,0 +1,32 @@
1
+ import { type iProps } from "./iProps.ts";
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
12
+ };
13
+ z_$$bindings?: Bindings;
14
+ }
15
+ /**
16
+ * ```Svelte
17
+ * <Icon name={icon} color?={color} size?={size}/>
18
+ * ```
19
+ * - `name`: one of the .icon classes suggested by the component.
20
+ * - `color?`: Any tailwind color class.
21
+ * - `size?`: Any tailwind size class.
22
+ */
23
+ declare const Icon: $$__sveltets_2_IsomorphicComponent<{
24
+ [x: string]: any;
25
+ name?: iProps["name"] | undefined;
26
+ color?: string | undefined;
27
+ size?: string | undefined;
28
+ }, {
29
+ [evt: string]: CustomEvent<any>;
30
+ }, {}, {}, string>;
31
+ type Icon = InstanceType<typeof Icon>;
32
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ import type { HTMLLabelAttributes } from "svelte/elements";
2
+ import { type IconNames } from "./../../do-theme/icomoon/iconList.ts";
3
+ export interface iProps extends HTMLLabelAttributes {
4
+ name: IconNames | "";
5
+ color?: string;
6
+ size?: string;
7
+ }
@@ -0,0 +1 @@
1
+ import {} from "./../../do-theme/icomoon/iconList.ts";
File without changes
@@ -0,0 +1,57 @@
1
+
2
+
3
+ .btn-rounded {
4
+ border-radius: 3rem;
5
+ }
6
+
7
+ .btn-primary {
8
+ border-color: var(--do-color-border-primary);
9
+ }
10
+
11
+ .btn-primary:hover {
12
+ color: var(--color-primary);
13
+ border-color: var(--do-transparent);
14
+ background-color: var(--do-color-primary-hover);
15
+ }
16
+
17
+ .btn-primary:disabled {
18
+ color: var(--color-primary-content);
19
+ border-color: var(--do-transparent);
20
+ background-color: var(--do-color-primary-disabled);
21
+ }
22
+
23
+ .btn-secondary:hover {
24
+ color: var(--color-primary-content);
25
+ border-color: var(--do-transparent);
26
+ background-color: var(--do-color-secondary-hover);
27
+ }
28
+ .btn-secondary:disabled {
29
+ border-color: var(--do-transparent);
30
+ background-color: var(--do-transparent);
31
+ }
32
+
33
+ .btn-neutral {
34
+ border-color: var(--do-transparent);
35
+ background-color: var(--do-transparent);
36
+ }
37
+
38
+ .btn-neutral span{
39
+ text-decoration: underline;
40
+ }
41
+ .btn-neutral:hover {
42
+ color: var(--color-primary-content);
43
+ border-color: var(--do-transparent);
44
+ background-color: var(--color-primary);
45
+ }
46
+
47
+ .btn-accent:disabled {
48
+ color: var( --color-accent-content);
49
+ border-color: var(--do-transparent);
50
+ background-color: var(--do-color-accent-disabled);
51
+ }
52
+
53
+ .btn-accent:hover {
54
+ color: var(--color-accent);
55
+ border-color: #DBEAFE;
56
+ background-color: var(--color-accent-content);
57
+ }
File without changes
@@ -0,0 +1 @@
1
+ {"IcoMoonType":"selection","icons":[{"icon":{"paths":["M511.187 46.423c-91.922 0.002-181.779 27.262-258.206 78.33s-135.999 123.655-171.176 208.58c-35.178 84.925-44.379 178.374-26.449 268.526 17.933 90.157 62.195 172.97 127.192 237.971 43.081 43.506 94.332 78.072 150.813 101.708 56.481 23.642 117.072 35.883 178.297 36.040 61.23 0.149 121.881-11.8 178.475-35.159 56.597-23.364 108.017-57.676 151.311-100.97s77.606-94.716 100.965-151.311c23.364-56.597 35.308-117.245 35.159-178.475-0.149-61.225-12.394-121.819-36.036-178.297-23.637-56.481-58.207-107.732-101.708-150.812-43.059-43.294-94.273-77.617-150.683-100.985-56.415-23.366-116.895-35.313-177.957-35.147zM112.814 511.191c0-219.665 178.707-398.372 398.373-398.372v796.746c-219.666 0-398.373-178.705-398.373-398.374z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["contrast"]},"attrs":[{}],"properties":{"order":25,"id":14,"name":"contrast","prevSize":32,"code":59654},"setIdx":0,"setId":0,"iconIdx":0},{"icon":{"paths":["M513.856 92.656c16.873-16.873 44.223-16.873 61.096 0l388.798 388.8c16.874 16.873 16.874 44.223 0 61.096l-388.798 388.798c-16.873 16.874-44.223 16.874-61.096 0s-16.873-44.219 0-61.092l315.052-315.057h-738.102c-23.858 0-43.2-19.342-43.2-43.2s19.342-43.2 43.2-43.2h738.102l-315.052-315.055c-16.873-16.873-16.873-44.223 0-61.096z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["arrow"]},"attrs":[{}],"properties":{"order":23,"id":13,"name":"arrow","prevSize":32,"code":59655},"setIdx":0,"setId":0,"iconIdx":1},{"icon":{"paths":["M480.789 68.924c17.236-17.236 45.17-17.236 62.407 0l235.353 235.356c17.237 17.236 17.237 45.17 0 62.407-17.234 17.236-45.17 17.236-62.405 0l-204.145-204.145-204.145 204.145c-17.236 17.236-45.17 17.236-62.407 0s-17.236-45.17 0-62.407l235.356-235.356zM245.439 657.318c17.236-17.237 45.17-17.237 62.407 0l204.145 204.145 204.145-204.145c17.236-17.237 45.17-17.237 62.405 0 17.237 17.237 17.237 45.17 0 62.403l-235.353 235.356c-17.236 17.237-45.17 17.237-62.407 0l-235.356-235.356c-17.236-17.237-17.236-45.17 0-62.403z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["arrows-up-down"]},"attrs":[{}],"properties":{"order":22,"id":11,"name":"arrows-up-down","prevSize":32,"code":59656},"setIdx":0,"setId":0,"iconIdx":2},{"icon":{"paths":["M79.239 279.857c17.41-17.41 45.638-17.41 63.050 0l369.719 369.719 369.719-369.719c17.412-17.41 45.631-17.41 63.043 0s17.412 45.638 0 63.050l-401.234 401.236c-17.41 17.41-45.638 17.41-63.050 0l-401.236-401.236c-17.41-17.41-17.41-45.638 0-63.050z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["chevron-down"]},"attrs":[{}],"properties":{"order":18,"id":10,"name":"chevron-down","prevSize":32,"code":59657},"setIdx":0,"setId":0,"iconIdx":3},{"icon":{"paths":["M511.962 25.43c19.195 0 34.755 15.56 34.755 34.755v576.438l114.445-114.443c13.571-13.573 35.576-13.573 49.152 0 13.571 13.573 13.571 35.579 0 49.149l-173.777 173.778c-6.518 6.516-15.358 10.181-24.575 10.181s-18.058-3.665-24.575-10.181l-173.775-173.778c-13.573-13.571-13.573-35.576 0-49.149s35.579-13.573 49.151 0l114.445 114.443v-576.438c0-19.195 15.56-34.755 34.755-34.755zM251.337 372.98c-13.826 0-27.086 5.492-36.863 15.269s-15.269 23.037-15.269 36.863v451.817c0 13.824 5.492 27.087 15.269 36.864s23.037 15.268 36.863 15.268h521.328c13.824 0 27.082-5.492 36.859-15.268 9.782-9.777 15.274-23.040 15.274-36.864v-451.817c0-13.827-5.492-27.086-15.274-36.863-9.777-9.777-23.035-15.269-36.859-15.269h-86.889c-19.197 0-34.757-15.56-34.757-34.755s15.559-34.755 34.757-34.755h86.889c32.261 0 63.202 12.816 86.011 35.628 22.814 22.813 35.63 53.752 35.63 86.014v451.817c0 32.261-12.816 63.202-35.63 86.011-22.808 22.814-53.749 35.63-86.011 35.63h-521.328c-32.261 0-63.202-12.816-86.014-35.63-22.812-22.808-35.628-53.749-35.628-86.011v-451.817c0-32.262 12.816-63.202 35.628-86.014s53.753-35.628 86.014-35.628h86.888c19.195 0 34.755 15.56 34.755 34.755s-15.56 34.755-34.755 34.755h-86.888z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["download"]},"attrs":[{}],"properties":{"order":26,"id":9,"name":"download","prevSize":32,"code":59658},"setIdx":0,"setId":0,"iconIdx":4},{"icon":{"paths":["M512 78.222c20.532 0 37.179 16.647 37.179 37.179v359.413h359.412c20.531 0 37.179 16.647 37.179 37.179s-16.647 37.179-37.179 37.179h-359.412v359.412c0 20.531-16.647 37.179-37.179 37.179s-37.179-16.647-37.179-37.179v-359.412h-359.412c-20.532 0-37.179-16.647-37.179-37.179s16.646-37.179 37.179-37.179h359.412v-359.413c0-20.532 16.647-37.179 37.179-37.179z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["plus"]},"attrs":[{}],"properties":{"order":20,"id":8,"name":"plus","prevSize":32,"code":59659},"setIdx":0,"setId":0,"iconIdx":5},{"icon":{"paths":["M359.523 76.938c15.458-15.458 36.42-24.138 58.282-24.138h188.39c21.857 0 42.821 8.685 58.28 24.138s24.14 36.42 24.14 58.282v105.97h200.165c19.507 0 35.325 15.814 35.325 35.325s-15.814 35.325-35.325 35.325h-14.207l-38.491 539.039c0 0.005 0 0 0 0-2.325 32.678-16.952 63.262-40.918 85.586-23.971 22.329-55.52 34.74-88.274 34.74h-389.776c-32.758 0-64.302-12.411-88.274-34.74-23.968-22.324-38.593-52.898-40.919-85.575 0 0 0.001 0.005 0 0l-38.489-539.049h-14.207c-19.508 0-35.325-15.814-35.325-35.325s15.814-35.325 35.325-35.325h200.165v-105.97c0-21.858 8.685-42.824 24.138-58.282zM406.030 241.19h211.94v-105.97c0-3.125-1.237-6.115-3.448-8.326s-5.203-3.449-8.327-3.449h-188.39c-3.125 0-6.115 1.239-8.326 3.449s-3.449 5.201-3.449 8.326v105.97zM220.255 311.835l38.134 534.021c1.059 14.848 7.705 28.763 18.601 38.906 10.896 10.149 25.232 15.792 40.125 15.792h389.776c14.894 0 29.23-5.644 40.127-15.792 10.893-10.143 17.537-24.048 18.599-38.901l38.132-534.023h-583.494zM417.805 429.58c19.508 0 35.325 15.814 35.325 35.325v282.585c0 19.507-15.814 35.325-35.325 35.325s-35.325-15.814-35.325-35.325v-282.585c0-19.508 15.814-35.325 35.325-35.325zM606.195 429.58c19.507 0 35.325 15.814 35.325 35.325v282.585c0 19.507-15.814 35.325-35.325 35.325s-35.325-15.814-35.325-35.325v-282.585c0-19.508 15.814-35.325 35.325-35.325z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["trash"]},"attrs":[{}],"properties":{"order":21,"id":7,"name":"trash","prevSize":32,"code":59660},"setIdx":0,"setId":0,"iconIdx":6},{"icon":{"paths":["M256 329.149c-48.5 0-95.006 19.265-129.302 53.551s-53.551 80.804-53.551 129.302c0 48.5 19.265 95.006 53.551 129.302s80.804 53.551 129.302 53.551h166.080v73.135h-166.080c-67.887 0-133.014-26.968-181.017-74.983-48.012-48.012-74.983-113.125-74.983-181.017s26.969-133.014 74.983-181.017c48.013-48.013 113.125-74.983 181.017-74.983h163.218v73.135h-163.218zM604.782 256.009h163.218c67.893 0 133.014 26.969 181.017 74.983s74.983 113.125 74.983 181.017c0 67.887-26.968 133.014-74.983 181.017s-113.124 74.983-181.017 74.983h-166.077v-73.135h166.077c48.5 0 95.006-19.265 129.302-53.551s53.557-80.804 53.557-129.302-19.266-95.006-53.557-129.302c-34.291-34.291-80.797-53.551-129.302-53.551h-163.218v-73.135zM276.729 475.44h475.111v73.135h-475.111v-73.135z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["chain"]},"attrs":[{}],"properties":{"order":17,"id":6,"name":"chain","prevSize":32,"code":59648},"setIdx":0,"setId":0,"iconIdx":7},{"icon":{"paths":["M792.037 191.861c15.223 13.267 16.809 36.376 3.53 51.6l-310.858 356.568c-13.267 15.225-36.376 16.809-51.6 3.533s-16.809-36.376-3.533-51.6l310.858-356.568c13.267-15.225 36.371-16.809 51.601-3.533zM1011.51 191.906c15.204 13.303 16.739 36.404 3.437 51.607l-512.003 585.144c-6.666 7.618-16.188 12.131-26.307 12.47s-19.921-3.534-27.078-10.692l-219.432-219.429c-14.283-14.283-14.283-37.438 0-51.721s37.438-14.283 51.721 0l191.788 191.788 486.258-555.723c13.299-15.204 36.404-16.74 51.607-3.438zM10.712 559.285c14.283-14.283 37.438-14.283 51.721 0l219.432 219.432c14.283 14.284 14.283 37.434 0 51.717s-37.438 14.284-51.721 0l-219.432-219.429c-14.283-14.283-14.283-37.438 0-51.721z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["check"]},"attrs":[{}],"properties":{"order":16,"id":5,"name":"check","prevSize":32,"code":59649},"setIdx":0,"setId":0,"iconIdx":8},{"icon":{"paths":["M250.33 132.561c0-15.84 12.837-28.682 28.682-28.682h465.972c15.84 0 28.682 12.837 28.682 28.682s-12.835 28.682-28.682 28.682h-465.972c-15.84 0-28.682-12.837-28.682-28.682zM183.764 232.409c0-15.84 12.837-28.682 28.682-28.682h599.106c15.84 0 28.682 12.837 28.682 28.682s-12.835 28.682-28.682 28.682h-599.106c-15.84 0-28.682-12.837-28.682-28.682zM172.651 387.584c-17.326 0-31.377 14.051-31.377 31.377v412.432c0 17.326 14.051 31.379 31.377 31.379h678.696c17.326 0 31.379-14.053 31.379-31.379v-412.432c0-17.326-14.053-31.377-31.379-31.377h-678.696zM83.91 418.961c0-49.004 39.726-88.741 88.741-88.741h678.696c49.004 0 88.742 39.727 88.742 88.741v412.432c0 49.004-39.73 88.738-88.742 88.738h-678.696c-49.004 0-88.741-39.725-88.741-88.738v-412.432z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["copy"]},"attrs":[{}],"properties":{"order":15,"id":4,"name":"copy","prevSize":32,"code":59650},"setIdx":0,"setId":0,"iconIdx":9},{"icon":{"paths":["M121.495 162.716c-19.331 19.046-27.443 37.365-27.443 54.261s8.112 35.215 27.443 54.261c19.419 19.127 48.781 37.488 87.038 53.432 76.419 31.844 183.694 52.118 303.463 52.118s227.045-20.273 303.467-52.118c38.262-15.943 67.622-34.303 87.034-53.432 19.333-19.046 27.445-37.365 27.445-54.261s-8.112-35.215-27.445-54.261c-19.419-19.127-48.78-37.488-87.034-53.432-76.421-31.844-183.696-52.118-303.467-52.118s-227.044 20.273-303.463 52.118c-38.266 15.943-67.627 34.303-87.038 53.432zM189.621 63.9c83.75-34.893 197.736-55.9 322.378-55.9s238.629 21.007 322.379 55.9c41.819 17.422 77.269 38.798 102.635 63.787 25.456 25.076 42.114 55.265 42.114 89.289s-16.657 64.214-42.114 89.289c-25.365 24.989-60.816 46.365-102.635 63.787-83.75 34.893-197.738 55.9-322.379 55.9s-238.627-21.007-322.378-55.9c-41.819-17.422-77.269-38.798-102.638-63.787-25.455-25.076-42.112-55.265-42.112-89.289s16.655-64.214 42.112-89.289c25.367-24.989 60.819-46.365 102.638-63.787z","M69.459 390.611c13.576 0 24.588 11.005 24.588 24.588 0 16.89 8.114 35.207 27.454 54.254 19.429 19.13 48.793 37.488 87.064 53.435 76.433 31.846 183.709 52.119 303.436 52.119 119.723 0 227.003-20.272 303.436-52.119 38.272-15.948 67.637-34.303 87.060-53.435 19.344-19.047 27.456-37.365 27.456-54.254 0-13.576 11.008-24.588 24.588-24.588s24.588 11.005 24.588 24.588c0 34.027-16.663 64.217-42.122 89.289-25.376 24.986-60.826 46.362-102.657 63.787-83.758 34.895-197.749 55.9-322.339 55.9s-238.585-21.004-322.339-55.9c-41.824-17.423-77.278-38.799-102.658-63.787-25.463-25.073-42.122-55.263-42.122-89.289 0-13.576 11.005-24.588 24.588-24.588zM69.459 588.828c13.576 0 24.588 11.008 24.588 24.588 0 16.891 8.114 35.206 27.454 54.256 19.429 19.124 48.793 37.488 87.064 53.435 76.433 31.846 183.709 52.119 303.436 52.119 119.723 0 227.003-20.272 303.436-52.119 38.272-15.948 67.637-34.303 87.060-53.435 19.344-19.051 27.456-37.366 27.456-54.256 0-13.576 11.008-24.588 24.588-24.588s24.588 11.008 24.588 24.588c0 34.027-16.663 64.215-42.122 89.292-25.376 24.986-60.826 46.362-102.657 63.787-83.758 34.895-197.749 55.905-322.339 55.905s-238.585-21.009-322.339-55.905c-41.824-17.419-77.278-38.794-102.658-63.787-25.463-25.077-42.122-55.264-42.122-89.292 0-13.576 11.005-24.588 24.588-24.588z","M69.459 190.639c13.576 0 24.588 11.004 24.588 24.588v593.554c0 16.56 8.032 34.622 27.373 53.488 19.418 18.938 48.79 37.131 87.073 52.929 76.452 31.551 183.759 51.637 303.505 51.637 119.749 0 227.056-20.085 303.508-51.637 38.282-15.796 67.653-33.988 87.067-52.929 19.338-18.865 27.373-36.929 27.373-53.488v-593.554c0-13.576 11.008-24.588 24.588-24.588s24.588 11.004 24.588 24.588v593.554c0 33.871-16.741 63.85-42.209 88.687-25.381 24.762-60.837 45.925-102.651 63.178-83.734 34.555-197.696 55.354-322.267 55.354s-238.533-20.801-322.267-55.354c-41.808-17.253-77.268-38.416-102.651-63.178-25.465-24.837-42.207-54.817-42.207-88.687v-593.554c0-13.576 11.005-24.588 24.588-24.588z"],"attrs":[{},{},{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["database"]},"attrs":[{},{},{}],"properties":{"order":12,"id":3,"name":"database","prevSize":32,"code":59651},"setIdx":0,"setId":0,"iconIdx":10},{"icon":{"paths":["M27.42 269.71c0-22.305 18.072-40.379 40.379-40.379h888.384c22.304 0 40.379 18.072 40.379 40.379s-18.072 40.379-40.379 40.379h-888.384c-22.305 0-40.379-18.072-40.379-40.379zM27.42 512c0-22.305 18.072-40.379 40.379-40.379h888.384c22.304 0 40.379 18.072 40.379 40.379s-18.072 40.379-40.379 40.379h-888.384c-22.305 0-40.379-18.072-40.379-40.379zM27.42 754.29c0-22.304 18.072-40.379 40.379-40.379h888.384c22.304 0 40.379 18.072 40.379 40.379s-18.072 40.379-40.379 40.379h-888.384c-22.305 0-40.379-18.072-40.379-40.379z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["menu"]},"attrs":[{}],"properties":{"order":13,"id":2,"name":"menu","prevSize":32,"code":59652},"setIdx":0,"setId":0,"iconIdx":11},{"icon":{"paths":["M539.877 37.074l187.33 218.553-187.33 218.554-54.614-46.813 133.099-155.28c-1.285-0.159-2.633-0.319-4.057-0.476-20.927-2.322-53.269-3.996-102.306-3.996-64.020 0-126.601 18.984-179.833 54.552s-94.718 86.121-119.218 145.267c-24.499 59.146-30.909 124.229-18.42 187.020s43.318 120.466 88.587 165.734c45.269 45.268 102.945 76.098 165.735 88.586 62.789 12.492 127.873 6.081 187.019-18.419s109.7-65.985 145.267-119.219c35.568-53.229 54.553-115.809 54.553-179.833v-35.965h71.931v35.965c0 78.247-23.205 154.738-66.676 219.798s-105.259 115.766-177.55 145.709c-72.286 29.948-151.834 37.779-228.578 22.515s-147.236-52.946-202.565-108.271c-55.329-55.329-93.008-125.822-108.273-202.568-15.265-76.741-7.431-156.287 22.513-228.578s80.651-134.078 145.712-177.549c65.059-43.472 141.549-66.674 219.796-66.674 27.767 0 50.965 0.518 70.327 1.443l-97.063-113.24 54.614-46.812z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["refresh"]},"attrs":[{}],"properties":{"order":14,"id":0,"name":"refresh","prevSize":32,"code":59653},"setIdx":0,"setId":0,"iconIdx":12}],"height":1024,"metadata":{"name":"icomoon"},"preferences":{"showGlyphs":true,"showQuickUse":true,"showQuickUse2":true,"showSVGs":true,"fontPref":{"prefix":"icon-","metadata":{"fontFamily":"icomoon","majorVersion":1,"minorVersion":0},"metrics":{"emSize":1024,"baseline":6.25,"whitespace":50},"embed":false,"autoHost":true,"showSelector":true,"showMetadata":true,"showVersion":true,"showMetrics":true},"imagePref":{"prefix":"icon-","png":true,"useClassSelector":true,"color":0,"bgColor":16777215,"classSelector":".icon","name":"icomoon"},"historySize":50,"showCodes":true,"gridSize":16,"quickUsageToken":{"UntitledProject":"NjdjZjc5NTEzMCMxNzQ0OTAzNjM5I09RUkhHVFlCWjd1ZTFicnRsNWNEaWU4RHMzV0JITldaNmk1UXJlN2FyM3lM"}}}
@@ -0,0 +1,29 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ // Ruta del archivo CSS
5
+ const cssPath = path.resolve(__dirname, './icons.css');
6
+ // Ruta de salida del archivo TypeScript generado
7
+ const outputPath = path.resolve(__dirname, './iconList.ts');
8
+
9
+ // Leer el contenido del archivo CSS
10
+ const css = fs.readFileSync(cssPath, 'utf-8');
11
+
12
+ // Extraer las clases que usan ":before"
13
+ const matches = Array.from(css.matchAll(/\.([a-zA-Z0-9_-]+):before/g));
14
+ const classNames = matches.map(match => match[1]);
15
+
16
+ // Crear el contenido del archivo TypeScript
17
+ const tsContent = `// Auto-generated from $lib/do-theme/icomoon/icons.css by generate-icon-list.cjs
18
+ // run [ node generate-icon-list.cjs ]
19
+
20
+ const iconList = ${JSON.stringify(classNames, null, 2)} as const;
21
+
22
+ export default iconList;
23
+ export type IconNames = typeof iconList[number];
24
+ `;
25
+
26
+ // Escribir el archivo .ts
27
+ fs.writeFileSync(outputPath, tsContent, 'utf-8');
28
+
29
+ console.log(`✅ Archivo generado: ${outputPath}`);
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="chain" d="M256 630.851c-48.5 0-95.006-19.265-129.302-53.551s-53.551-80.804-53.551-129.302c0-48.5 19.265-95.006 53.551-129.302s80.804-53.551 129.302-53.551h166.080v-73.135h-166.080c-67.887 0-133.014 26.968-181.017 74.983-48.012 48.012-74.983 113.125-74.983 181.017s26.969 133.014 74.983 181.017c48.013 48.013 113.125 74.983 181.017 74.983h163.218v-73.135h-163.218zM604.782 703.991h163.218c67.893 0 133.014-26.969 181.017-74.983s74.983-113.125 74.983-181.017c0-67.887-26.968-133.014-74.983-181.017s-113.124-74.983-181.017-74.983h-166.077v73.135h166.077c48.5 0 95.006 19.265 129.302 53.551s53.557 80.804 53.557 129.302-19.266 95.006-53.557 129.302c-34.291 34.291-80.797 53.551-129.302 53.551h-163.218v73.135zM276.729 484.56h475.111v-73.135h-475.111v73.135z" />
11
+ <glyph unicode="&#xe901;" glyph-name="check" d="M792.037 768.139c15.223-13.267 16.809-36.376 3.53-51.6l-310.858-356.568c-13.267-15.225-36.376-16.809-51.6-3.533s-16.809 36.376-3.533 51.6l310.858 356.568c13.267 15.225 36.371 16.809 51.601 3.533zM1011.51 768.094c15.204-13.303 16.739-36.404 3.437-51.607l-512.003-585.144c-6.666-7.618-16.188-12.131-26.307-12.47s-19.921 3.534-27.078 10.692l-219.432 219.429c-14.283 14.283-14.283 37.438 0 51.721s37.438 14.283 51.721 0l191.788-191.788 486.258 555.723c13.299 15.204 36.404 16.74 51.607 3.438zM10.712 400.715c14.283 14.283 37.438 14.283 51.721 0l219.432-219.432c14.283-14.284 14.283-37.434 0-51.717s-37.438-14.284-51.721 0l-219.432 219.429c-14.283 14.283-14.283 37.438 0 51.721z" />
12
+ <glyph unicode="&#xe902;" glyph-name="copy" d="M250.33 827.439c0 15.84 12.837 28.682 28.682 28.682h465.972c15.84 0 28.682-12.837 28.682-28.682s-12.835-28.682-28.682-28.682h-465.972c-15.84 0-28.682 12.837-28.682 28.682zM183.764 727.591c0 15.84 12.837 28.682 28.682 28.682h599.106c15.84 0 28.682-12.837 28.682-28.682s-12.835-28.682-28.682-28.682h-599.106c-15.84 0-28.682 12.837-28.682 28.682zM172.651 572.416c-17.326 0-31.377-14.051-31.377-31.377v-412.432c0-17.326 14.051-31.379 31.377-31.379h678.696c17.326 0 31.379 14.053 31.379 31.379v412.432c0 17.326-14.053 31.377-31.379 31.377h-678.696zM83.91 541.039c0 49.004 39.726 88.741 88.741 88.741h678.696c49.004 0 88.742-39.727 88.742-88.741v-412.432c0-49.004-39.73-88.738-88.742-88.738h-678.696c-49.004 0-88.741 39.725-88.741 88.738v412.432z" />
13
+ <glyph unicode="&#xe903;" glyph-name="database" d="M121.495 797.284c-19.331-19.046-27.443-37.365-27.443-54.261s8.112-35.215 27.443-54.261c19.419-19.127 48.781-37.488 87.038-53.432 76.419-31.844 183.694-52.118 303.463-52.118s227.045 20.273 303.467 52.118c38.262 15.943 67.622 34.303 87.034 53.432 19.333 19.046 27.445 37.365 27.445 54.261s-8.112 35.215-27.445 54.261c-19.419 19.127-48.78 37.488-87.034 53.432-76.421 31.844-183.696 52.118-303.467 52.118s-227.044-20.273-303.463-52.118c-38.266-15.943-67.627-34.303-87.038-53.432zM189.621 896.1c83.75 34.893 197.736 55.9 322.378 55.9s238.629-21.007 322.379-55.9c41.819-17.422 77.269-38.798 102.635-63.787 25.456-25.076 42.114-55.265 42.114-89.289s-16.657-64.214-42.114-89.289c-25.365-24.989-60.816-46.365-102.635-63.787-83.75-34.893-197.738-55.9-322.379-55.9s-238.627 21.007-322.378 55.9c-41.819 17.422-77.269 38.798-102.638 63.787-25.455 25.076-42.112 55.265-42.112 89.289s16.655 64.214 42.112 89.289c25.367 24.989 60.819 46.365 102.638 63.787zM69.459 569.389c13.576 0 24.588-11.005 24.588-24.588 0-16.89 8.114-35.207 27.454-54.254 19.429-19.13 48.793-37.488 87.064-53.435 76.433-31.846 183.709-52.119 303.436-52.119 119.723 0 227.003 20.272 303.436 52.119 38.272 15.948 67.637 34.303 87.060 53.435 19.344 19.047 27.456 37.365 27.456 54.254 0 13.576 11.008 24.588 24.588 24.588s24.588-11.005 24.588-24.588c0-34.027-16.663-64.217-42.122-89.289-25.376-24.986-60.826-46.362-102.657-63.787-83.758-34.895-197.749-55.9-322.339-55.9s-238.585 21.004-322.339 55.9c-41.824 17.423-77.278 38.799-102.658 63.787-25.463 25.073-42.122 55.263-42.122 89.289 0 13.576 11.005 24.588 24.588 24.588zM69.459 371.172c13.576 0 24.588-11.008 24.588-24.588 0-16.891 8.114-35.206 27.454-54.256 19.429-19.124 48.793-37.488 87.064-53.435 76.433-31.846 183.709-52.119 303.436-52.119 119.723 0 227.003 20.272 303.436 52.119 38.272 15.948 67.637 34.303 87.060 53.435 19.344 19.051 27.456 37.366 27.456 54.256 0 13.576 11.008 24.588 24.588 24.588s24.588-11.008 24.588-24.588c0-34.027-16.663-64.215-42.122-89.292-25.376-24.986-60.826-46.362-102.657-63.787-83.758-34.895-197.749-55.905-322.339-55.905s-238.585 21.009-322.339 55.905c-41.824 17.419-77.278 38.794-102.658 63.787-25.463 25.077-42.122 55.264-42.122 89.292 0 13.576 11.005 24.588 24.588 24.588zM69.459 769.361c13.576 0 24.588-11.004 24.588-24.588v-593.554c0-16.56 8.032-34.622 27.373-53.488 19.418-18.938 48.79-37.131 87.073-52.929 76.452-31.551 183.759-51.637 303.505-51.637 119.749 0 227.056 20.085 303.508 51.637 38.282 15.796 67.653 33.988 87.067 52.929 19.338 18.865 27.373 36.929 27.373 53.488v593.554c0 13.576 11.008 24.588 24.588 24.588s24.588-11.004 24.588-24.588v-593.554c0-33.871-16.741-63.85-42.209-88.687-25.381-24.762-60.837-45.925-102.651-63.178-83.734-34.555-197.696-55.354-322.267-55.354s-238.533 20.801-322.267 55.354c-41.808 17.253-77.268 38.416-102.651 63.178-25.465 24.837-42.207 54.817-42.207 88.687v593.554c0 13.576 11.005 24.588 24.588 24.588z" />
14
+ <glyph unicode="&#xe904;" glyph-name="menu" d="M27.42 690.29c0 22.305 18.072 40.379 40.379 40.379h888.384c22.304 0 40.379-18.072 40.379-40.379s-18.072-40.379-40.379-40.379h-888.384c-22.305 0-40.379 18.072-40.379 40.379zM27.42 448c0 22.305 18.072 40.379 40.379 40.379h888.384c22.304 0 40.379-18.072 40.379-40.379s-18.072-40.379-40.379-40.379h-888.384c-22.305 0-40.379 18.072-40.379 40.379zM27.42 205.71c0 22.304 18.072 40.379 40.379 40.379h888.384c22.304 0 40.379-18.072 40.379-40.379s-18.072-40.379-40.379-40.379h-888.384c-22.305 0-40.379 18.072-40.379 40.379z" />
15
+ <glyph unicode="&#xe905;" glyph-name="refresh" d="M539.877 922.926l187.33-218.553-187.33-218.554-54.614 46.813 133.099 155.28c-1.285 0.159-2.633 0.319-4.057 0.476-20.927 2.322-53.269 3.996-102.306 3.996-64.020 0-126.601-18.984-179.833-54.552s-94.718-86.121-119.218-145.267c-24.499-59.146-30.909-124.229-18.42-187.020s43.318-120.466 88.587-165.734c45.269-45.268 102.945-76.098 165.735-88.586 62.789-12.492 127.873-6.081 187.019 18.419s109.7 65.985 145.267 119.219c35.568 53.229 54.553 115.809 54.553 179.833v35.965h71.931v-35.965c0-78.247-23.205-154.738-66.676-219.798s-105.259-115.766-177.55-145.709c-72.286-29.948-151.834-37.779-228.578-22.515s-147.236 52.946-202.565 108.271c-55.329 55.329-93.008 125.822-108.273 202.568-15.265 76.741-7.431 156.287 22.513 228.578s80.651 134.078 145.712 177.549c65.059 43.472 141.549 66.674 219.796 66.674 27.767 0 50.965-0.518 70.327-1.443l-97.063 113.24 54.614 46.812z" />
16
+ <glyph unicode="&#xe906;" glyph-name="contrast" d="M511.187 913.577c-91.922-0.002-181.779-27.262-258.206-78.33s-135.999-123.655-171.176-208.58c-35.178-84.925-44.379-178.374-26.449-268.526 17.933-90.157 62.195-172.97 127.192-237.971 43.081-43.506 94.332-78.072 150.813-101.708 56.481-23.642 117.072-35.883 178.297-36.040 61.23-0.149 121.881 11.8 178.475 35.159 56.597 23.364 108.017 57.676 151.311 100.97s77.606 94.716 100.965 151.311c23.364 56.597 35.308 117.245 35.159 178.475-0.149 61.225-12.394 121.819-36.036 178.297-23.637 56.481-58.207 107.732-101.708 150.812-43.059 43.294-94.273 77.617-150.683 100.985-56.415 23.366-116.895 35.313-177.957 35.147zM112.814 448.809c0 219.665 178.707 398.372 398.373 398.372v-796.746c-219.666 0-398.373 178.705-398.373 398.374z" />
17
+ <glyph unicode="&#xe907;" glyph-name="arrow" d="M513.856 867.344c16.873 16.873 44.223 16.873 61.096 0l388.798-388.8c16.874-16.873 16.874-44.223 0-61.096l-388.798-388.798c-16.873-16.874-44.223-16.874-61.096 0s-16.873 44.219 0 61.092l315.052 315.057h-738.102c-23.858 0-43.2 19.342-43.2 43.2s19.342 43.2 43.2 43.2h738.102l-315.052 315.055c-16.873 16.873-16.873 44.223 0 61.096z" />
18
+ <glyph unicode="&#xe908;" glyph-name="arrows-up-down" d="M480.789 891.076c17.236 17.236 45.17 17.236 62.407 0l235.353-235.356c17.237-17.236 17.237-45.17 0-62.407-17.234-17.236-45.17-17.236-62.405 0l-204.145 204.145-204.145-204.145c-17.236-17.236-45.17-17.236-62.407 0s-17.236 45.17 0 62.407l235.356 235.356zM245.439 302.682c17.236 17.237 45.17 17.237 62.407 0l204.145-204.145 204.145 204.145c17.236 17.237 45.17 17.237 62.405 0 17.237-17.237 17.237-45.17 0-62.403l-235.353-235.356c-17.236-17.237-45.17-17.237-62.407 0l-235.356 235.356c-17.236 17.237-17.236 45.17 0 62.403z" />
19
+ <glyph unicode="&#xe909;" glyph-name="chevron-down" d="M79.239 680.143c17.41 17.41 45.638 17.41 63.050 0l369.719-369.719 369.719 369.719c17.412 17.41 45.631 17.41 63.043 0s17.412-45.638 0-63.050l-401.234-401.236c-17.41-17.41-45.638-17.41-63.050 0l-401.236 401.236c-17.41 17.41-17.41 45.638 0 63.050z" />
20
+ <glyph unicode="&#xe90a;" glyph-name="download" d="M511.962 934.57c19.195 0 34.755-15.56 34.755-34.755v-576.438l114.445 114.443c13.571 13.573 35.576 13.573 49.152 0 13.571-13.573 13.571-35.579 0-49.149l-173.777-173.778c-6.518-6.516-15.358-10.181-24.575-10.181s-18.058 3.665-24.575 10.181l-173.775 173.778c-13.573 13.571-13.573 35.576 0 49.149s35.579 13.573 49.151 0l114.445-114.443v576.438c0 19.195 15.56 34.755 34.755 34.755zM251.337 587.020c-13.826 0-27.086-5.492-36.863-15.269s-15.269-23.037-15.269-36.863v-451.817c0-13.824 5.492-27.087 15.269-36.864s23.037-15.268 36.863-15.268h521.328c13.824 0 27.082 5.492 36.859 15.268 9.782 9.777 15.274 23.040 15.274 36.864v451.817c0 13.827-5.492 27.086-15.274 36.863-9.777 9.777-23.035 15.269-36.859 15.269h-86.889c-19.197 0-34.757 15.56-34.757 34.755s15.559 34.755 34.757 34.755h86.889c32.261 0 63.202-12.816 86.011-35.628 22.814-22.813 35.63-53.752 35.63-86.014v-451.817c0-32.261-12.816-63.202-35.63-86.011-22.808-22.814-53.749-35.63-86.011-35.63h-521.328c-32.261 0-63.202 12.816-86.014 35.63-22.812 22.808-35.628 53.749-35.628 86.011v451.817c0 32.262 12.816 63.202 35.628 86.014s53.753 35.628 86.014 35.628h86.888c19.195 0 34.755-15.56 34.755-34.755s-15.56-34.755-34.755-34.755h-86.888z" />
21
+ <glyph unicode="&#xe90b;" glyph-name="plus" d="M512 881.778c20.532 0 37.179-16.647 37.179-37.179v-359.413h359.412c20.531 0 37.179-16.647 37.179-37.179s-16.647-37.179-37.179-37.179h-359.412v-359.412c0-20.531-16.647-37.179-37.179-37.179s-37.179 16.647-37.179 37.179v359.412h-359.412c-20.532 0-37.179 16.647-37.179 37.179s16.646 37.179 37.179 37.179h359.412v359.413c0 20.532 16.647 37.179 37.179 37.179z" />
22
+ <glyph unicode="&#xe90c;" glyph-name="trash" d="M359.523 883.062c15.458 15.458 36.42 24.138 58.282 24.138h188.39c21.857 0 42.821-8.685 58.28-24.138s24.14-36.42 24.14-58.282v-105.97h200.165c19.507 0 35.325-15.814 35.325-35.325s-15.814-35.325-35.325-35.325h-14.207l-38.491-539.039c0-0.005 0 0 0 0-2.325-32.678-16.952-63.262-40.918-85.586-23.971-22.329-55.52-34.74-88.274-34.74h-389.776c-32.758 0-64.302 12.411-88.274 34.74-23.968 22.324-38.593 52.898-40.919 85.575 0 0 0.001-0.005 0 0l-38.489 539.049h-14.207c-19.508 0-35.325 15.814-35.325 35.325s15.814 35.325 35.325 35.325h200.165v105.97c0 21.858 8.685 42.824 24.138 58.282zM406.030 718.81h211.94v105.97c0 3.125-1.237 6.115-3.448 8.326s-5.203 3.449-8.327 3.449h-188.39c-3.125 0-6.115-1.239-8.326-3.449s-3.449-5.201-3.449-8.326v-105.97zM220.255 648.165l38.134-534.021c1.059-14.848 7.705-28.763 18.601-38.906 10.896-10.149 25.232-15.792 40.125-15.792h389.776c14.894 0 29.23 5.644 40.127 15.792 10.893 10.143 17.537 24.048 18.599 38.901l38.132 534.023h-583.494zM417.805 530.42c19.508 0 35.325-15.814 35.325-35.325v-282.585c0-19.507-15.814-35.325-35.325-35.325s-35.325 15.814-35.325 35.325v282.585c0 19.508 15.814 35.325 35.325 35.325zM606.195 530.42c19.507 0 35.325-15.814 35.325-35.325v-282.585c0-19.507-15.814-35.325-35.325-35.325s-35.325 15.814-35.325 35.325v282.585c0 19.508 15.814 35.325 35.325 35.325z" />
23
+ </font></defs></svg>
@@ -0,0 +1,3 @@
1
+ declare const iconList: readonly ["icon-contrast", "icon-arrow", "icon-arrows-up-down", "icon-chevron-down", "icon-download", "icon-plus", "icon-trash", "icon-chain", "icon-check", "icon-copy", "icon-database", "icon-menu", "icon-refresh"];
2
+ export default iconList;
3
+ export type IconNames = typeof iconList[number];
@@ -0,0 +1,18 @@
1
+ // Auto-generated from $lib/do-theme/icomoon/icons.css by generate-icon-list.cjs
2
+ // run [ node generate-icon-list.cjs ]
3
+ const iconList = [
4
+ "icon-contrast",
5
+ "icon-arrow",
6
+ "icon-arrows-up-down",
7
+ "icon-chevron-down",
8
+ "icon-download",
9
+ "icon-plus",
10
+ "icon-trash",
11
+ "icon-chain",
12
+ "icon-check",
13
+ "icon-copy",
14
+ "icon-database",
15
+ "icon-menu",
16
+ "icon-refresh"
17
+ ];
18
+ export default iconList;
@@ -0,0 +1,66 @@
1
+ @font-face {
2
+ font-family: 'icomoon';
3
+ src: url('icomoon.eot?98wrl4');
4
+ src: url('icomoon.eot?98wrl4#iefix') format('embedded-opentype'),
5
+ url('icomoon.ttf?98wrl4') format('truetype'),
6
+ url('icomoon.woff?98wrl4') format('woff'),
7
+ url('icomoon.svg?98wrl4#icomoon') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ font-display: block;
11
+ }
12
+
13
+ [class^="icon-"], [class*=" icon-"] {
14
+ /* use !important to prevent issues with browser extensions that change fonts */
15
+ font-family: 'icomoon' !important;
16
+ speak: never;
17
+ font-style: normal;
18
+ font-weight: normal;
19
+ font-variant: normal;
20
+ text-transform: none;
21
+ line-height: 1;
22
+
23
+ /* Better Font Rendering =========== */
24
+ -webkit-font-smoothing: antialiased;
25
+ -moz-osx-font-smoothing: grayscale;
26
+ }
27
+
28
+ .icon-contrast:before {
29
+ content: "\e906";
30
+ }
31
+ .icon-arrow:before {
32
+ content: "\e907";
33
+ }
34
+ .icon-arrows-up-down:before {
35
+ content: "\e908";
36
+ }
37
+ .icon-chevron-down:before {
38
+ content: "\e909";
39
+ }
40
+ .icon-download:before {
41
+ content: "\e90a";
42
+ }
43
+ .icon-plus:before {
44
+ content: "\e90b";
45
+ }
46
+ .icon-trash:before {
47
+ content: "\e90c";
48
+ }
49
+ .icon-chain:before {
50
+ content: "\e900";
51
+ }
52
+ .icon-check:before {
53
+ content: "\e901";
54
+ }
55
+ .icon-copy:before {
56
+ content: "\e902";
57
+ }
58
+ .icon-database:before {
59
+ content: "\e903";
60
+ }
61
+ .icon-menu:before {
62
+ content: "\e904";
63
+ }
64
+ .icon-refresh:before {
65
+ content: "\e905";
66
+ }
@@ -0,0 +1,29 @@
1
+ @plugin "daisyui";
2
+
3
+ @import "./var-light.css";
4
+ @import "./var-dark.css";
5
+ @import "./var-hybrid.css";
6
+ @import "./button.css";
7
+ @import "./border.css";
8
+ @import "./color.css";
9
+ @import "./icomoon/icons.css";
10
+
11
+ /*
12
+ There are 2 ways to modify themes (light [default] and dark):
13
+
14
+ Specifying variables for each theme:
15
+ @plugin "daisyui/theme" {
16
+ name: "light" | "dark";
17
+ default: true;
18
+ --daisy-variable: some value;
19
+ }
20
+
21
+ Specifying classes for each theme:
22
+ [data-theme="dark"] {
23
+ .daisy-class {
24
+ background-color: red;
25
+ }
26
+ }
27
+
28
+ For more info and variables: https://daisyui.com/docs/themes/
29
+ */