Problem/Motivation
When creating an Artisan subtheme, the theme comes with a few Tailwind CSS 4 variables overwritten. I think its better to just load Tailwind with its default values and maybe, add a comment to the official documentation showing how to overwrite them..
On the other hand, the stylesheets that ships with Artisan starterkit (such as base.css, form.css) should be using the @apply directive instead of just writing hand-made CSS, as it more compliant with Tailwind's workflow.
Proposed resolution
- Do not override TailwindCSS 4 variables default value.
- Use tailwind directives instead of writing custom CSS.
Issue fork artisan-3570990
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alejandro cabarcos commentedComment #4
frouco commentedReduce the number of theme design tokens in favour of Tailwind defaults.
Ready for review.
Comment #7
alejandro cabarcos commented