-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add support for local() and data-URIs in font previews. #235
Conversation
* master: Hotfix nested groups bug with undefined groups.
/// The font-formats that we want to import | ||
/// | ||
/// @group config-fonts | ||
$font-formats: 'woff' 'ttf'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since I removed this, not sure if we need to add it back in to the webfont Sass maps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not using any imported fonts, so this is fine.
<div data-specimen="aa">Aa</div> | ||
<div data-specimen="lorem">{{ lorem('alpha') }}</div> | ||
</div> | ||
{% macro specimen_variant(variant, data) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JS was already doing all this logic, so I didn't see a reason to duplicate it in the templates any longer.
* master: fix internal links Add links to jsonfile config where relevant upgrade deps Hotfix: Warn if custom annotation used in prose block with `key` arg.
* master: changelog compile Fix string-encoding and quote-escaping
* master: Release v1.1.0
@mirisuzanne I think this is all finished, ready for final review/merge. In the process of testing it I discovered a related bug in SassDoc that breaks documenting data-uris (#254), but I think we can merge/release this in any case. |
Fixes #173.
Fixes #197.
Fixes #254.
@mirisuzanne Okay, I think the Herman side of this is done. Might need a few adjustments once you've finished the accoutrement-type updates.
One question I wasn't sure about... I removed the
$font-formats
global setting. I added a newformats
key to all the local/embedded-font Sass maps, but I wasn't sure if it was also required on the webfonts.