Releases: oddbird/accoutrement-type
Releases · oddbird/accoutrement-type
Docs
Minor fix, and doc corrections
local()always comes first in@font-facesrcorder.- Fix typos in docs
Powerful font-importing controls…
Compared against 3.1.0 -
for incremental changes,
see the 3.2 beta changelogs…
- BREAKING: Change
$font-pathdefault to''(empty string)
so that no path is prepended to fonts without explicit settings. - BREAKING: Remove
$font-formatsglobal,
in favor offormatskey inside font-maps.font-face()mixin no longer has$formatsparameter.import-webfonts()mixin no longer has$formatsparameter.
- BREAKING: We no longer accept
regularas a font-variant.
Use the CSS-friendlynormalinstead. - BREAKING/NEW: We now sort font-face src into the proper order for importing,
based on the fontsquirrel generated syntax. - BUGFIX:
font-familyfunction/mixin return proper font-name
when given an alias keys. - NEW: Allow sub-maps for each font variant (in addition to strings),
optionally containing any or all of the following keys:path: generic path to font-files for the given variant,
the same as providing a string instead of a map.svgid{string}: the proper fragment ID for svg fonts, as needed.local{list}: list of font-names to include aslocal()src
for the given variant.<format>{string}: optionally provide different paths per font-format,
Base64 font data, or additional formats for importing.
- NEW: Allow either string or number values
for font-weights (e.g.200or'200'). - New: Supports
unicode-rangeCSS property in font maps,
as described on MDN.
More control over font-variants
3.2.0-beta.2 - 01/23/18
- BREAKING: Move
svgidandlocalinto font-variant sub-maps,
since the required names are variant-specific. - BREAKING: Remove
$font-formatsglobal,
in favor offormatskey inside font-maps.font-face()mixin no longer has$formatsparameter.import-webfonts()mixin no longer has$formatsparameter.
- BREAKING: Change
$font-pathdefault to''(empty string)
so that no path is prepended to fonts without explicit settings. - BUGFIX:
font-familyfunction/mixin return proper font-name
when given alias keys. - INTERNAL: Re-structure internal logic to normalize font maps,
and handle additional font options.
Beta for data-uri and local fonts
3.2.0-beta.1 Release beta
Add-Font Mixin
NEW - add-font mixin helps add individual font maps to the global map.
3.0
- BREAKING: Use proper
::syntax for pseudo-elements - BREAKING: Set
pointer-events: noneon hidden text
Add CDN support options
- Document
$fontproperties - Add
falseoption for font-variants,
to allow documentation without triggering imports - Test remaining mixins:
font-face,import-webfonts, and_import-font-face