Skip to content

Releases: oddbird/accoutrement-type

Docs

31 Jan 17:57

Choose a tag to compare

4.0.2

Publish updated docs (4.0.2)

Minor fix, and doc corrections

31 Jan 17:22

Choose a tag to compare

  • local() always comes first in @font-face src order.
  • Fix typos in docs

Powerful font-importing controls…

30 Jan 23:51

Choose a tag to compare

Compared against 3.1.0 -
for incremental changes,
see the 3.2 beta changelogs…

  • BREAKING: Change $font-path default to '' (empty string)
    so that no path is prepended to fonts without explicit settings.
  • BREAKING: Remove $font-formats global,
    in favor of formats key inside font-maps.
    • font-face() mixin no longer has $formats parameter.
    • import-webfonts() mixin no longer has $formats parameter.
  • BREAKING: We no longer accept regular as a font-variant.
    Use the CSS-friendly normal instead.
  • BREAKING/NEW: We now sort font-face src into the proper order for importing,
    based on the fontsquirrel generated syntax.
  • BUGFIX: font-family function/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 as local() 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. 200 or '200' ).
  • New: Supports unicode-range CSS property in font maps,
    as described on MDN.

More control over font-variants

23 Jan 18:32

Choose a tag to compare

Pre-release

3.2.0-beta.2 - 01/23/18

  • BREAKING: Move svgid and local into font-variant sub-maps,
    since the required names are variant-specific.
  • BREAKING: Remove $font-formats global,
    in favor of formats key inside font-maps.
    • font-face() mixin no longer has $formats parameter.
    • import-webfonts() mixin no longer has $formats parameter.
  • BREAKING: Change $font-path default to '' (empty string)
    so that no path is prepended to fonts without explicit settings.
  • BUGFIX: font-family function/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

20 Nov 23:43

Choose a tag to compare

Pre-release
3.2.0-beta.1

Release beta

Add-Font Mixin

28 Sep 22:03

Choose a tag to compare

NEW - add-font mixin helps add individual font maps to the global map.

3.0

12 Sep 21:36

Choose a tag to compare

3.0
  • BREAKING: Use proper :: syntax for pseudo-elements
  • BREAKING: Set pointer-events: none on hidden text

Add CDN support options

10 Dec 01:16

Choose a tag to compare

  • Document $font properties
  • Add false option for font-variants,
    to allow documentation without triggering imports
  • Test remaining mixins:
    font-face, import-webfonts, and _import-font-face