|
1 |
| -## Colors and Themes |
| 1 | +# @spuxx/solid |
2 | 2 |
|
3 |
| -### Custom Colors |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
4 | 8 |
|
5 |
| -Types for default colors provided by `@spuxx/styles` are defined in [src/types/registry.ts](packages/solidsrc/types/registry.ts). |
6 |
| -Custom colors can be added in a type-safe way by extending the `ColorRegistry` interface. |
| 9 | +<!-- vscode-markdown-toc --> |
7 | 10 |
|
8 |
| -```ts |
9 |
| -import { Colors } from '@spuxx/solid'; |
| 11 | +- [Description](#Description) |
| 12 | +- [Documentation](#Documentation) |
| 13 | +- [Installation](#Installation) |
| 14 | +- [Links](#Links) |
10 | 15 |
|
11 |
| -declare module '@spuxx/solid' { |
12 |
| - interface ColorRegistry { |
13 |
| - myCustomColor: 'my-custom-color'; |
14 |
| - } |
15 |
| -} |
16 |
| -``` |
| 16 | +<!-- vscode-markdown-toc-config |
| 17 | + numbering=false |
| 18 | + autoSave=true |
| 19 | + /vscode-markdown-toc-config --> |
| 20 | +<!-- /vscode-markdown-toc --> |
| 21 | + |
| 22 | +## <a name='Description'></a>Description |
| 23 | + |
| 24 | +`@spuxx/solid` contains a selection of both primitive and composite components for SolidJS applications. It is primarily intended for my own use, but feel free to use it in your own projects. The components directly use the `@spuxx/browser-utils` package for styling and other utilities. In addition, the library bundles a couple of third-party components such as: |
| 25 | + |
| 26 | +- [@corvu/dialog](https://corvu.dev/docs/primitives/dialog/) |
| 27 | + |
| 28 | +## <a name='Documentation'></a>Documentation |
| 29 | + |
| 30 | +Documentation can be found [here](https://spuxx-dev.github.io/jslibs/solid). |
| 31 | + |
| 32 | +## <a name='Installation'></a>Installation |
| 33 | + |
| 34 | +Depending on your package manager, run: |
| 35 | + |
| 36 | +- `npm install @spuxx/solid` (npm) |
| 37 | +- `pnpm install @spuxx/solid` (pnpm) |
| 38 | + |
| 39 | +## <a name='Links'></a>Links |
| 40 | + |
| 41 | +- [About me](https://spuxx.dev/) |
| 42 | +- [Documentation](https://spuxx-dev.github.io/jslibs/solid) |
| 43 | +- [Source](https://github.com/spuxx-dev/jslibs) |
| 44 | +- [NPM](https://www.npmjs.com/package/@spuxx/solid) |
| 45 | +- [Buy me a coffee](https://buymeacoffee.com/spuxx) ☕️ |
0 commit comments