Add new outline style, color, width and offset utilities (#5887)
* Add new outline style, color, width and offset utilities Co-Authored-By: Adam Wathan <4323180+adamwathan@users.noreply.github.com> * Remove old `outline` property from default config Co-Authored-By: Adam Wathan <4323180+adamwathan@users.noreply.github.com> * Tweak order of outline plugins Co-Authored-By: Adam Wathan <4323180+adamwathan@users.noreply.github.com> * Revert to previous `outline-none` styles Co-Authored-By: Adam Wathan <4323180+adamwathan@users.noreply.github.com> * Drop quotes from outline property * Add offset back to `outline-none` utility Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
This commit is contained in:
parent
06cb28d2bd
commit
bf59a88c3e
8 changed files with 69 additions and 43 deletions
|
|
@ -825,10 +825,21 @@
|
|||
outline: 2px solid transparent;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.outline-black {
|
||||
outline: 2px dotted black;
|
||||
.outline {
|
||||
outline-style: solid;
|
||||
}
|
||||
.outline-dashed {
|
||||
outline-style: dashed;
|
||||
}
|
||||
.outline-4 {
|
||||
outline-width: 4px;
|
||||
}
|
||||
.outline-offset-2 {
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.outline-black {
|
||||
outline-color: #000;
|
||||
}
|
||||
.ring {
|
||||
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width)
|
||||
var(--tw-ring-offset-color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue