@trackunit/css-tailwind 0.0.25 → 0.0.27
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/package.json +2 -2
- package/tailwind-base.generated.js +44 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/css-tailwind",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"types": "./src/index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@trackunit/ui-design-tokens": "0.0.53",
|
|
11
|
-
"@trackunit/css-component-tokens": "0.0.
|
|
11
|
+
"@trackunit/css-component-tokens": "0.0.12",
|
|
12
12
|
"@trackunit/css-tailwind-custom-properties-plugin": "0.0.5",
|
|
13
13
|
"@trackunit/css-core": "0.0.66"
|
|
14
14
|
},
|
|
@@ -153,6 +153,21 @@ var import_plugin2 = __toESM(require_plugin());
|
|
|
153
153
|
// libs/css/component-tokens/src/component-tokens/ComponentTokenDefinition.ts
|
|
154
154
|
var AsComponentTokenDefinition = (designTokens) => designTokens;
|
|
155
155
|
|
|
156
|
+
// libs/css/component-tokens/src/component-tokens/components/BaseInput.tokens.ts
|
|
157
|
+
var BaseInputTokenDefinition = AsComponentTokenDefinition({
|
|
158
|
+
DEFAULT: {
|
|
159
|
+
border: { borderRadius: "var(--border-radius-DEFAULT)", borderWidth: "1px" },
|
|
160
|
+
shadow: { boxShadow: "var(--box-shadow-sm)" },
|
|
161
|
+
background: { backgroundColor: "white" }
|
|
162
|
+
},
|
|
163
|
+
"theme-marketing": {
|
|
164
|
+
border: { borderRadius: "70px", borderWidth: "0px" },
|
|
165
|
+
shadow: { boxShadow: "none" },
|
|
166
|
+
background: { backgroundColor: "rgb(var(--color-stone-50))" }
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
var BaseInput_tokens_default = BaseInputTokenDefinition;
|
|
170
|
+
|
|
156
171
|
// libs/css/component-tokens/src/component-tokens/components/Button.tokens.ts
|
|
157
172
|
var ButtonTokenDefinition = AsComponentTokenDefinition({
|
|
158
173
|
DEFAULT: {
|
|
@@ -165,7 +180,7 @@ var ButtonTokenDefinition = AsComponentTokenDefinition({
|
|
|
165
180
|
"secondary-color": { backgroundColor: "rgb(var(--color-secondary-600))", color: "rgb(var(--color-secondary-50))" },
|
|
166
181
|
border: { borderRadius: "50px" },
|
|
167
182
|
height: { height: "55px" },
|
|
168
|
-
padding: { paddingLeft: "var(--spacing-
|
|
183
|
+
padding: { paddingLeft: "var(--spacing-12)", paddingRight: "var(--spacing-12)" }
|
|
169
184
|
}
|
|
170
185
|
});
|
|
171
186
|
|
|
@@ -189,6 +204,19 @@ var CardTokenDefinition = AsComponentTokenDefinition({
|
|
|
189
204
|
}
|
|
190
205
|
});
|
|
191
206
|
|
|
207
|
+
// libs/css/component-tokens/src/component-tokens/components/FormGroup.tokens.ts
|
|
208
|
+
var FormGroupTokenDefinition = AsComponentTokenDefinition({
|
|
209
|
+
DEFAULT: {
|
|
210
|
+
gap: { display: "auto", gap: "auto" },
|
|
211
|
+
font: { fontWeight: "normal" }
|
|
212
|
+
},
|
|
213
|
+
"theme-marketing": {
|
|
214
|
+
gap: { display: "grid", gap: "var(--spacing-4)" },
|
|
215
|
+
font: { fontWeight: "700" }
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
var FormGroup_tokens_default = FormGroupTokenDefinition;
|
|
219
|
+
|
|
192
220
|
// libs/css/component-tokens/src/component-tokens/components/Popover/Popover.tokens.ts
|
|
193
221
|
var PopoverTokenDefinition = AsComponentTokenDefinition({
|
|
194
222
|
DEFAULT: {
|
|
@@ -287,7 +315,9 @@ var componentTokenDefinitions = {
|
|
|
287
315
|
button: ButtonTokenDefinition,
|
|
288
316
|
search: SearchTokenDefinition,
|
|
289
317
|
popover: Popover_tokens_default,
|
|
290
|
-
popoverListItem: PopoverListItem_tokens_default
|
|
318
|
+
popoverListItem: PopoverListItem_tokens_default,
|
|
319
|
+
baseInput: BaseInput_tokens_default,
|
|
320
|
+
formGroup: FormGroup_tokens_default
|
|
291
321
|
};
|
|
292
322
|
|
|
293
323
|
// libs/css/component-tokens/src/component-tokens/ComponentTokenVariablesByThemeName.ts
|
|
@@ -953,6 +983,18 @@ var tailwindBaseConfig = {
|
|
|
953
983
|
variables: {
|
|
954
984
|
"theme-marketing": {
|
|
955
985
|
color: {
|
|
986
|
+
stone: {
|
|
987
|
+
50: "251 249 249",
|
|
988
|
+
100: "243 237 237",
|
|
989
|
+
200: "234 222 222",
|
|
990
|
+
300: "219 198 198",
|
|
991
|
+
400: "196 165 165",
|
|
992
|
+
500: "173 134 134",
|
|
993
|
+
600: "150 108 108",
|
|
994
|
+
700: "125 88 88",
|
|
995
|
+
800: "105 75 75",
|
|
996
|
+
900: "89 67 67"
|
|
997
|
+
},
|
|
956
998
|
primary: {
|
|
957
999
|
50: "254 236 235",
|
|
958
1000
|
100: "254 236 235",
|