Skip to content

.css file as configuration entrypoint (Tailwind CSS v4 style) #30

@goulvenclech

Description

@goulvenclech

For ecosystem compatibility, the config entrypoint should be a .css file with custom at-rules:

@import "tailwindcss";
@source "../src/**/*.html";
@theme { --color-primary: #3490dc; }

This requires:

  • Parsing custom CSS directives (@import, @source, @theme, etc.).
  • Resolving @source globs to discover input files.
  • Mapping @import "tailwindcss" to the built-in preset.
  • Merging @theme values into the config.

Depends on #29 (in-memory pipeline).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions