Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/components/Label/Label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,17 @@ $transition-timing-function: ease-in-out;
overflow: hidden;
}

&__key {
opacity: 0.7;
}

&__value {
display: flex;
opacity: 0.7;
overflow: hidden;
}

&__separator {
margin: 0 4px;
margin: 0 4px 0 2px;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to make these values token‑based?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you specify which tokens you mean?

Copy link

@ukqfhf ukqfhf Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--g-spacing-half for 2px and --g-spacing-1 or --g-spacing-base for 4px. At the moment, these values cannot be customized. Of course, it would be better if these values were relative like em, in this case, if the font size increases, then the distance from the separator should increase also.

Copy link

@ukqfhf ukqfhf Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better to specify component specific tokens like --comp-label-separator-margin or something at the top element to enable deep customization

}

&__main-button {
Expand Down
Loading