Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(utilities): add breakpoint options to docs #4409

Merged
merged 2 commits into from Oct 5, 2021

Conversation

srambach
Copy link
Member

@srambach srambach commented Oct 1, 2021

Fixes #3702

Adds documentation about breakpoints to the text and background color utilities and consolidates some repeated options.

@patternfly-build
Copy link

patternfly-build commented Oct 1, 2021

Preview: https://patternfly-pr-4409.surge.sh

| Class | Applied to | Outcome |
| ---------------------------------------------------------------------- | ---------- | --------------------------------------------------- |
| `.pf-u-font-size-{xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}`| `*` | Sets font-size to xs, sm, md, lg, xl, 2xl, 3xl, 4xl |
| `.pf-u-font-weight-{light, normal, bold}{-on-[breakpoint]}` | `*` | Sets font-size to light, normal, bold |
Copy link
Contributor

Choose a reason for hiding this comment

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

nit - missing a conjunction

Suggested change
| `.pf-u-font-weight-{light, normal, bold}{-on-[breakpoint]}` | `*` | Sets font-size to light, normal, bold |
| `.pf-u-font-weight-{light, normal, bold}{-on-[breakpoint]}` | `*` | Sets font-size to light, normal, or bold |

| `.pf-u-text-truncate` | `*` | Truncates text field |
| Class | Applied to | Outcome |
| ---------------------------------------------------------------------- | ---------- | --------------------------------------------------- |
| `.pf-u-font-size-{xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}`| `*` | Sets font-size to xs, sm, md, lg, xl, 2xl, 3xl, 4xl |
Copy link
Contributor

Choose a reason for hiding this comment

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

nit - missing a conjunction

Suggested change
| `.pf-u-font-size-{xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}`| `*` | Sets font-size to xs, sm, md, lg, xl, 2xl, 3xl, 4xl |
| `.pf-u-font-size-{xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}`| `*` | Sets font-size to xs, sm, md, lg, xl, 2xl, 3xl, or 4xl |

@srambach srambach requested a review from mcoker October 5, 2021 12:47
Copy link
Contributor

@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

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

LPTM🚀

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

🤩

@mcoker mcoker merged commit f858172 into patternfly:main Oct 5, 2021
@patternfly-build
Copy link

🎉 This PR is included in version 4.142.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@srambach srambach deleted the 3702-utility-docs-breakpoints branch June 7, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review utility documentation
4 participants