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(icons): allow icon font to be loaded from URL #250

Merged
merged 4 commits into from
Aug 14, 2018
Merged

Conversation

gyoshev
Copy link
Contributor

@gyoshev gyoshev commented Aug 8, 2018

This functionality allows the theme to be compiled without a data: URI, which makes it work in CSP scenarios.

See #223

This functionality allows the theme to be compiled without a data: URI, which makes it work in CSP scenarios.

See #223
@@ -3,10 +3,11 @@
@include exports( "common/icons" ) {

@font-face {
$icon-font-url: map-get( $data-uris, 'WebComponentsIcons.ttf' ) !default;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a minor comment, This could be exported two lines up, yes?

@gyoshev gyoshev merged commit 464cdcf into develop Aug 14, 2018
@gyoshev gyoshev deleted the icon-font-url branch August 14, 2018 05:36
@joneff joneff added this to the 2018.3 milestone Jan 25, 2022
@joneff joneff added the C:Icon label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants