Skip to content

Commit ae826fa

Browse files
authored
feat: bind mask-size to sizes (#219)
1 parent 65c04de commit ae826fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/core/src/propGetters.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export const propGetters = {
127127
'max-height': getNumberSize,
128128
'min-width': getNumberSize,
129129
'min-height': getNumberSize,
130+
'mask-size': getMultiValues(getNumberSize),
130131

131132
// getZIndex
132133
'z-index': getNumber(getZIndex),

website/pages/docs/customization/theme.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export const theme = {
243243
| `shadows` | `box-shadow`, `text-shadow` |
244244
| `screens` | Values for breakpoints. |
245245
| `settings` | Values for custom settings (`rootFontSize`). |
246-
| `sizes` | `width`, `height`, `max-width`, `max-height`, `min-width`, `min-height` |
246+
| `sizes` | `width`, `height`, `max-width`, `max-height`, `min-width`, `min-height`, `mask-size` |
247247
| `space` | `margin`, `margin-top`, `margin-bottom`, `margin-left`, `margin-right`, `padding`, `padding-top`, `padding-bottom`, `padding-left`, `padding-right`, `gap`, `grid-gap`, `grid-row-gap`, `grid-column-gap` |
248248
| `timingFunctions` | `animation-timing-function`, `transition-timing-function` |
249249
| `transforms` | `transform` |

0 commit comments

Comments
 (0)