tailwindcss 0.0.0-insiders.d045aaa → 0.0.0-insiders.d06bbb8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-insiders.d045aaa",
3
+ "version": "0.0.0-insiders.d06bbb8",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,6 +45,10 @@
45
45
  "require": "./dist/flatten-color-palette.js",
46
46
  "import": "./dist/flatten-color-palette.mjs"
47
47
  },
48
+ "./lib/util/flattenColorPalette.js": {
49
+ "require": "./dist/flatten-color-palette.js",
50
+ "import": "./dist/flatten-color-palette.mjs"
51
+ },
48
52
  "./package.json": "./package.json",
49
53
  "./index.css": "./index.css",
50
54
  "./index": "./index.css",
@@ -68,10 +72,13 @@
68
72
  "utilities.css"
69
73
  ],
70
74
  "devDependencies": {
75
+ "@ampproject/remapping": "^2.3.0",
71
76
  "@types/node": "^20.14.8",
72
- "lightningcss": "^1.29.1",
73
- "dedent": "1.5.3",
74
- "@tailwindcss/oxide": "0.0.0-insiders.d045aaa"
77
+ "dedent": "1.6.0",
78
+ "lightningcss": "1.30.1",
79
+ "magic-string": "^0.30.17",
80
+ "source-map-js": "^1.2.1",
81
+ "@tailwindcss/oxide": "0.0.0-insiders.d06bbb8"
75
82
  },
76
83
  "scripts": {
77
84
  "lint": "tsc --noEmit",
package/preflight.css CHANGED
@@ -30,7 +30,7 @@ html,
30
30
  line-height: 1.5; /* 1 */
31
31
  -webkit-text-size-adjust: 100%; /* 2 */
32
32
  tab-size: 4; /* 3 */
33
- font-family: var(
33
+ font-family: --theme(
34
34
  --default-font-family,
35
35
  ui-sans-serif,
36
36
  system-ui,
@@ -40,19 +40,11 @@ html,
40
40
  'Segoe UI Symbol',
41
41
  'Noto Color Emoji'
42
42
  ); /* 4 */
43
- font-feature-settings: var(--default-font-feature-settings, normal); /* 5 */
44
- font-variation-settings: var(--default-font-variation-settings, normal); /* 6 */
43
+ font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
44
+ font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
45
45
  -webkit-tap-highlight-color: transparent; /* 7 */
46
46
  }
47
47
 
48
- /*
49
- Inherit line-height from `html` so users can set them as a class directly on the `html` element.
50
- */
51
-
52
- body {
53
- line-height: inherit;
54
- }
55
-
56
48
  /*
57
49
  1. Add the correct height in Firefox.
58
50
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
@@ -118,7 +110,7 @@ code,
118
110
  kbd,
119
111
  samp,
120
112
  pre {
121
- font-family: var(
113
+ font-family: --theme(
122
114
  --default-mono-font-family,
123
115
  ui-monospace,
124
116
  SFMono-Regular,
@@ -129,8 +121,8 @@ pre {
129
121
  'Courier New',
130
122
  monospace
131
123
  ); /* 1 */
132
- font-feature-settings: var(--default-mono-font-feature-settings, normal); /* 2 */
133
- font-variation-settings: var(--default-mono-font-variation-settings, normal); /* 3 */
124
+ font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
125
+ font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
134
126
  font-size: 1em; /* 4 */
135
127
  }
136
128
 
@@ -284,13 +276,23 @@ textarea,
284
276
  }
285
277
 
286
278
  /*
287
- 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
288
- 2. Set the default placeholder color to a semi-transparent version of the current text color.
279
+ Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
289
280
  */
290
281
 
291
282
  ::placeholder {
292
- opacity: 1; /* 1 */
293
- color: color-mix(in oklab, currentColor 50%, transparent); /* 2 */
283
+ opacity: 1;
284
+ }
285
+
286
+ /*
287
+ Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
288
+ crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
289
+ */
290
+
291
+ @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
292
+ (contain-intrinsic-size: 1px) /* Safari 17+ */ {
293
+ ::placeholder {
294
+ color: color-mix(in oklab, currentcolor 50%, transparent);
295
+ }
294
296
  }
295
297
 
296
298
  /*