No description
Find a file
Robin Malfait 154164d97c
Validate bare values (#13245)
* add validation for bare values

* add bare value validation to `row-span`, `row-start`, `row-end`, `row-span`, `row-start`, and `row-end`

* update changelog

* validate bare values in `utilities.functional` utilities

* mark candidates as invalid if the leftover value is an empty string

* Update packages/tailwindcss/src/candidate.ts

Co-authored-by: Jordan Pittman <jordan@cryptica.me>

* validate `from`, `via` and `to`

This way we make sure that the bare value ends with `%`, and the value
before it is a number.

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2024-03-15 15:08:26 +01:00
.github Inline the tailwindcss/index.css contents at publish time (#13233) 2024-03-13 22:26:10 +01:00
oxide Prepare 4.0.0-alpha.9 release (#13231) 2024-03-13 13:11:06 -04:00
packages Validate bare values (#13245) 2024-03-15 15:08:26 +01:00
playgrounds Move optimizeCss to the packages where it's used (#13230) 2024-03-13 17:25:16 +01:00
scripts Inline the tailwindcss/index.css contents at publish time (#13233) 2024-03-13 22:26:10 +01:00
.gitignore introduce v4 codebase 2024-03-05 14:29:15 +01:00
.npmrc introduce v4 codebase 2024-03-05 14:29:15 +01:00
.prettierignore introduce v4 codebase 2024-03-05 14:29:15 +01:00
CHANGELOG.md Validate bare values (#13245) 2024-03-15 15:08:26 +01:00
LICENSE Add README, LICENSE, and CONTRIBUTING (#13088) 2024-03-05 14:45:39 -05:00
package.json Inline the tailwindcss/index.css contents at publish time (#13233) 2024-03-13 22:26:10 +01:00
pnpm-lock.yaml Inline the tailwindcss/index.css contents at publish time (#13233) 2024-03-13 22:26:10 +01:00
pnpm-workspace.yaml introduce v4 codebase 2024-03-05 14:29:15 +01:00
README.md Copy README file to every package (#13096) 2024-03-06 08:49:31 -05:00
turbo.json introduce v4 codebase 2024-03-05 14:29:15 +01:00
vitest.workspace.ts introduce v4 codebase 2024-03-05 14:29:15 +01:00

Tailwind CSS

A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For chatting with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.