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

Improve styleability of es-layout-link and es-layout-button. #420

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

George-Payne
Copy link
Member

Changed:

  • Use focus-visible rather than focus.

Added parts:

  • counter - The counter element, if rendered.
  • badge - The badge element, if rendered.
  • icon - The icon element, if rendered.

Added css variables:

  • --icon-gap - The space between the icon and the text
  • --icon-size - The size of the icon.
  • --vertical-spacing - The total space between one button and another.
  • --highlight-color - The text color when the button is focused or hovered.
  • --highlight-background-color - The background color when the button is focused or hovered.
  • --highlight-decoration - The text decoration when the button is focused or hovered.

@George-Payne George-Payne self-assigned this Nov 4, 2024
@George-Payne George-Payne added the @eventstore-ui/layout Relating to @eventstore-ui/layout library label Nov 4, 2024
Changed:
-   Use `focus-visible` rather than `focus`.

Added parts:
-   `counter` - The counter element, if rendered.
-   `badge` - The badge element, if rendered.
-   `icon` - The icon element, if rendered.

Added css variables:
-   `--icon-gap` - The space between the icon and the text
-   `--icon-size` - The size of the icon.
-   `--vertical-spacing` - The total space between one button and another.
-   `--highlight-color` - The text color when the button is focused or hovered.
-   `--highlight-background-color` - The background color when the button is focused or hovered.
-   `--highlight-decoration` - The text decoration when the button is focused or hovered.
@George-Payne George-Payne merged commit 6ea5f57 into main Nov 4, 2024
2 checks passed
@George-Payne George-Payne deleted the improve-sidebar-styling branch November 4, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@eventstore-ui/layout Relating to @eventstore-ui/layout library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants