element-hq / element-hq/compound

Semantic spacing token

Open
#110 1 comment 0 reactions 0 assignees View on GitHub
A-Design-Tokens T-Enhancement
Dominant language
MDX
Stars
24
Forks
7
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

We have spacing tokens defined https://compound.element.io/?path=/docs/tokens-spacing--docs

They are all a multiplier of the `cpdSpace1x` token. Meaning that changing the base spacing will change the whole spacing.
This is very interesting to implement a compact mode in the timeline for example

Compact mode is mostly about vertical density in our context. With the current spacing setup, we have no way of overriding the spacing on a defined axis

**Describe the solution you'd like**

Two spacing scales, for the `X` and `Y` axis?

**Describe alternatives you've considered**

I don't know

**Additional context**

n/a, but would been keen to read @janogarcia thoughts

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.