mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-07-29 09:18:36 -04:00
upgrade to tailwind 4
This commit is contained in:
parent
b3d5d400f3
commit
a5c6cfe808
8 changed files with 1495 additions and 2421 deletions
|
@ -1,6 +1,24 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
@import 'tailwindcss';
|
||||
|
||||
@config '../../tailwind.config.js';
|
||||
|
||||
/*
|
||||
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
||||
so we've added these compatibility styles to make sure everything still
|
||||
looks the same as it did with Tailwind CSS v3.
|
||||
|
||||
If we ever want to remove these styles, we need to add an explicit border
|
||||
color utility to any element that depends on these defaults.
|
||||
*/
|
||||
@layer base {
|
||||
*,
|
||||
::after,
|
||||
::before,
|
||||
::backdrop,
|
||||
::file-selector-button {
|
||||
border-color: var(--color-gray-200, currentColor);
|
||||
}
|
||||
}
|
||||
|
||||
/* rubik-300 - latin */
|
||||
@font-face {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue