Skip to content

Commit

Permalink
add gap and row-gap
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks1mS committed Mar 8, 2024
1 parent f0abc21 commit 2ec6fc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Atomize aliases are short names for each css rule
| *font-variant-position* | `fvp` |
| *font-variation-settings* | `fvs` |
| *font-weight* | `fw` |
| *gap* | `g` |
| *grid* | `gd` |
| *grid-area* | `gda` |
| *grid-auto-columns* | `gdac` |
Expand Down Expand Up @@ -223,6 +224,7 @@ Atomize aliases are short names for each css rule
| *ratio-padding* | `none` |
| *resize* | `rsz` |
| *right* | `r` |
| *row-gap* | `rowg` |
| *scroll-behavior* | `none` |
| *size-height* | `none` |
| *size-width* | `none` |
Expand Down
2 changes: 2 additions & 0 deletions src/constants/dict.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ const dict = {
'font-variant-position': { alias: 'fvp', type: 'string' },
'font-variation-settings': { alias: 'fvs', type: 'string' },
'font-weight': { alias: 'fw', type: ['number', 'string'] },
gap: { alias: 'g', type: 'string' },
grid: { alias: 'gd', type: 'string' },
'grid-area': { alias: 'gda', type: 'string', process: false },
'grid-auto-columns': { alias: 'gdac', type: 'string' },
Expand Down Expand Up @@ -256,6 +257,7 @@ const dict = {
'ratio-padding': { type: ['number', 'string'] },
resize: { alias: 'rsz', type: 'string' },
right: { alias: 'r', transformer: 'pixel', type: ['number', 'string'] },
'row-gap': { alias: 'rowg', type: 'string' },
'scroll-behavior': { type: 'string' },
'size-height': { type: 'string' },
'size-width': { type: 'string' },
Expand Down

0 comments on commit 2ec6fc7

Please sign in to comment.