NativeScript / NativeScript/tailwind

a example of tailwindcss v4.0

Open
#197 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
161
Forks
29
Avg merge
1h 39m
Merged PRs (30d)
1

Description


@layer theme, base, components;
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/utilities.css" layer(utilities);

can you apply this example into README.md
if you don't use it,you will get

Error: undefined:4:1: missing '{'

or

selector missing 

you are not allowed to use @import "tailwindcss" or @import "tailwindcss/preflight.css" layer(base);

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Update README.md with the Tailwind CSS v4 example shown in the issue, including the required @layer and separate theme and utilities imports. Document that the unsupported @import forms cause the reported errors; done means the README shows the working setup and the prohibited imports are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.