Commit Graph
21 Commits
Author SHA1 Message Date
e8169ca345 Add support for visibility: collapse with new collapsed utility (#9181)
* Add support for `visibility: collapse` with new `collapsed` utility

* fixup

* Update changelog

Co-authored-by: Jordan Pittman <[email protected]>
2022-09-09 13:19:24 -04:00
Justin WongandGitHub b77ed8394b Implement negative outline offsets (#9136)
* Implement negative outline offsets

* Update changelog
2022-08-19 06:32:18 -04:00
b270278e2d Added border-spacing utility (#7102)
* Added `border-spacing` utility

* Update to base CSS variable approach

Co-authored-by: Jonathan Reinink <[email protected]>
2022-03-04 11:20:23 -05:00
Adam Wathan f44844b266 Support negative scale values 2021-12-06 10:47:16 -05:00
217b2787d9 Add remaining text-decoration utilities (#6004)
* Add `text-decoration-style` utilities

* Add remaining `text-decoration` utilities

* Add test for default underline offset

* Remove text-underline-position, don't rename underline utilities, remove DEFAULT values for decoration thickness and underline offset

* Add auto/from-font values, update tests

Co-authored-by: Adam Wathan <[email protected]>
2021-11-24 12:13:08 -05:00
Robin MalfaitandGitHub b0c2d6546e Add combinable touch-action support (#6115)
* add combinable `touch-action` support

* update changelog
2021-11-17 16:04:13 +01:00
9d1d9339b5 Add support for colored box shadows (#5979)
* WIP

* add box shadow parser

* use box shadow parser

* Update default shadows, add boxShadowColor key, add shadow datatype

* Update tests

* add `valid` flag to `boxShadow` parser

Co-authored-by: Robin Malfait <[email protected]>
2021-11-04 10:14:13 -04:00
cd974128d2 Add new outline style, color, width and offset utilities (#5887)
* Add new outline style, color, width and offset utilities

Co-Authored-By: Adam Wathan <[email protected]>

* Remove old `outline` property from default config

Co-Authored-By: Adam Wathan <[email protected]>

* Tweak order of outline plugins

Co-Authored-By: Adam Wathan <[email protected]>

* Revert to previous `outline-none` styles

Co-Authored-By: Adam Wathan <[email protected]>

* Drop quotes from outline property

* Add offset back to `outline-none` utility

Co-authored-by: Adam Wathan <[email protected]>
2021-10-27 10:21:24 -04:00
7083fb0633 Add text-decoration-color utilities (#5760)
* utilities and tests in place for textDecorationColor and textDecorationOpacity

* change 'backgroundColor' to 'textDecorationColor' in corePlugin declaration for latter

* remove explicit textDecorationOpacity utility (the JIT slash syntax suffices)

Co-authored-by: Michael Warner <[email protected]>
2021-10-12 13:35:59 -04:00
Adam WathanandGitHub 8b11bc9d81 Add grow and shrink aliases (#5733)
This adds `grow-*` and `shrink-*` utilities as aliases for `flex-grow-*` and `flex-shrink-*` since those names are unnecessarily verbose. We will stop documenting the long form ones and consider them deprecated.

```diff
- <div class="flex-grow-0 flex-shrink">
+ <div class="grow-0 shrink">
```
2021-10-09 09:48:12 -04:00
Adam WathanandGitHub a66c0b757b Add flex-basis utilities (#5671) 2021-10-04 15:47:14 -04:00
187c3a4e91 Add border-x-{width}, border-y-{width}, border-x-{color} and border-y-{color} utilities (#5639)
Co-Authored-By: Adam Wathan <[email protected]>
Co-Authored-By: Davy <[email protected]>
2021-09-29 10:32:31 -04:00
e4f3da2bc5 Add scroll-snap utilities (#5637)
Co-authored-by: Adam Wathan <[email protected]>
Co-authored-by: Peter Jonsson <[email protected]>
Co-authored-by: Enzo Innocenzi <[email protected]>
2021-09-29 09:57:26 -04:00
f16be47b95 Add touch-action utilities (#5603)
Co-Authored-By: Mattèo Gauthier <[email protected]>

Co-authored-by: Mattèo Gauthier <[email protected]>
2021-09-26 09:41:36 -04:00
Jonathan ReininkandGitHub 4de57af373 Add break-before, break-inside and break-after utilities (#5530)
* Add `break-before` utilities

* Add `break-inside` utilities

* Add `break-after` utilities

* Add `break-before/inside/after` utilities to basic usage test

* Remove `break-before` and `break-after` utilities that have no browser support

* Rename `break-inside: avoid-column` utility to `break-inside-avoid-column`
2021-09-23 14:31:23 -04:00
fac15042fa Add border-hidden utility (#5485)
Co-Authored-By: 藍 <[email protected]>

Co-authored-by: 藍 <[email protected]>
2021-09-12 16:18:17 -04:00
6d00105adf Add column utilities (#5457)
Co-Authored-By: Adam Wathan <[email protected]>
Co-Authored-By: Cody <[email protected]>
2021-09-09 09:29:44 -04:00
a68516e647 Add text-indent utilities (#5449)
Co-Authored-By: Adam Wathan <[email protected]>

Co-authored-by: Adam Wathan <[email protected]>
2021-09-08 15:16:46 -04:00
a5999f2067 Add will-change utilities (#5448)
Co-Authored-By: Adam Wathan <[email protected]>
2021-09-08 14:50:31 -04:00
Luke WarlowandGitHub 7489feaa23 Add accent-color utilities (#5387)
* Add accent-color utilities

* Address comments
2021-09-07 21:07:54 -04:00
Robin MalfaitandGitHub da30dda3d9 JIT by default - move tests and make them consistent (#5374)
* move `./tests/jit` to `./tests`

* make tests consistent

Abstracted a `run` function and some syntax highlighting helpers for
`html`, `css` and `javascript`.
2021-09-03 13:48:16 +02:00