@gitbutler/design-core 2.0.0 → 2.2.0
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 +0 -9
- package/package.json +1 -2
- package/tokens/json/components.tokens.json +895 -0
- package/tokens/json/core.tokens.json +756 -0
- package/tokens/json/fx.tokens.json +57 -0
- package/tokens/json/semantic.tokens.json +467 -0
- package/tokens/tokens.css +8 -0
- package/tokens/tokens.json +0 -2083
package/README.md
CHANGED
|
@@ -26,14 +26,6 @@ import "@gitbutler/design-core/tokens";
|
|
|
26
26
|
|
|
27
27
|
This provides CSS custom properties for colors, spacing, typography, and other design tokens with automatic light/dark mode support.
|
|
28
28
|
|
|
29
|
-
### Design Tokens (JSON)
|
|
30
|
-
|
|
31
|
-
Import the raw design tokens data:
|
|
32
|
-
|
|
33
|
-
```javascript
|
|
34
|
-
import tokens from "@gitbutler/design-core/tokens.json";
|
|
35
|
-
```
|
|
36
|
-
|
|
37
29
|
### Fonts
|
|
38
30
|
|
|
39
31
|
Import all fonts:
|
|
@@ -115,7 +107,6 @@ Or import individual utility class files:
|
|
|
115
107
|
## Available Exports
|
|
116
108
|
|
|
117
109
|
- `@gitbutler/design-core/tokens` - CSS custom properties
|
|
118
|
-
- `@gitbutler/design-core/tokens.json` - Design tokens as JSON
|
|
119
110
|
- `@gitbutler/design-core/fonts` - All font CSS declarations
|
|
120
111
|
- `@gitbutler/design-core/fonts/*` - Individual font files
|
|
121
112
|
- `@gitbutler/design-core/core` - Core CSS styles
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbutler/design-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Design tokens for GitButler applications",
|
|
6
6
|
"keywords": [
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"main": "./tokens/tokens.css",
|
|
18
18
|
"exports": {
|
|
19
19
|
"./tokens": "./tokens/tokens.css",
|
|
20
|
-
"./tokens.json": "./tokens/tokens.json",
|
|
21
20
|
"./fonts": "./fonts/fonts.css",
|
|
22
21
|
"./fonts/*": "./fonts/*",
|
|
23
22
|
"./core": "./core.css",
|