Skip to content

feat(ui-link): add variants to <Link>#1937

Merged
HerrTopi merged 1 commit intomasterfrom
link-variant
Apr 11, 2025
Merged

feat(ui-link): add variants to <Link>#1937
HerrTopi merged 1 commit intomasterfrom
link-variant

Conversation

@HerrTopi
Copy link
Contributor

@HerrTopi HerrTopi commented Apr 10, 2025

TEST_PLAN:
Check the ticket and if it's criteria is met. Check the README and if the explanation is it's understandable

INSTUI-4506

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

PR Preview Action v1.6.1
Preview removed because the pull request was closed.
2025-04-11 12:36 UTC

const { containsTruncateText, hasVisibleChildren } = state
const inverseStyle = color === 'link-inverse'

const variantStyles = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are indeed in the styles file. I don't know what you mean

@HerrTopi HerrTopi force-pushed the link-variant branch 2 times, most recently from b6ce6a2 to c2152d6 Compare April 10, 2025 12:58
@HerrTopi HerrTopi requested a review from matyasf April 10, 2025 13:28
@HerrTopi HerrTopi force-pushed the link-variant branch 2 times, most recently from 4658f44 to 3da2404 Compare April 10, 2025 14:57
Copy link
Collaborator

@matyasf matyasf left a comment

Choose a reason for hiding this comment

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

2 small things:

  • Link font size does not come from the theme, this is a bit strange to me
  • The gap between the icon and the text is the same for all sizes, is this OK?

@HerrTopi HerrTopi merged commit 308bb2f into master Apr 11, 2025
10 of 11 checks passed
@HerrTopi HerrTopi deleted the link-variant branch April 11, 2025 12:36
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.

5 participants