Since OddBird thinks about handoff from the beginning,
maintenance has been super easy.
For example, 100% unit test coverage was a given.
I never had to ask forit.
/// The primary function for /// accessing colors in your palette... /// @example scss /// html { /// background: color('background'); /// } /// @param {string | list} $color - /// The name of a color in your palette... /// @return {color} - /// A calculated css-ready color... @functioncolor(...){...}
///@colors ///@sizes ///@ratios ///@fonts
/// These colors are rarely used directly, /// but form the basis of our palette. /// @group color /// @colors $brand-colors:( 'brand-blue':hsl(195, 52%, 31%), 'brand-orange':hsl(24, 100%, 62%), 'brand-pink':hsl(330, 100%, 45%), );
/// Navigation items, with inactive and active states. /// @group nav /// @example njk /// {% import 'nav.macros.njk' as nav %} /// {{ nav.bar(active="dashboard", items=[…]) }} .nav-bar { /* … */ }
/* @docs label: elide category: typesetting note: | Elide HTML at a given word count, and append `…` if elided. params: html: type: string count: type: Number default: 50 */ constelide=(html, count =50)=>{/* … */}