Herman Changelog
6.0.2: 2024-11-08
6.0.1: 2024-04-22
- π BUGFIX: Do not overwrite
ctx.emitmethod β #423 - π INTERNAL: Upgrade dependencies
6.0.0: 2024-03-01
π New Features
- Add
sass.implementationoption (stringor Dart Sass instance) to specify the Dart Sass implementation to use for@example scssannotations. (default:sass). - Use faster Dart Sass
AsyncCompilerAPI for@example scssannotations. - Add
exports.sassinpackage.jsonfor simplerpkg:imports.
π₯ Breaking Changes
- Require Dart Sass
^1.71.0for@example scssannotations, using the new Node.js package importer insass.sassOptions.importersby default. - Remove custom Sass importer that supported
~imports for external modules. Replace~withpkg:to use the newer Dart Sass Node.js package importer. - Remove
sass.importersoption (usesass.sassOptions.importersinstead). - Remove deprecated
sass.includesoption (usesass.useinstead). - Drop support for Node < 18
π Internal
- Use
sass-embeddedinstead ofsassinternally - Replace βSource Sans Proβ font with βSource Sans 3β
- Upgrade to Yarn v4 (without PnP)
- Add Dependabot for dependency updates going forward
- Upgrade dependencies
5.0.1: 2022-12-14
- π INTERNAL: Upgrade dependencies
5.0.0: 2022-12-14
No changes from v5.0.0-beta.7. Changes since v4.0.2:
π New Features
- Color previews are now rendered in an
<iframe>which allows them to make use of user-supplied CSS custom properties (and a limited subset of Herman styles). Custom properties are made available via the newcustomPreviewCSSor existingcustomCSSoptions. To be included, custom properties must be declared onhtml,body, or:root. - Length keywords in
@sizes {ruler}maps now display as a border - Allow
utilities.add()to merge data, instead of override utilities.each-value()will pass each value of a map through a given function (this is the previous behavior of passing args toadd())utilities.each-key()will pass each key of a map through a given function- Add
customSourceMapoption (default:customCSSoption +.map) to allow copying source-map file along withcustomCSSfile - Font-map variant keys can be comma-separated β #338
- Add support for non-standard CSS font-weight names β #250
π₯ Breaking Changes
- Font, ratio, size, and color previews are now rendered without user-provided
stylesheets (to avoid style conflicts). CSS custom properties and font-related
CSS are made available via the new (π)
customPreviewCSSor existingcustomCSSoptions. To be included, declarations must be declared onhtml,body, or:rootin the stylesheet set viacustomPreviewCSSorcustomCSSsettings. (All@font-faceat-rules are included.) - Require Dart Sass (
^1.45.0) for@example scssannotations, using the updated Dart Sass JavaScript API. Thesass.implementationoption is removed, along with support fornode-sass. - Rename
sass.importeroption tosass.importers, matching the Dart Sass option. - Remove
sass.includePathsandsass.outputStyleoptions. These are replaced with a newsass.sassOptionsoption, which accepts any options that Dart Sass accepts (e.g.loadPathsorstyle). See the Dart Sass documentation for more details. utilities.add()no longer supports map-compilation functions and arguments, since there are two reasonable approaches. Maps that need to be compiled for Herman must now be compiled before they are added. That can still be done using either:- π NEW:
utilities.each-value()will pass each value of a map through a given function (this is the previous behavior of passing args toadd()) - π NEW:
utilities.each-key()will pass each key of a map through a given function
- π NEW:
- Disable all
autofillannotations for comments that Herman treats as βproseβ (i.e. separated from documented code by one or more newlines). - Drop support for Node < 14
π Bug Fixes
- Switch from tinycolor to colorjs.io for color conversions, to fix bug displaying colors that use hue angle notation.
π Documentation
- Add samples for
@use '~/sassdoc-theme-herman/scss/utilities';
π Internal
- Replace Bluebird dependency with native promises.
- Replace CircleCI, Codecov, and AppVeyor with GitHub Actions
- Include source-maps with Herman JS & CSS assets
- Remove documentation static-site from repository and npm package
- Limit size of NPM package
- Upgrade dependencies
5.0.0-beta.7: 2022-12-07
- π₯ BREAKING: Rename
customPropertiesCSSoption tocustomPreviewCSS - π BUGFIX: Add missing font-related CSS (e.g.
font-family,font-size,@font-face) to color, font, ratio, and size previews. To be included, declarations must be declared onhtml,body, or:rootin the stylesheet set viacustomPreviewCSSorcustomCSSsettings. (All@font-faceat-rules are included.) - π INTERNAL: Upgrade dependencies
5.0.0-beta.6: 2022-11-23
- π BUGFIX: Add missing CSS custom properties for font, ratio, and size previews
5.0.0-beta.5: 2022-11-22
- π₯ BREAKING: Require Dart Sass (
^1.45.0) for@example scssannotations, using the updated Dart Sass JavaScript API. Thesass.implementationoption is removed, along with support fornode-sass. - π₯ BREAKING: Rename
sass.importeroption tosass.importers, matching the Dart Sass option. - π₯ BREAKING: Remove
sass.includePathsandsass.outputStyleoptions. These are replaced with a newsass.sassOptionsoption, which accepts any options that Dart Sass accepts (e.g.loadPathsorstyle). See the Dart Sass documentation for more details. - π₯ BREAKING: Font, ratio, size, and color previews are now rendered without
user-provided stylesheets (to avoid style conflicts). CSS custom properties
are made available via the new (π)
customPropertiesCSSor existingcustomCSSoptions. To be included, custom properties must be declared onhtml,body, or:root. - π INTERNAL: Replace Bluebird dependency with native promises.
- π INTERNAL: Upgrade dependencies
5.0.0-beta.4: 2022-11-11
- π BUGFIX: Add missing styles for color previews
5.0.0-beta.3: 2022-11-07
- π NEW: Color previews are now rendered in an
<iframe>which allows them to make use of user-suppliedcustomCSSand a limited subset of Herman styles. - π BUGFIX: Switch from tinycolor to colorjs.io for color conversions, to fix bug displaying colors that use hue angle notation.
- π INTERNAL: Remove documentation from npm package
- π INTERNAL: Upgrade dependencies
- π INTERNAL: Replace CircleCI, Codecov, and AppVeyor with GitHub Actions
5.0.0-beta.2: 2022-08-24
- π BUGFIX: Add border color/style for length keywords in
@sizes {ruler}maps - π INTERNAL: Upgrade dependencies
5.0.0-beta.1: 2022-08-19
- π NEW: Length keywords in
@sizes {ruler}maps will display as a border - π INTERNAL: Upgrade dependencies
5.0.0-beta.0: 2022-08-12
- π₯ BREAKING: Disable all
autofillannotations for comments that Herman treats as βproseβ (i.e. separated from documented code by one or more newlines). - π₯ BREAKING: Drop support for Node < 14
- π₯ BREAKING:
utilities.add()no longer supports map-compilation functions and arguments, since there are two reasonable approaches. Maps that need to be compiled for Herman must now be compiled before they are added. That can still be done using either:- π NEW:
utilities.each-value()will pass each value of a map through a given function (this is the previous behavior of passing args toadd()) - π NEW:
utilities.each-key()will pass each key of a map through a given function
- π NEW:
- π NEW: Allow
utilities.add()to merge data, instead of override - π NEW: Add
customSourceMapoption (default:customCSSoption +.map) to allow copying source-map file along withcustomCSSfile - π NEW: Font-map variant keys can be comma-separated β #338
- π NEW: Add support for non-standard CSS font-weight names β #250
- π INTERNAL: Include source-maps with Herman JS & CSS assets
- π INTERNAL: Upgrade dependencies
- π INTERNAL: Remove documentation static-site from repository
- π INTERNAL: Limit size of NPM package
- π DOCS: Add samples for
@use '~/sassdoc-theme-herman/scss/utilities';
4.0.2: 2021-05-07
- π BUGFIX: Fix build error on package install
4.0.1: 2021-05-07
- π BUGFIX: Pin cheerio dependency to fix breaking change
- π INTERNAL: Upgrade dependencies
4.0.0: 2021-01-04
- No changes from v4.0.0-rc.1
4.0.0-rc.1: 2021-01-04
- π₯ BREAKING: Drop support for Node < 10
- π₯ BREAKING: Switch to Dart Sass throughout, and use as default
sass.implementationoption - π₯ BREAKING: Convert Herman-specific options to camelCase (
fontPath,nunjucks.templatePath,sass.jsonFile,sass.includePaths,sass.outputStyle) - π₯ BREAKING: Herman no longer automatically optimizes SVG icons using SVGO
- π₯ BREAKING: Remove
herman-prefix from Sass JSON utilities:herman-add()=>add()herman-export()=>export()herman-map-compile()=>compile()
- π NEW: Add support for using namespaced Sass
modules
in
@example scssannotations withsass.useoption - π NEW: Default Sass importer (used by
@example scss) now supports~imports of external modules in Yarn PnP environments - π NEW: Allow using custom Sass importer with
@example scssvia newsass.importeroption - π DOCS: Fix broken links in Changelog
- π INTERNAL: Upgrade dependencies:
3.2.0: 2020-06-16
- π BUGFIX: Use iframes to properly render size-related previews (all
@font,@ratios, and@sizespreviews are now each rendered in an<iframe>, receiving user-suppliedcustomCSSand a limited subset of Herman styles) β #339 - π INTERNAL: Upgrade dependencies
3.1.0: 2020-04-24
- π NEW: Add
sass.implementation(default:node-sass) andsass.use(default:[]) options to support Dart Sass β #342 and #341 - π INTERNAL: Use Dart Sass to compile Herman styles
- π INTERNAL: Upgrade dependencies
3.0.2: 2019-01-09
- π BUGFIX: Allow local system fonts without
formatsβ #336
3.0.1: 2019-01-07
- π BUGFIX: Improve error message when reading external files β #311
- π INTERNAL: Remove
node-sassfrompeerDependencies - π INTERNAL: Upgrade dependencies
3.0.0: 2018-04-09
- π₯ BREAKING: Move
node-sasstopeerDependencies - π BUGFIX: Do not require
node-sassif@example scssis not used - π INTERNAL: Upgrade dev dependencies
2.1.0: 2018-04-02
- π NEW: Add
sass.outputStyleoption (default:expanded) β #263 - π BUGFIX: Escape backslashes in
herman-exportstring values - π BUGFIX: Fix bug if annotations try to access missing
env.hermanβ #273 - π BUGFIX: Fix bug displaying tabs in
<code>blocks β #271 - π BUGFIX: Fix bugs in
customCSSURL re-writing β #265, #266 - π INTERNAL: Run tests on Windows β #270
- π INTERNAL: Upgrade dependencies
2.0.0: 2018-01-31
- π NEW: Add support for CSS
@font-facelocal()src in font previews β #173 - π NEW: Add support for embedded data-URI (
data:...) font previews β #197 - π₯ BREAKING: Remove
@fontannotation βformatsβ option ({woff, woff2}) β replaced byformatskey in font Sass map - π₯ BREAKING: Ignore
@fontSass map top-levelsvgidoption β replaced by variant-specific nestedsvgidoption - π BUGFIX:
@fontpreviews for local/embedded fonts now sort@font-facesrc according to fontsquirrel generated syntax - π INTERNAL: Use forked version of scss-comment-parser allowing semicolons in documented variable values (e.g. data-URIs) β #254
1.1.0: 2018-01-17
- π NEW: Extend SassDoc groups setting to allow nesting groups in named categories β #228
- π BUGFIX: Fix
herman-exportincluding incorrectly escaped quotes (especially when compiled with Ruby Sass) β #236 - π INTERNAL: Remove deprecated dev-dependency
gulp-util - π INTERNAL: Upgrade dependencies
1.0.1: 2018-01-03
- π DOCS: Document Herman-specific styles and patterns.
- π BUGFIX: Open links within iframe in parent context
(
<base target="_parent">).
π 1.0.0: 2017-12-15 π
No changes from v1.0.0-rc.8. Changes since v0.5.5:
π New Features
- Support for remaining SassDoc annotations:
@throw,@return,@output,@content,@since,@deprecated,@author,@todo,@type,@alias(and aliased callback),used-by(@requireannotation callbacks) - New
@font,@colors,@sizes, and@ratiosannotations (replace@previewannotation) β #206 - Support for SassDoc
googleAnalyticsandtrackingCodeoptions β #215 - Site-wide search β #28
extraDocsoption: adds additional files (parsed as Markdown) β #117extraLinksoption: adds external links to sidebar nav β #175displayColorsoption: customizes color formats displayed with@colorsannotationcustomHTMLoption: HTML to include in rendered@exampleannotations (replacesminifiedIconsoption)- Support βproseβ SassDoc comments, that arenβt attached to a Sass block (parsed as Markdown)
- Sass:
herman-exportmixin β JSON-export functionality is now built-in Sass-json-export integration should continue to work as expected - Sass:
herman-add($key, $map, $argsβ¦)function β adds maps directly to$herman, with optional function/args to compile raw map values
π₯ Breaking Changes
- Require Node >= 6.0.0
- Remove
@previewannotation (replaced by new@font,@colors,@sizes, and@ratiosannotations) β #206 - Remove
@macroannotation (replaced by@example njk) β #182 @iconsannotation now only requires path to a folder of SVG icons: relative to the project directory, no longer relative to thetemplatepathoption β #47- Herman-specific options are now nested under top-level
hermanobject in SassDoc configuration - Remove
minifiedIconsoption (replaced with newcustomHTMLoption) - Remove
customHeadoption (replaced by multiline@fontannotation) - Sass-specific options are now nested under
herman.sassobject - Remove top-level
templatepathandnunjucksEnvoptions β now nested under newnunjucksoptions object:nunjucks.templatepathandnunjucks.environment customCSSis only included in rendered@exampleannotation iframes- Group navigation is now ordered according to config
groupsorder β #150 - Preserve the original order of SassDoc comments, rather than grouping by type
- Sass:
$hermanexport map structure is now organized by type, in nested maps:colors,sizes,ratios, andfonts - Sass:
herman-addmixin now requires an initial$typeargument, in order to assign the given data to the proper nested data-type map - Sass: Rename
$jsonto$hermanfor clearer name-spacing - Sass:
_herman-inspect, and_herman-str-replaceare now considered private functions - Sass:
herman-map-compilealways returns inspected (json-ready) values, and now accepts function args - Sass: Remove
herman-add-colors/-sizes/-ratios/-fontfrom utils
π Bug Fixes
- Return correct promise from theme function (fixes early resolution)
UsedBylist is aware ofdisplay.aliasto unlink hidden aliases- Do not link to internal
@access privateitems ifdisplayoption is set toaccess: ['public'] - Fix assets referenced with relative urls in client-provided
customCSSfor@exampleannotations β #174 - Fix blocks with multi-line selectors and custom
@nameannotations β #140 - Fix broken internal links β #106
- Do not break layout on fonts with single-item stack β #172
π Polish
- Add attribution/link to Herman/OddBird in nav footer (hidden if
display.watermarkis set tofalse) β #154 - Replace marked with markdown-it for Markdown parsing with quote beautification β #119
- Add βwidontβ text transformations with typogr
- Pretty-print compiled HTML/Nunjucks with html prettyprinter
- Add Herman logo for default favicon β #155
- Group identical colors in
@colorscolor-palette β #123 - Display
@examplesource and compiled code (njk and html; scss and css) side-by-side β #65, #37 - Display links on index pages to project home and source,
when defined in the project
package.jsonβ #91 - Clean up display of parameters and properties β #53, #49, #55
- Re-brand with sidebar navigation β #58, #69
- Various branding and style improvements
π Internal
- Use forked version of CDocParser
preserving
///within comments β #212 - Use
installJinjaCompatfor default Nunjucks environment - Bundle static assets with Webpack; precompile JS with Babel β #205
- Do not minify compiled HTML assets β #186
- Move documentation to
docs/and include in repo - Flesh out Herman documentation
- Use GoogleFonts rather than shipping font files
- Add 100% test coverage
- Update dependencies
1.0.0-rc.8: 2017-12-14
- CHANGE: Use
installJinjaCompatfor default Nunjucks environment. - BUGFIX: Fix prettyPrint for compiled HTML/Nunjucks.
1.0.0-rc.7: 2017-12-12
- NEW: Support SassDoc
googleAnalyticsandtrackingCodeoptions β #215 - CHANGE: Use forked version of CDocParser preserving
///within comments β #212 - BUGFIX: Fix paths to custom assets referenced from
customCSS.
1.0.0-rc.6: 2017-12-04
- BUGFIX: Fix search result page links.
1.0.0-rc.5: 2017-12-04
- BUGFIX: Fix fetching site-search JSON file.
1.0.0-rc.4: 2017-12-04
- BUGFIX: Fix broken site-search action attribute.
- CHANGE: Hide Herman watermark if SassDoc
display.watermarkisfalse.
1.0.0-rc.3: 2017-11-30
- BUGFIX: Correct for overzealous npm-ignoring (fixes missing scss utilities).
1.0.0-rc.2: 2017-11-30
- NEW: Add site-wide search β #28
- CHANGE: Bundle static assets with Webpack; precompile JS with Babel β #205
- BREAKING: Remove
@previewannotation, split it into distinct@colors,@sizes,@ratiosannotations.@colors,@ratios, and@sizesannotations accept optional one-word key argument instead of semicolon-separatedkey:valuearguments.@sizesstill acceptsstyleargument, now in curly-brackets ({...}).countargument removed from@ratiosannotation β #206 - CHANGE:
@fontannotation accepts font name (first argument) without being wrapped in'or".
1.0.0-rc.1: 2017-11-24
- NEW: Add additional files (parsed as Markdown) with
extraDocsoption β #117 - CHANGE: JSON-export functionality is now built in
using the
herman-exportmixin. Sass-json-export integration should continue to work as expected. - Updated dependencies.
- BREAKING: Remove
subprojectsoption; replace withextraLinksoption β #175 - BREAKING: Removed
@macroannotation; use@example njkinstead β #182 - CHANGE: HTML assets are no longer minified β #186
- CHANGE: Replace marked with markdown-it for Markdown parsing with quote beautification β #119
- NEW: Add βwidontβ text transformations with typogr.
- BUGFIX: Ensure consistent ordering of
extraDocs. - BREAKING:
@iconsannotation only requires path to a folder of SVG icons β #47 - BREAKING: Replace
minifiedIconsoption withcustomHTMLoption (only included in rendered@exampleannotations). - BREAKING: Nest
templatepathandnunjucksEnvoptions under newnunjucksoptions object:nunjucks.templatepathandnunjucks.environment. - NEW: Add attribution/link to Herman/OddBird in nav footer β #154
- CHANGE: Use Herman logo for favicon. β #155
1.0.0-alpha.15: 2017-10-30
- BUGFIX: Do not error if local file (referenced from
customCSS) is not found - BUGFIX: Do not output duplicate custom
@fontHTML in@exampleiframe
1.0.0-alpha.14: 2017-10-27
- BREAKING: Remove
accoutrement-addas a public utility, since Sass 3.5+ modular sytems will make it unusable. - Updated dependencies.
- BUGFIX: Fix broken internal links β #106
- BREAKING: Group navigation is ordered according to config
groupsorder β #150 - BUGFIX: Do not error if
sassconfig option isundefined. - BUGFIX: Do not break layout on fonts with single-item stack β #172
- BREAKING:
@preview font-specimenis replaced by new@fontannotation. - BREAKING: Removed
customHeadoption; replaced by multiline@fontannotation. - BUGFIX: Fix assets referenced with relative urls in client-provided
customCSSfor@exampleannotations β #174
1.0.0-alpha.13: 2017-09-25
- BREAKING:
$hermanexport map structure is now organized by type, in nested maps:colors,sizes,ratios, andfonts. - BREAKING:
herman-addmixin now requires an initial$typeargument, in order to assign the given data to the proper nested data-type map.
1.0.0-alpha.12: 2017-09-18
- BUGFIX: Typo from updating to latest accoutrement-scale
- BUGFIX: Improved internal logic for
herman-map-compilemixin
1.0.0-alpha.11: 2017-09-18
- BUGFIX: Do not error on prose blocks without
item.context.name
1.0.0-alpha.10: 2017-09-14
- BREAKING: Rename
$jsonto$hermanfor clearer name-spacing - BREAKING:
_herman-inspect, and_herman-str-replaceare now considered private functions - BREAKING:
herman-map-compilealways returns inspected (json-ready) values, and now accepts function args - BREAKING: Remove
herman-add-colors/-sizes/-ratios/-fontfrom utils - BREAKING: Require Node >= 6.0.0
- NEW: Use
herman-add($key, $map, $argsβ¦)to add maps directly to$herman, with optional function/args to compile raw map values - NEW: Use
accoutrement-add($type, $key, $map)to automate compilation of accoutrement (color, ratio, size, font) maps, while adding to both$hermanand the appropriate accoutrement global ($colors,$ratios,$sizes,$fonts). - NEW:
displayColorsoption (type:Array, default:['hex', 'rgb', 'hsl']) - CHANGE: Group identical colors in color-palette β #123
- BUGFIX: Fix blocks with multi-line selectors and custom @name annotations β #140
- DOCS: Move to
docs/and include in repo.
1.0.0-alpha.9: 2017-06-29
- BUGFIX: Remove non-standard html markup on prose blocks
1.0.0-alpha.8: 2017-06-28
- BUGFIX: Remove un-used font files from distribution
- Render sassdoc comments that arenβt attached to a Sass block as Markdown prose.
- Preserve the original order of sassdoc comments rather than grouping by type.
1.0.0-alpha.7: 2017-06-16
- BUGFIX: Render icon previews in iframes.
- BUGFIX: Adjusted styles for navigation and text.
- BUGFIX: Added styles for blockquotes.
- BREAKING:
minifiedIconsoption and the first argument to the@iconsannotation are both paths relative to the project directory, no longer relative to thetemplatepathoption.
1.0.0-alpha.6: 2017-06-14
- BREAKING: Render examples in iframes and only include custom CSS in those iframes, for better isolation.
1.0.0-alpha.5: 2017-06-08
- BUGFIX: Style cleanup for code-blocks, examples, and properties
- BUGFIX: UsedBy list is aware of
display.aliasto unlink hidden aliases
1.0.0-alpha.4: 2017-06-02
- BREAKING: Move
customHeadoption intohermanoptions object. - BUGFIX: Return correct promise from theme function (fixes early resolution).
1.0.0-alpha.3: 2017-05-31
- Use GoogleFonts rather than shipping font files
- Add support for remaining SassDoc annotations:
@throw,@return,@output,@content,@since,@deprecated,@author - Provide more samples
1.0.0-alpha.2: 2017-05-31
- BUGFIX: Show compiled html/css @example even if only one type.
1.0.0-alpha.1: 2017-05-29
- Display links on index pages to project home and source,
when defined in the project
package.jsonβ #91 - Clean up display of parameters and properties β #53 and #49 and #55
- Display source and compiled code (njk and html; scss and css) side-by-side β #65
- Add support for @todo annotation β #18
- Add support for @type annotation β #19
- Add support for @alias (and aliased callback) annotation β #5
- Add support for used-by (@require annotation callbacks).
- Show compiled CSS for
@example scssannotations β #37 - BREAKING: Nest Herman-specific options under
hermanobject in sassdoc configuration, and Sass-specific options underherman.sassobject. - Re-brand with sidebar navigation β #58 and #69.
- Add support for rendering documentation from dependency subprojects β #61.
- BUGFIX: Do not link to internal
@access privateitems ifdisplayoption is set toaccess: ['public']. - BUGFIX: Do not error if missing
herman.subprojectsoption β #107. - BUGFIX: Do not error if missing
hermanoptions β #108.
0.5.5: 2017-02-22
- Fix @example macro to work with sassdoc v2.2.0. See https://github.com/SassDoc/sassdoc/commit/842847493f9644e50f9e2ce783eacf886ccf69a0.
0.5.4: 2017-01-16
- Render type
htmlexamples to HTML β #45.
0.5.3: 2016-12-22
- Prevent template render errors when data is missing. Fixes #44.
0.5.2: 2016-12-15
- Change absolute
@seelinks to relative paths, so weβre not assuming a root URL for the styleguide. - Add
customHeadoption to add custom HTML to the<head>.
0.5.1: 2016-12-13
- Add optional
showargument for font-specimen previews β@preview font-specimen; show: regular, bold, bold italicβ allowing you to override what variants are displayed in the specimen.
0.5.0: 2016-12-09
- Add table output for
@propertyannotation, similar to@parametertable output. - Standardize
data-sassdoc-display='<annotation>'for annotation display blocks (previously a mix ofdata-sassdocvalues), anddata-sassdoc-table'<annotation>'for tables (previouslydata-sassdoc='<annotation>-table').
0.4.0: 2016-11-08
- Inject preview data directly into HTML, so that previews donβt have to be styled locally
- Add Sass Utilities file, for help with setting/exporting Sass data
herman-add-colormixin now exports hex, rgba, and hsla colors.- Simplified font previews donβt require size input
- Color, font, ratio, and size previews accept
keyargument, in case the JSON key doesnβt match the variable name (most common for fonts) - Ratio preview accets
countargument [1-10], determining how many instances of the ratio to display (default is6) - Size preview accepts
styleargument [text|ruler|output-only], determining the type of preview to display (default istext, see scale for examples)
0.3.2: 2016-09-29
- Mark imported
minifiedIconsfile as|safe.
0.3.1: 2016-09-14
- Added
nunjucksEnvoption to use a custom nunjucks environment. - Added
jinjasyntax highlighting for@example njkcode blocks.
0.3.0: 2016-08-17
- Added rendering of @example annotations using the njk (nunjucks) language.
- Removed rendering of macro examples using
macroname_data.
0.2.1: 2015-12-23
- Updated dependencies.
0.2.0: 2015-12-17
- Add
@iconsannotation. - Add
@previewannotation for color palettes and font specimens. - Add syntax highlighting of code blocks.
0.1.0: 2015-11-25
- Initial release.
@macroannotation and basic infrastructure.