-
Notifications
You must be signed in to change notification settings - Fork 14
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(docs): removed documentaion and occurences of text-* utility classes #4399
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 6263304 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Quality Gate passedIssues Measures |
Related Previews |
@@ -95,11 +95,9 @@ export const Default: Story = { | |||
}; | |||
|
|||
const colorVariants = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the icon.docs.mdx
file, just above the color example, the text should be edited as it mentions the the text color utilities.
### Color | ||
|
||
Colorize text with `.text-*` utility classes. | ||
To colorize links, use the `.link-*` classes instead as they also provide styling for the `:hover` and `:focus` states. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The `.link-* classes documentation has been deleted, could you please check that there is no more usage of those classes elsewhere in the docs?
### Reset Color | ||
|
||
Reset a text color with `.text-reset`, so that an element inherits the color from its parent. | ||
|
||
<Canvas of={TextStories.TextColorReset} sourceState="shown" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class might still be useful and is not directly related to the .text-*
color classes.
'@swisspost/design-system-documentation': minor | ||
--- | ||
|
||
Removed documentaion and occurences of text-\* utility classes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed documentaion and occurences of text-\* utility classes. | |
Removed occurences of `.text-*` and `.link-*` color utility classes and its documentation. |
No description provided.