Skip to content

Tailwind Tokens: Additional gaps and space #325

Open
@pschaub

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions