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

[docs] New <uxdot-best-practice> variant #2185

Open
coreyvickery opened this issue Feb 26, 2025 · 2 comments
Open

[docs] New <uxdot-best-practice> variant #2185

coreyvickery opened this issue Feb 26, 2025 · 2 comments
Assignees
Labels
docs Improvements or additions to documentation for dev Ready for development

Comments

@coreyvickery
Copy link
Collaborator

Description

Relates to issues #1449 and #2169.

Requesting a new caution variant for the <uxdot-best-practice> component:

<uxdot-best-practice variant="caution">

Suggested solution

  • Image above is handled the same
  • Use <rh-icon set="ui" icon="warning-fill"></rh-icon>
  • Text has the same specs as Do and Don't
  • The color of both the icon and text is yellow-50

Screenshots

Image

Example API

Additional context

No response

@coreyvickery coreyvickery added the feature New feature or request label Feb 26, 2025
@bennypowers bennypowers added docs Improvements or additions to documentation and removed feature New feature or request labels Feb 27, 2025
@coreyvickery coreyvickery added the for dev Ready for development label Feb 28, 2025
@coreyvickery coreyvickery moved this from Backlog to Todo in Red Hat Design System Feb 28, 2025
@coreyvickery
Copy link
Collaborator Author

Relates to #2169.

@bennypowers
Copy link
Member

idea: when docs have do/don't examples which contain code blocks, the "don't" codeblock should be themed with danger or warning colours in the backround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation for dev Ready for development
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

4 participants