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

[feat] Add border-block-start custom props to <rh-tile> #1719

Closed
markcaron opened this issue Jul 17, 2024 · 1 comment · Fixed by #1721
Closed

[feat] Add border-block-start custom props to <rh-tile> #1719

markcaron opened this issue Jul 17, 2024 · 1 comment · Fixed by #1721
Assignees
Labels
feature New feature or request

Comments

@markcaron
Copy link
Collaborator

markcaron commented Jul 17, 2024

Description

Adding border-block-start custom props to <rh-tile> would allow us to handle a new trend we're seeing in mockups/designs.

Suggested solution

Per FED discussion, we'd add the following custom props:

  • --rh-tile-border-block-start-width
  • --rh-tile-border-block-start-color

Which then can be styled with some CSS in a pattern, like:

--rh-tile-border-block-start-color: var(--rh-color-accent-brand-on-light, #ee0000);
--rh-tile-border-block-start-width: var(--rh-border-width-lg, 3px);

Screenshots

Ignoring the Tile arrow in the heading, we're looking to be able to do something like this:

image
@markcaron markcaron added the feature New feature or request label Jul 17, 2024
@markcaron markcaron self-assigned this Jul 17, 2024
@markcaron markcaron linked a pull request Jul 18, 2024 that will close this issue
@markcaron
Copy link
Collaborator Author

Going with a different approach

@markcaron markcaron moved this from Backlog to Review 🔍 in Red Hat Design System Jul 18, 2024
@github-project-automation github-project-automation bot moved this from Review 🔍 to Done ☑️ in Red Hat Design System Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done ☑️
Development

Successfully merging a pull request may close this issue.

2 participants