@@ -133,22 +133,6 @@ test(
133
133
}
134
134
}
135
135
136
- /*
137
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
138
- added these compatibility styles to make sure everything still looks the
139
- same as it did with Tailwind CSS v3.
140
-
141
- If we ever want to remove these styles, we need to add \`border-0\` to
142
- any form elements that shouldn't have a border.
143
- */
144
- @layer base {
145
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
146
- select,
147
- textarea {
148
- border-width: 0;
149
- }
150
- }
151
-
152
136
@utility foo {
153
137
color: red;
154
138
}
@@ -240,22 +224,6 @@ test(
240
224
}
241
225
}
242
226
243
- /*
244
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
245
- added these compatibility styles to make sure everything still looks the
246
- same as it did with Tailwind CSS v3.
247
-
248
- If we ever want to remove these styles, we need to add \`border-0\` to
249
- any form elements that shouldn't have a border.
250
- */
251
- @layer base {
252
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
253
- select,
254
- textarea {
255
- border-width: 0;
256
- }
257
- }
258
-
259
227
.btn {
260
228
@apply tw:rounded-md! tw:px-2 tw:py-1 tw:bg-blue-500 tw:text-white;
261
229
}
@@ -320,22 +288,6 @@ test(
320
288
}
321
289
}
322
290
323
- /*
324
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
325
- added these compatibility styles to make sure everything still looks the
326
- same as it did with Tailwind CSS v3.
327
-
328
- If we ever want to remove these styles, we need to add \`border-0\` to
329
- any form elements that shouldn't have a border.
330
- */
331
- @layer base {
332
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
333
- select,
334
- textarea {
335
- border-width: 0;
336
- }
337
- }
338
-
339
291
.a {
340
292
@apply flex;
341
293
}
@@ -408,22 +360,6 @@ test(
408
360
}
409
361
}
410
362
411
- /*
412
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
413
- added these compatibility styles to make sure everything still looks the
414
- same as it did with Tailwind CSS v3.
415
-
416
- If we ever want to remove these styles, we need to add \`border-0\` to
417
- any form elements that shouldn't have a border.
418
- */
419
- @layer base {
420
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
421
- select,
422
- textarea {
423
- border-width: 0;
424
- }
425
- }
426
-
427
363
@layer base {
428
364
html {
429
365
color: #333;
@@ -501,22 +437,6 @@ test(
501
437
}
502
438
}
503
439
504
- /*
505
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
506
- added these compatibility styles to make sure everything still looks the
507
- same as it did with Tailwind CSS v3.
508
-
509
- If we ever want to remove these styles, we need to add \`border-0\` to
510
- any form elements that shouldn't have a border.
511
- */
512
- @layer base {
513
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
514
- select,
515
- textarea {
516
- border-width: 0;
517
- }
518
- }
519
-
520
440
@utility btn {
521
441
@apply rounded-md px-2 py-1 bg-blue-500 text-white;
522
442
}
@@ -1002,22 +922,6 @@ test(
1002
922
}
1003
923
}
1004
924
1005
- /*
1006
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1007
- added these compatibility styles to make sure everything still looks the
1008
- same as it did with Tailwind CSS v3.
1009
-
1010
- If we ever want to remove these styles, we need to add \`border-0\` to
1011
- any form elements that shouldn't have a border.
1012
- */
1013
- @layer base {
1014
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1015
- select,
1016
- textarea {
1017
- border-width: 0;
1018
- }
1019
- }
1020
-
1021
925
--- ./src/utilities.css ---
1022
926
@utility no-scrollbar {
1023
927
&::-webkit-scrollbar {
@@ -1442,22 +1346,6 @@ test(
1442
1346
}
1443
1347
}
1444
1348
1445
- /*
1446
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1447
- added these compatibility styles to make sure everything still looks the
1448
- same as it did with Tailwind CSS v3.
1449
-
1450
- If we ever want to remove these styles, we need to add \`border-0\` to
1451
- any form elements that shouldn't have a border.
1452
- */
1453
- @layer base {
1454
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1455
- select,
1456
- textarea {
1457
- border-width: 0;
1458
- }
1459
- }
1460
-
1461
1349
--- ./src/root.2.css ---
1462
1350
/* Already contains @config */
1463
1351
@import 'tailwindcss';
@@ -1482,22 +1370,6 @@ test(
1482
1370
}
1483
1371
}
1484
1372
1485
- /*
1486
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1487
- added these compatibility styles to make sure everything still looks the
1488
- same as it did with Tailwind CSS v3.
1489
-
1490
- If we ever want to remove these styles, we need to add \`border-0\` to
1491
- any form elements that shouldn't have a border.
1492
- */
1493
- @layer base {
1494
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1495
- select,
1496
- textarea {
1497
- border-width: 0;
1498
- }
1499
- }
1500
-
1501
1373
--- ./src/root.3.css ---
1502
1374
/* Inject missing @config above first @theme */
1503
1375
@import 'tailwindcss';
@@ -1532,22 +1404,6 @@ test(
1532
1404
}
1533
1405
}
1534
1406
1535
- /*
1536
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1537
- added these compatibility styles to make sure everything still looks the
1538
- same as it did with Tailwind CSS v3.
1539
-
1540
- If we ever want to remove these styles, we need to add \`border-0\` to
1541
- any form elements that shouldn't have a border.
1542
- */
1543
- @layer base {
1544
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1545
- select,
1546
- textarea {
1547
- border-width: 0;
1548
- }
1549
- }
1550
-
1551
1407
--- ./src/root.4.css ---
1552
1408
/* Inject missing @config due to nested imports with tailwind imports */
1553
1409
@import './root.4/base.css';
@@ -1580,22 +1436,6 @@ test(
1580
1436
}
1581
1437
}
1582
1438
1583
- /*
1584
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1585
- added these compatibility styles to make sure everything still looks the
1586
- same as it did with Tailwind CSS v3.
1587
-
1588
- If we ever want to remove these styles, we need to add \`border-0\` to
1589
- any form elements that shouldn't have a border.
1590
- */
1591
- @layer base {
1592
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1593
- select,
1594
- textarea {
1595
- border-width: 0;
1596
- }
1597
- }
1598
-
1599
1439
--- ./src/root.4/utilities.css ---
1600
1440
@import 'tailwindcss/utilities' layer(utilities);
1601
1441
@@ -1622,22 +1462,6 @@ test(
1622
1462
border-color: var(--color-gray-200, currentColor);
1623
1463
}
1624
1464
}
1625
-
1626
- /*
1627
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1628
- added these compatibility styles to make sure everything still looks the
1629
- same as it did with Tailwind CSS v3.
1630
-
1631
- If we ever want to remove these styles, we need to add \`border-0\` to
1632
- any form elements that shouldn't have a border.
1633
- */
1634
- @layer base {
1635
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1636
- select,
1637
- textarea {
1638
- border-width: 0;
1639
- }
1640
- }
1641
1465
"
1642
1466
` )
1643
1467
} ,
@@ -1696,22 +1520,6 @@ test(
1696
1520
}
1697
1521
}
1698
1522
1699
- /*
1700
- Form elements have a 1px border by default in Tailwind CSS v4, so we've
1701
- added these compatibility styles to make sure everything still looks the
1702
- same as it did with Tailwind CSS v3.
1703
-
1704
- If we ever want to remove these styles, we need to add \`border-0\` to
1705
- any form elements that shouldn't have a border.
1706
- */
1707
- @layer base {
1708
- input:where(:not([type='button'], [type='reset'], [type='submit'])),
1709
- select,
1710
- textarea {
1711
- border-width: 0;
1712
- }
1713
- }
1714
-
1715
1523
--- ./src/styles/components.css ---
1716
1524
.btn {
1717
1525
@apply bg-black px-4 py-2 rounded-md text-white font-medium hover:bg-zinc-800;
0 commit comments