bin/rails tailwindcss:upgrade
All checks were successful
Ruby CI / test (pull_request) Successful in 26s
All checks were successful
Ruby CI / test (pull_request) Successful in 26s
This commit is contained in:
parent
9f8d3bcc06
commit
8068bf2ad4
12 changed files with 58 additions and 1523 deletions
|
@ -1,19 +0,0 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
.msg-notice {
|
||||
@apply bg-green-300 text-green-900;
|
||||
}
|
||||
.msg-alert {
|
||||
@apply bg-red-300 text-red-900;
|
||||
}
|
||||
/*
|
||||
|
||||
@layer components {
|
||||
.btn-primary {
|
||||
@apply py-2 px-4 bg-blue-200;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
39
app/assets/tailwind/application.css
Normal file
39
app/assets/tailwind/application.css
Normal file
|
@ -0,0 +1,39 @@
|
|||
@import 'tailwindcss';
|
||||
|
||||
@plugin '@tailwindcss/forms';
|
||||
@plugin '@tailwindcss/aspect-ratio';
|
||||
@plugin '@tailwindcss/typography';
|
||||
|
||||
/*
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
.msg-notice {
|
||||
@apply bg-green-300 text-green-900;
|
||||
}
|
||||
.msg-alert {
|
||||
@apply bg-red-300 text-red-900;
|
||||
}
|
||||
/*
|
||||
|
||||
@layer components {
|
||||
.btn-primary {
|
||||
@apply py-2 px-4 bg-blue-200;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue