Skip to content

v1.4.0+wn21

Choose a tag to compare

@seshrs seshrs released this 23 Dec 03:47
· 547 commits to master since this release
bfcb7e3

The past few months have been pretty exciting for Primer Spec — two more EECS courses adopted Primer Spec (EECS 183 and EECS 441). The project also received its first PR from a fork — thanks for your contributions, @bjthompson805! In addition to implementing several enhancements and optimizations, I had a chance to write some documentation about how Primer Spec works — check out the Dev README if you're interested.

This Winter 2021 minor release packs a bunch of new features:

  • Accessibility (A11y) improvements ⚡ ⌨️

    • Primer Spec sites are now better optimized for screen-readers (often used by people with vision impairments). If you've never used a screen-reader before, you should give it a try! It was a humbling experience for me and helped me empathize a bit better with screen-reader-users. See #70 for the technical details.
    • A side-effect of #70 was that it made it easier to tab your way through specs. This is critical for screen-readers, but it also helps you if you're a power-user like @awdeorio who tries not to use the computer mouse 😉
  • Interactive task lists! ☑️
    Did you know you can include task lists in your Markdown specs? Thanks to #72, students can now interact with the checkboxes in task lists to help them keep track of their progress. Primer Spec even persists the checkbox state!

  • Favicons 🖼️
    Specify a favicon in your _config.yml to apply it to all Primer Spec pages in your site. Check out the advanced usage docs. (#79)

  • Other enhancements 🛠️

    • Remember if viewers hide or show the Sidebar between reloads. (#76, thanks @bjthompson805!)
    • On mobile, close the Sidebar if the user clicks any item. (#77, thanks @bjthompson805!)
    • Correctly style inline-code in headings. (#80)
    • Prevent long headings from increasing the Sidebar's width. (#84)
    • Remember the scroll-position of the Sidebar on small screens. (#85)
    • Hide unnecessary scroll bars in Windows. (#86, thanks @sbeinlich and @jadchaar!)
    • Modify the default dark theme to more closely match GitHub’s own dark theme colors. (#95)