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

External link icon #239

Merged
merged 5 commits into from
May 8, 2023
Merged

External link icon #239

merged 5 commits into from
May 8, 2023

Conversation

ricklambrechts
Copy link
Member

With this it is possible to set an icon for an external link.

--link-external-icon: var(--icon-cat)

Example link:

<a href="#" rel="external">Externe link</a>

Copy link
Contributor

@HeleenSG HeleenSG left a comment

Choose a reason for hiding this comment

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

I do think it would be best to add external link as a separate component. That way manon will not override any initial values if it isn't being used.

You can add a new scss-file "link-external" accompanied by a variables file "link-external-variables" for example. And add any external link css there. This will give users the option to include this component or not.

@ricklambrechts ricklambrechts merged commit 84b89ba into main May 8, 2023
@ricklambrechts ricklambrechts deleted the external-link-icon branch May 8, 2023 11:24
HeleenSG pushed a commit that referenced this pull request May 9, 2023
* Added link external icon

* Add external link to documentation

* Updated variables in link table

* Seperated external link icon to new component

* Update manon/link-external-variables.scss
HeleenSG pushed a commit that referenced this pull request May 9, 2023
* Added link external icon

* Add external link to documentation

* Updated variables in link table

* Seperated external link icon to new component

* Update manon/link-external-variables.scss
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

2 participants