@nattui/tailwind-colors 0.0.5 → 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
CHANGED
|
@@ -34,7 +34,7 @@ All colors are available as CSS custom properties:
|
|
|
34
34
|
.my-element {
|
|
35
35
|
background-color: var(--color-gray-1);
|
|
36
36
|
color: var(--color-primary-9);
|
|
37
|
-
border-color: var(--color-gray-
|
|
37
|
+
border-color: var(--color-gray-4);
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
|
|
@@ -43,7 +43,7 @@ All colors are available as CSS custom properties:
|
|
|
43
43
|
The package includes Tailwind CSS theme definitions. After importing, you can use colors in your Tailwind classes:
|
|
44
44
|
|
|
45
45
|
```html
|
|
46
|
-
<div class="bg-gray-1 text-primary-9 border-gray-
|
|
46
|
+
<div class="bg-gray-1 text-primary-9 border-gray-4">
|
|
47
47
|
Content
|
|
48
48
|
</div>
|
|
49
49
|
```
|
|
@@ -71,7 +71,6 @@ Apply theme classes to switch between color variants:
|
|
|
71
71
|
Each color palette includes:
|
|
72
72
|
|
|
73
73
|
- **Base colors**: `--color-{name}-1` through `--color-{name}-12`
|
|
74
|
-
- **Alpha variants**: `--color-{name}-a1` through `--color-{name}-a12`
|
|
75
74
|
- **Light variants**: `--color-{name}-light-1` through `--color-{name}-light-12`
|
|
76
75
|
- **Dark variants**: `--color-{name}-dark-1` through `--color-{name}-dark-12`
|
|
77
76
|
|
|
@@ -79,4 +78,3 @@ Each color palette includes:
|
|
|
79
78
|
|
|
80
79
|
- **Gray**: Neutral grayscale palette with light and dark variants
|
|
81
80
|
- **Primary**: Brand color palette with multiple color options (e.g., gold) and light/dark variants
|
|
82
|
-
- **Black & White**: Base colors with alpha variants
|
package/package.json
CHANGED
package/src/index.css
CHANGED
|
File without changes
|
|
File without changes
|