Currently the TailwindCSS tokens are adding custom gaps and space values:
|
"gap": { |
|
"xs": "8px", |
|
"sm": "12px", |
|
"md": "12px", |
|
"lg": "20px", |
|
"xl": "20px" |
|
}, |
|
"space": { |
|
"xs": "8px", |
|
"sm": "12px", |
|
"md": "12px", |
|
"lg": "20px", |
|
"xl": "20px" |
|
} |
Why do we set them? Why is there no 16px? Why are they duplicated? Is there any relation to the breakpoints?
Mostly you are using the default gap values (e.g. gap-1 instead of gap-md); see https://tailwindcss.com/docs/gap
Currently the TailwindCSS tokens are adding custom gaps and space values:
base/tokens/tailwind/spacing.json
Lines 28 to 41 in 1b6bbf4
Why do we set them? Why is there no
16px? Why are they duplicated? Is there any relation to the breakpoints?Mostly you are using the default gap values (e.g.
gap-1instead ofgap-md); see https://tailwindcss.com/docs/gap