@skeletonlabs/skeleton 4.0.0-next.4 → 4.0.0-next.6
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 +2 -48
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -1,57 +1,11 @@
|
|
|
1
1
|
# Skeleton
|
|
2
2
|
|
|
3
|
-
This repository contains all the stylesheets for the Skeleton package.
|
|
4
|
-
|
|
5
3
|
## Installation
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
pnpm add @skeletonlabs/skeleton
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
1. Import our base stylesheet _after_ the tailwind import:
|
|
14
|
-
|
|
15
|
-
```css
|
|
16
|
-
@import 'tailwindcss';
|
|
17
|
-
@import '@skeletonlabs/skeleton'; /* Add Skeleton Stylesheet */
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. Import a prebuild or custom theme _after_ the base skeleton import:
|
|
21
|
-
|
|
22
|
-
```css
|
|
23
|
-
@import 'tailwindcss';
|
|
24
|
-
@import '@skeletonlabs/skeleton';
|
|
25
|
-
@import '@skeletonlabs/skeleton/themes/cerberus'; /* Add Skeleton Theme */
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
3. Set your imported theme in your HTML root:
|
|
29
|
-
|
|
30
|
-
```html
|
|
31
|
-
<html data-theme="cerberus">
|
|
32
|
-
<!-- Add Skeleton Theme -->
|
|
33
|
-
<!-- ... -->
|
|
34
|
-
</html>
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
4. Enjoy Skeleton! Visit [the documentation](https://skeleton.dev/) for any questions.
|
|
38
|
-
|
|
39
|
-
## Project Setup
|
|
40
|
-
|
|
41
|
-
This project uses [Vite](https://vite.dev/) as the build tool. To author our CSS stylesheets in an efficient way we utilize [Sass](https://sass-lang.com/) for handling things like loops and shared variables. This is merely a build tool so we will never author actual Sass, we're a Tailwind library after all.
|
|
42
|
-
|
|
43
|
-
## Project Structure
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
src/
|
|
47
|
-
├── base/ # Core styles, color definitions, and base configurations
|
|
48
|
-
├── components/ # Component-specific classes
|
|
49
|
-
├── internal/ # Internal utilities, constants, and shared resources
|
|
50
|
-
├── themes/ # All official Skeleton themes
|
|
51
|
-
├── utilities/ # Tailwind utilities
|
|
52
|
-
└── variants/ # Tailwind variants
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## License
|
|
9
|
+
## Documentation
|
|
56
10
|
|
|
57
|
-
|
|
11
|
+
Explore the full documentation at [skeleton.dev](https://skeleton.dev/).
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.6",
|
|
4
|
+
"description": "The TailwindCSS package for Skeleton.",
|
|
5
|
+
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
4
6
|
"repository": {
|
|
5
7
|
"type": "git",
|
|
6
|
-
"url": "https://github.com/skeletonlabs/skeleton.git"
|
|
8
|
+
"url": "git+https://github.com/skeletonlabs/skeleton.git",
|
|
9
|
+
"directory": "packages/skeleton"
|
|
7
10
|
},
|
|
8
11
|
"exports": {
|
|
9
12
|
".": {
|
|
@@ -26,8 +29,8 @@
|
|
|
26
29
|
"tinyglobby": "0.2.14",
|
|
27
30
|
"vite": "7.1.3"
|
|
28
31
|
},
|
|
29
|
-
"type": "module",
|
|
30
32
|
"license": "MIT",
|
|
33
|
+
"type": "module",
|
|
31
34
|
"scripts": {
|
|
32
35
|
"dev": "vite build --watch",
|
|
33
36
|
"build": "vite build",
|