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: theme add links textDecoration options #1599

Merged

Conversation

imagoiq
Copy link
Contributor

@imagoiq imagoiq commented Apr 30, 2021

Add options to define textDecoration for standard links or on hover.

Breaking change:

  • links.hover is not a property in itself know, but contains color and textDecoration

README.md Outdated
@@ -292,7 +292,10 @@ You can use all of the following options with standalone version on <redoc> tag
* `links`
* `color`: # COMPUTED: colors.primary.main
* `visited`: # COMPUTED: typography.links.color
* `hover`: # COMPUTED: lighten(0.2 typography.links.color)
* `hover`:
Copy link
Member

Choose a reason for hiding this comment

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

I would not make a breaking change, instead I would add hoverTextDecoration and textDecoration

Copy link
Member

@RomanHotsiy RomanHotsiy left a comment

Choose a reason for hiding this comment

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

Left a small suggestion.

Thanks for contribution and sorry for long reply 🙈

@anastasiia-developer anastasiia-developer self-assigned this May 13, 2022
@imagoiq imagoiq requested a review from a team as a code owner May 13, 2022 11:33
@imagoiq imagoiq requested review from AlexVarchuk and zalesky and removed request for a team May 13, 2022 11:33
@anastasiia-developer anastasiia-developer merged commit ba06485 into Redocly:master May 16, 2022
@anastasiia-developer
Copy link
Contributor

@imagoiq Hi! Sorry for the huge delay. Thank you for your contribution to redoc 😄

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.

None yet

4 participants