@pandacss/generator 0.0.0-dev-20230526204157 → 0.0.0-dev-20230528154919

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/dist/index.js CHANGED
@@ -214,15 +214,20 @@ function generateResetCss(scope = "") {
214
214
  box-sizing: border-box;
215
215
  border-width: 0;
216
216
  border-style: solid;
217
+ border-color: var(--global-color-border, currentColor);
217
218
  }
218
219
 
219
220
  ${scope || "html"} {
220
221
  line-height: 1.5;
222
+ --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
223
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
224
+ 'Noto Color Emoji';
221
225
  -webkit-text-size-adjust: 100%;
222
226
  -webkit-text-size-adjust: 100%;
223
227
  -webkit-font-smoothing: antialiased;
224
228
  -moz-tab-size: 4;
225
229
  tab-size: 4;
230
+ font-family: var(--global-font-body, var(--font-fallback));
226
231
  }
227
232
 
228
233
  ${selector}hr {
@@ -303,6 +308,7 @@ function generateResetCss(scope = "") {
303
308
  ${selector}input::placeholder,
304
309
  ${selector}textarea::placeholder {
305
310
  opacity: 1;
311
+ color: var(--global-color-placeholder, #9ca3af);
306
312
  }
307
313
 
308
314
  ${selector}textarea {
@@ -356,6 +362,8 @@ function generateResetCss(scope = "") {
356
362
  ${selector}samp,
357
363
  ${selector}pre {
358
364
  font-size: 1em;
365
+ --font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
366
+ font-family: var(--global-font-mono, var(--font-fallback));
359
367
  }
360
368
 
361
369
  ${selector}[type='search'] {
package/dist/index.mjs CHANGED
@@ -183,15 +183,20 @@ function generateResetCss(scope = "") {
183
183
  box-sizing: border-box;
184
184
  border-width: 0;
185
185
  border-style: solid;
186
+ border-color: var(--global-color-border, currentColor);
186
187
  }
187
188
 
188
189
  ${scope || "html"} {
189
190
  line-height: 1.5;
191
+ --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
192
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
193
+ 'Noto Color Emoji';
190
194
  -webkit-text-size-adjust: 100%;
191
195
  -webkit-text-size-adjust: 100%;
192
196
  -webkit-font-smoothing: antialiased;
193
197
  -moz-tab-size: 4;
194
198
  tab-size: 4;
199
+ font-family: var(--global-font-body, var(--font-fallback));
195
200
  }
196
201
 
197
202
  ${selector}hr {
@@ -272,6 +277,7 @@ function generateResetCss(scope = "") {
272
277
  ${selector}input::placeholder,
273
278
  ${selector}textarea::placeholder {
274
279
  opacity: 1;
280
+ color: var(--global-color-placeholder, #9ca3af);
275
281
  }
276
282
 
277
283
  ${selector}textarea {
@@ -325,6 +331,8 @@ function generateResetCss(scope = "") {
325
331
  ${selector}samp,
326
332
  ${selector}pre {
327
333
  font-size: 1em;
334
+ --font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
335
+ font-family: var(--global-font-mono, var(--font-fallback));
328
336
  }
329
337
 
330
338
  ${selector}[type='search'] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230526204157",
3
+ "version": "0.0.0-dev-20230528154919",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,16 +20,16 @@
20
20
  "pluralize": "8.0.0",
21
21
  "postcss": "8.4.23",
22
22
  "ts-pattern": "4.3.0",
23
- "@pandacss/core": "0.0.0-dev-20230526204157",
24
- "@pandacss/logger": "0.0.0-dev-20230526204157",
25
- "@pandacss/is-valid-prop": "0.0.0-dev-20230526204157",
26
- "@pandacss/shared": "0.0.0-dev-20230526204157",
27
- "@pandacss/types": "0.0.0-dev-20230526204157",
28
- "@pandacss/token-dictionary": "0.0.0-dev-20230526204157"
23
+ "@pandacss/core": "0.0.0-dev-20230528154919",
24
+ "@pandacss/logger": "0.0.0-dev-20230528154919",
25
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230528154919",
26
+ "@pandacss/shared": "0.0.0-dev-20230528154919",
27
+ "@pandacss/types": "0.0.0-dev-20230528154919",
28
+ "@pandacss/token-dictionary": "0.0.0-dev-20230528154919"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/pluralize": "0.0.29",
32
- "@pandacss/fixture": "0.0.0-dev-20230526204157"
32
+ "@pandacss/fixture": "0.0.0-dev-20230528154919"
33
33
  },
34
34
  "scripts": {
35
35
  "prebuild": "tsx scripts/prebuild.ts",