8000 chore(tokens): updated form element spacers to tokens by thatblindgeye · Pull Request #6464 · patternfly/patternfly · GitHub
[go: up one dir, main page]

Skip to content

chore(tokens): updated form element spacers to tokens#6464

Merged
mcoker merged 3 commits intopatternfly:v6from
thatblindgeye:iss6363_formSpacer
Mar 29, 2024
Merged

chore(tokens): updated form element spacers to tokens#6464
mcoker merged 3 commits intopatternfly:v6from
thatblindgeye:iss6363_formSpacer

Conversation

@thatblindgeye
Copy link
Contributor
@thatblindgeye thatblindgeye commented Mar 26, 2024

Closes #6363

Only updated TODOs/existing form element vars to tokens. Started to update instances of t-shirt spacers, but that may depend on naming (for example, plain buttons would need a new token added, but does --pf-t--global--spacer--button--plain--default/--pf-t--global--spacer--button--plain--compact make sense?). Also using the same spacer on different components could cause different spacing than possibly intended (had placed a spacer on the Text Input Group left/right padding as well as a Drawer close button's padding or margin, and it results in one of them having significant difference than current spacing; couldn't really think of a good name for a new token other than maybe "--enlarged" or "--extra-compact" and such)

@patternfly-build
Copy link
Collaborator
patternfly-build commented Mar 26, 2024

@thatblindgeye thatblindgeye linked an issue Mar 26, 2024 that may be closed by this pull request
Copy link
Collaborator
@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

I think this looks good...🤞

@srambach
Copy link
Member

This seems to have some differences - the alert is getting taller and then the text aligns oddly
image

And the card is taller than it used to be
image

And form control is definitely off :-(

Copy link
Member
@srambach srambach left a comment

Choose a reason for hiding this comment

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

I see a teensy shift from before in card and in where the X is on alerts, but it seems to be lined up with the text so afaict it's good!

@mcoker mcoker merged commit 4626a52 into patternfly:v6 Mar 29, 2024
@patternfly-build
Copy link
Collaborator

🎉 This PR is included in version 6.0.0-alpha.109 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add form element semantic spacer

5 participants

0