@mineui/tokens 0.0.4 → 0.0.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 +27 -27
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
10
|
<div align="center">
|
|
11
|
-
<img src="https://img.shields.io/badge/v-0.0.
|
|
11
|
+
<img src="https://img.shields.io/badge/v-0.0.6-black"/>
|
|
12
12
|
<a href="https://github.com/mineui-org"><img src="https://img.shields.io/badge/🔥-@mineui-black"/></a>
|
|
13
13
|
<br>
|
|
14
14
|
<img src="https://img.shields.io/badge/coverage-~%25-brightgreen" alt="Test Coverage" />
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
- ## Overview 👀
|
|
27
27
|
|
|
28
28
|
- #### Why ?
|
|
29
|
-
>
|
|
29
|
+
> Complete design tokens system with 350+ values covering colors, spacing, typography, shadows, and more. Built for modern UI systems with HSL colors and short, friendly names.
|
|
30
30
|
|
|
31
31
|
- #### When ?
|
|
32
|
-
>
|
|
32
|
+
> Use as the foundation for any CSS/SCSS project. Perfect for design systems, component libraries, or custom UI frameworks.
|
|
33
33
|
|
|
34
34
|
<br>
|
|
35
35
|
<br>
|
|
@@ -86,19 +86,19 @@
|
|
|
86
86
|
|
|
87
87
|
```scss
|
|
88
88
|
// Gray scale (12 shades)
|
|
89
|
-
$gray-0
|
|
89
|
+
$gray-0 to $gray-11
|
|
90
90
|
|
|
91
91
|
// Brand colors (11 shades each)
|
|
92
|
-
$blue-1
|
|
93
|
-
$green-1
|
|
94
|
-
$red-1
|
|
95
|
-
$amber-1
|
|
96
|
-
$orange-1
|
|
97
|
-
$purple-1
|
|
98
|
-
$pink-1
|
|
99
|
-
$cyan-1
|
|
100
|
-
$teal-1
|
|
101
|
-
$indigo-1
|
|
92
|
+
$blue-1 to $blue-11
|
|
93
|
+
$green-1 to $green-11
|
|
94
|
+
$red-1 to $red-11
|
|
95
|
+
$amber-1 to $amber-11
|
|
96
|
+
$orange-1 to $orange-11
|
|
97
|
+
$purple-1 to $purple-11
|
|
98
|
+
$pink-1 to $pink-11
|
|
99
|
+
$cyan-1 to $cyan-11
|
|
100
|
+
$teal-1 to $teal-11
|
|
101
|
+
$indigo-1 to $indigo-11
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
- #### Spacing
|
|
@@ -121,13 +121,13 @@
|
|
|
121
121
|
$font-sans, $font-serif, $font-mono, $font-arabic
|
|
122
122
|
|
|
123
123
|
// Sizes
|
|
124
|
-
$fs-xs
|
|
124
|
+
$fs-xs to $fs-9xl
|
|
125
125
|
|
|
126
126
|
// Weights
|
|
127
|
-
$fw-thin
|
|
127
|
+
$fw-thin to $fw-black
|
|
128
128
|
|
|
129
129
|
// Line heights
|
|
130
|
-
$lh-none
|
|
130
|
+
$lh-none to $lh-loose
|
|
131
131
|
|
|
132
132
|
// Letter spacing
|
|
133
133
|
$ls-tighter to $ls-widest
|
|
@@ -139,10 +139,10 @@
|
|
|
139
139
|
|
|
140
140
|
```scss
|
|
141
141
|
// Widths
|
|
142
|
-
$bw-0
|
|
142
|
+
$bw-0 to $bw-8
|
|
143
143
|
|
|
144
144
|
// Radius
|
|
145
|
-
$br-none
|
|
145
|
+
$br-none to $br-3xl, $br-full
|
|
146
146
|
```
|
|
147
147
|
|
|
148
148
|
- #### Shadows
|
|
@@ -197,12 +197,12 @@
|
|
|
197
197
|
> Responsive design breakpoints.
|
|
198
198
|
|
|
199
199
|
```scss
|
|
200
|
-
$bp-xs
|
|
201
|
-
$bp-sm
|
|
202
|
-
$bp-md
|
|
203
|
-
$bp-lg
|
|
204
|
-
$bp-xl
|
|
205
|
-
$bp-2xl
|
|
200
|
+
$bp-xs : 0
|
|
201
|
+
$bp-sm : 640px
|
|
202
|
+
$bp-md : 768px
|
|
203
|
+
$bp-lg : 1024px
|
|
204
|
+
$bp-xl : 1280px
|
|
205
|
+
$bp-2xl : 1536px
|
|
206
206
|
```
|
|
207
207
|
|
|
208
208
|
- #### Sizes
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
> Common component sizes.
|
|
211
211
|
|
|
212
212
|
```scss
|
|
213
|
-
$size-xs
|
|
213
|
+
$size-xs to $size-2xl
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
- #### Blur
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
> Backdrop and effect blur values.
|
|
219
219
|
|
|
220
220
|
```scss
|
|
221
|
-
$blur-none
|
|
221
|
+
$blur-none to $blur-3xl
|
|
222
222
|
```
|
|
223
223
|
|
|
224
224
|
- #### Aspect Ratios
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mineui/tokens",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "Design tokens used by utilities",
|
|
5
5
|
"keywords": ["mine", "ui", "tokens"],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/mineui-org/tokens#readme",
|