@blockle/blocks-theme-momotaro 6.1.0 → 6.2.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.css.d.ts","sourceRoot":"","sources":["../../src/components/button.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAC;AAS9B,eAAO,MAAM,MAAM,EAAE,qBAAqB,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"button.css.d.ts","sourceRoot":"","sources":["../../src/components/button.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAC;AAS9B,eAAO,MAAM,MAAM,EAAE,qBAAqB,CAAC,QAAQ,CAqHlD,CAAC"}
|
|
@@ -15,7 +15,6 @@ const button = makeComponentTheme(
|
|
|
15
15
|
fontSize: "medium",
|
|
16
16
|
borderRadius: 2,
|
|
17
17
|
fontWeight: "medium",
|
|
18
|
-
// Space between `startSlot | children | endSlot`
|
|
19
18
|
gap: 2,
|
|
20
19
|
paddingBlock: 1
|
|
21
20
|
}),
|
|
@@ -57,7 +56,7 @@ const button = makeComponentTheme(
|
|
|
57
56
|
paddingInline: 3
|
|
58
57
|
}),
|
|
59
58
|
{
|
|
60
|
-
minHeight:
|
|
59
|
+
minHeight: 40
|
|
61
60
|
}
|
|
62
61
|
]),
|
|
63
62
|
medium: style([
|
|
@@ -70,7 +69,7 @@ const button = makeComponentTheme(
|
|
|
70
69
|
]),
|
|
71
70
|
large: style([
|
|
72
71
|
atoms({
|
|
73
|
-
paddingInline:
|
|
72
|
+
paddingInline: 5
|
|
74
73
|
}),
|
|
75
74
|
{
|
|
76
75
|
minHeight: 56
|
|
@@ -80,7 +79,7 @@ const button = makeComponentTheme(
|
|
|
80
79
|
intent: {
|
|
81
80
|
neutral: style({
|
|
82
81
|
vars: {
|
|
83
|
-
[intentColor]: vars.color["primary-
|
|
82
|
+
[intentColor]: vars.color["primary-600"],
|
|
84
83
|
[hoverBackgroundColor]: vars.color["primary-100"]
|
|
85
84
|
}
|
|
86
85
|
}),
|
|
@@ -118,7 +117,7 @@ const button = makeComponentTheme(
|
|
|
118
117
|
}
|
|
119
118
|
],
|
|
120
119
|
defaultVariants: {
|
|
121
|
-
size: "
|
|
120
|
+
size: "medium",
|
|
122
121
|
variant: "solid",
|
|
123
122
|
intent: "neutral"
|
|
124
123
|
}
|
package/dist/tokens.css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.css.d.ts","sourceRoot":"","sources":["../src/tokens.css.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"tokens.css.d.ts","sourceRoot":"","sources":["../src/tokens.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAErE,eAAO,MAAM,MAAM,EAAE,WA4JpB,CAAC"}
|
package/dist/tokens.css.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
-
import {
|
|
2
|
+
import { pixelsToRem } from "@blockle/blocks-core";
|
|
3
3
|
setFileScope("src/tokens.css.ts", "@blockle/blocks-theme-momotaro");
|
|
4
4
|
const tokens = {
|
|
5
5
|
border: {
|
|
@@ -136,11 +136,11 @@ const tokens = {
|
|
|
136
136
|
secondary: '"Rubik", sans-serif'
|
|
137
137
|
},
|
|
138
138
|
fontSize: {
|
|
139
|
-
xsmall:
|
|
140
|
-
small:
|
|
141
|
-
medium:
|
|
142
|
-
large:
|
|
143
|
-
xlarge:
|
|
139
|
+
xsmall: pixelsToRem(12),
|
|
140
|
+
small: pixelsToRem(14),
|
|
141
|
+
medium: pixelsToRem(16),
|
|
142
|
+
large: pixelsToRem(20),
|
|
143
|
+
xlarge: pixelsToRem(24)
|
|
144
144
|
},
|
|
145
145
|
fontWeight: {
|
|
146
146
|
light: 300,
|
|
@@ -150,11 +150,11 @@ const tokens = {
|
|
|
150
150
|
bold: 800
|
|
151
151
|
},
|
|
152
152
|
lineHeight: {
|
|
153
|
-
xsmall:
|
|
154
|
-
small:
|
|
155
|
-
medium:
|
|
156
|
-
large:
|
|
157
|
-
xlarge:
|
|
153
|
+
xsmall: pixelsToRem(16),
|
|
154
|
+
small: pixelsToRem(20),
|
|
155
|
+
medium: pixelsToRem(24),
|
|
156
|
+
large: pixelsToRem(28),
|
|
157
|
+
xlarge: pixelsToRem(32)
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockle/blocks-theme-momotaro",
|
|
3
|
-
"version": "6.1
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "Momotaro theme for Blocks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Blockle/blocks#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@vanilla-extract/css": "^1.17.
|
|
34
|
+
"@vanilla-extract/css": "^1.17.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@blockle/blocks-core": ">=1.
|
|
38
|
-
"@vanilla-extract/css": "
|
|
37
|
+
"@blockle/blocks-core": ">=1.2.x",
|
|
38
|
+
"@vanilla-extract/css": "^1.17.5"
|
|
39
39
|
}
|
|
40
40
|
}
|