Epic CSS / Documentation

Changelog

Release history for the epic-css package, newest first. The latest release is 0.14.6.

Dates are UTC publication dates. Early entries were reconstructed from the repository history; where a version has no recorded source, its entry says so instead of listing changes. To pin a version, replace the number in npm install epic-css@0.14.6 --save-exact.

0.14.6

LatestReleased

Added

  • border-r-24 radius utility and an Inset image card example: 24px outer corners, a 12px top/side image inset with 16px image corners, and a separate 24px-padded content wrapper. Uses shared Epic CSS imagery and a concise heading/paragraph with an inline link, without metadata. Retains 24px image-to-heading spacing.
  • Configurable $grid-patterns map emits only selected breakpoint/track combinations: existing grid-md-1fr-4fr, two equal tracks at medium, and one-to-two plus three equal tracks at large. Added a UI Layouts example with a full-height featured card beside six supporting cards; smaller screens stack the feature and reduce supporting columns.
  • Optional btn-sm size modifier with 12px text, 18px line-height, and 6px vertical / 12px horizontal padding. Size works independently of primary and secondary appearance variants; default button padding and inherited typography remain unchanged. The UI library includes rendered, copyable small primary and secondary examples.

Changed

  • Boxed UI cards now use 24px outer corners while retaining 16px image corners across vertical/horizontal variants, shared layout cards, UI index tiles, icon cards, and slider panels. Homepage/layout embeds inherit shared component changes. Unboxed author profiles retain circular portraits.
  • Theme homepage featured post now uses two equal grid tracks from medium without percentage-width wrappers. Intro regions use a 776px inline maximum width, retaining centered and left-aligned treatments. Color swatches use an example-scoped equal-track grid. Retired auto-fit definitions remain as non-emitting Sass comments for reference.
  • Migrated first-party auto-fitting grids to explicit equal-track patterns: theme post lists use two columns from medium, and the site's category list adds three from large. Grid docs explain the map, selected breakpoint generation, and separate sidebar settings.
  • Renamed responsive row-direction utilities to flex-xs-row, flex-sm-row, flex-md-row, flex-lg-row, and flex-xl-row. Migrate the former <breakpoint>-flex-row names; no aliases are retained. All five minimum widths remain unchanged (0, 480, 820, 960, and 1200px). These utilities set only flex-direction: row; flex-md still enables flex display independently. Migrated theme/site layouts and documentation examples.
  • Eleventy blog category navigation uses small outlined secondary buttons in a wrapping flex row with 12px gaps. Removed the visible Categories heading and replaced its aside label reference with aria-label, preserving destinations and current-page attributes.
  • Audited site SEO: corrected the sitemap and robots origins to https://epiccss.com, restricted the sitemap to public indexable HTML pages without unreliable last-modified dates, added self-canonical URLs and consistent descriptive Epic CSS titles, refreshed home/theme descriptions, added the theme-page H1, and excluded the 404 from indexing. Removed an obsolete unrelated Netlify-domain rewrite; retained the installation redirect. Added generated metadata/sitemap/internal-link checks.
  • Split link teaching into three rendered/copyable examples: an anchor in navigation (inactive/current), a paragraph containing a clr-underline anchor, and a plain anchor outside paragraph/navigation. clr-underline now supplies both primary color and an underline independently of paragraph context; hover uses primary-light and keeps the underline. Navigation still underlines only active/current links. clr-primary remains color-only without special primary-light hover behavior.
  • Default content underlines now apply to paragraph links outside navigation. Navigation links underline only when active/current, including links in nested paragraphs; hover color and focus outlines remain. Link demos and color docs explain these rules and the combined color and underline behavior of clr-underline.
  • Removed docs-lead from docs introductions and deleted its special font-size/line-height rule; introductions now use normal paragraph typography and retain existing paragraph spacing.
  • Reduced the shared body font size from 1.125rem (18px) to 1rem (16px) for typography review, with body line-height set to 1.6rem; paragraph 1.9rem and component-specific line heights are unchanged.
  • Primary buttons now use a solid existing palette accent with white text and modest rounded corners; paired light/dark palettes use the deeper light-mode primary accent in both modes. Secondary buttons now use transparent backgrounds, matching secondary-colored text and outlines, and fully rounded pill corners. Shared structural styling remains in base, with variants in colors.
  • Renamed the UI Buttons presentation to Links and buttons while retaining /ui/buttons/. Added rendered, copyable prose and navigation link examples covering existing palette colors, hover, current-page, and keyboard focus behavior.
  • Button examples and color documentation distinguish base, primary, and secondary class combinations, with native disabled and compact button examples.

Removed

  • Responsive 25%, 50%, and 75% width generator ($grid-fractions) after migrating all first-party usages to grid tracks or inline reading-width caps. Full-width w-100 remains available.
  • grid-col-2 and grid-col-3 fixed-minimum auto-fit helpers after migrating their first-party usages; their definitions remain as non-emitting Sass reference comments. Use selected fractional patterns for equal columns. Both flex-basis helpers remain unchanged: all three slider panels use non-shrinking flex-basis-100, while flex-basis-300 remains defined and documented with no current first-party template usages.

0.14.5

Released

Added

  • Configurable $sidebar-widths map with narrow (208px) and wide (344px) defaults. Each value generates both grid-sidebar-left-lg-<width> and grid-sidebar-right-lg-<width>, including the unit in the class name; consumers can add sizes in custom Sass.
  • flex-lg, order-lg-last and mb-lg-0 utilities for flex display, visual ordering and bottom-margin reset from the large breakpoint (960px).
  • flex-basis-100 and scroll-gutter-container for full-width scroll panels and gutters aligned with the configured container; scrollbar-none hides scrollbars without disabling scrolling.
  • Reusable w-max, min-w-screen, flex-shrink-0, h-40 and w-auto sizing utilities for content-width tracks and proportionally sized SVG marks.
  • Workshop scroll slider with three original design studies, tab controls, native overflow and CSS snapping, keyboard navigation, swipe synchronization and reduced-motion handling.
  • Workshop logo marquee with twelve sample brand marks, a seamless duplicated row, native browser animation, pause/resume and hover/focus pausing. Reduced motion and missing JavaScript leave a static, scrollable row; sample logos imply no customer relationship or endorsement.

Changed

  • container-post uses an independent $container-post-width: 1000px !default. Custom Sass selects 900px, and individual theme posts apply it to main; the header and other pages keep the regular container.
  • Sidebar grids take effect from 960px, with the fixed track on the selected side and normal implicit grid tracks below the breakpoint. The former grid-1fr-4fr-md helper is now grid-md-1fr-4fr, with 1fr 4fr tracks from 820px.
  • Both workshop horizontal card variants keep image-first HTML on mobile and become horizontal from 960px. The image-right variant uses order-lg-last; both image wrappers use mb-24 mb-lg-0 for stacked spacing.
  • The docs layout uses the narrow left-sidebar utility and gap-32 instead of a dedicated layout rule. Grid documentation explains size-map customization and generated names, and the right-sidebar example uses the new utility.
  • The Sliders page presents one example at a time through plain navigation links, with the scroll slider selected by default, shareable fragments, browser history support, full-width previews and collapsed code disclosures. Hidden marquee examples pause their animation.
  • Theme About uses the 344px left sidebar with the workshop author profile, its demo links and retained Bootstrap Icons license notice, a 40px gap and its heading above the main copy. Theme category templates retain their 268px right sidebar through an added custom map entry and the new utility name.
  • Active-link styling recognizes aria-current="page" and aria-current="true". The npm README explains named palette selection and includes a complete consumer-owned preset setup instead of commenting color assignments in and out.

Removed

  • Legacy grid-sidebar-right-268, grid-sidebar-right-344, grid-sidebar-left, lg-grid-sidebar-left-25, lg-grid-sidebar-left-30, lg-grid-sidebar-left-40 and left-sidebar-sm helpers. Migrate HTML to a generated large-breakpoint sidebar class and ensure its exact width exists in the size map.

Fixed

  • The left-sidebar utility places the fixed-width track before flexible main content.
  • Navigation links are excluded from the blanket main-content underline, so only active/current links remain underlined at rest while prose links retain their underline.

0.14.4

Released

Added

  • Workshop author/sidebar profile example with wrapping portrait/text row, full-width bio and labeled demo social links. The site-only Icons gallery adds X, LinkedIn, GitHub and RSS from Bootstrap Icons v1.11.3 with retained MIT notices.
  • Semantic --clr-* runtime color properties and optional complete light/dark $color-modes pairs, preserving central Sass defaults and existing utility names. The workshop adds a persisted, keyboard-operable Dark mode toggle; other consumers keep their own palettes.
  • Named Harbor (blue), Dusk (charcoal/lavender) and Neon (black/coral/teal) workshop presets, each with light/dark modes selected at build time through $palette-name in the site's custom Sass. Saved original palette references remain available.
  • Optional SVG helpers in the image module: .icon for inline alignment and flex-shrink prevention, and .icon-16, .icon-24, .icon-32, .icon-48 for explicit pixel dimensions. The helpers work with any SVG collection and include no icon assets.
  • Workshop Icons page with 21 original outline SVGs, live sizing, copy controls and labeled interface examples.

Changed

  • Moved the workshop theme toggle to the right side of the wrapping header navigation and reduced its padding and filled-button emphasis, preserving dark defaults and saved light/dark choices.
  • Deepened the Neon light secondary surface to separate nested primary-surface cards from their example preview backgrounds, retaining the existing card markup and accent colors.
  • The npm publish workflow retries its post-publish install check while the registry makes a new version available.

0.14.3

Released

Added

  • .btn button base: inline-flex alignment, current-color border, 4px radius, inherited font and color, a :focus-visible outline and a :disabled state.
  • .btn-primary and .btn-secondary variants using the palette text and background colors.
  • .grid-sidebar-right-344: one column that becomes main content plus a 344px right sidebar from 1040px.
  • .flex-2 (flex: 2).

Changed

  • The base reset targets only h1–h6 and sets line-height: normal on them. p and ul no longer receive the zero margin and padding reset.
  • Article typography (heading sizes, paragraph and list spacing) applies only to article.post, not every article. Add the post class to keep these styles.
  • The publish workflow installs the newly published version in a temporary project to verify it.

0.14.2

Released

Added

  • From a module checkout, npm run build and npm run epic-compile compile the full library into build/<package-version>.css with a matching source map that embeds the Sass sources. Older versioned files are kept.
  • test/build.cjs checks the versioned filename, portable map reference, retained older artifacts and compilation failures. npm test runs it with the palette test.
  • .flex-md (flex from the md breakpoint, 820px) and .flex-1.
  • Sidebar grid utilities: .grid-sidebar-left (one column), .grid-1fr-4fr-md (1fr 4fr from 820px, stacking again from 960px to 1024px), and .lg-grid-sidebar-left-25, -30 and -40 (percentage left column wider than 1024px).

Changed

  • $container-width is a !default, so a value assigned before importing the library is kept.
  • body margin is 0 instead of 3px.
  • The automatic bottom margin on post images uses :where(.post) img instead of article img, so explicit margin utilities override it.

0.14.1

Released

Prepared from the published 0.14.0 source.

Added

  • Compiled CSS regression checks for default colors and consumer overrides. npm test runs them, and prepublishOnly runs the tests before publishing.

Changed

  • Document actual palette utilities, source-filter limitations and the site-first release workflow.
  • Limit package contents to Sass source, the two build/filter scripts, the regression test and documentation; generated pre-light CSS and maps are no longer published.
  • Publish from GitHub releases through the npm trusted-publishing workflow.

Fixed

  • Preserve all eight consumer palette values assigned before importing the library by declaring fallback colors with !default.

0.14.0

Released

Published without a matching commit in this repository, so changes in 0.12.0, 0.13.0 and 0.14.0 cannot be separated. Compared with the 0.11.0 source, the published 0.14.0 source has these changes.

Added

  • Font ramp utilities fs-12 to fs-96, lh-12 to lh-96, fw-400, fw-600, fw-700, lh-normal and text-nowrap, backed by :root custom properties that change at 1084px and narrower.
  • Article heading sizes from the font-ramp properties, plus heading, paragraph and list spacing inside article.
  • ul.list-none to remove list bullets.
  • An empty _custom.scss partial.
  • epic-light scans .md files, always keeps :root rules and writes to outputFileName from epicConfig.js.

Changed

  • index.scss imports the font ramp before base styles.
  • The base reset sets margin and padding to 0 on headings, p and ul. Lists keep their bullets unless list-none is used.

Removed

  • text-xs, text-sm, text-lg, text-xl, font-bold and the $text-* variables.
  • .h1–.h4 and .lh-0.
  • Global li margins and the main paragraph, h2 and iframe margins.

0.13.0

Released

Published without a matching commit in this repository. See 0.14.0 for the combined changes after 0.11.0.

0.12.0

Released

Published without a matching commit in this repository. See 0.14.0 for the combined changes after 0.11.0.

0.11.0

Released

0.9.0 and 0.10.0 have no matching commits, so this entry includes all changes since 0.7.0.

Added

  • .clr-white and $clr-white, .border-none.
  • .flex-col-reverse, .flex-basis-300 and .left-sidebar-sm (a sidebar grid from 756px).
  • .position-relative, .position-absolute, .overflow-x-auto, .scroll-snap-x-mandatory, .snap-start, .scroll-smooth, .cursor-pointer, .z-100 and .lh-0.
  • Bottom margins for list items, including Markdown list items containing paragraphs.

Changed

  • Paragraph and h2 spacing applies only inside main, no longer article; iframe elements in main get a bottom margin.
  • Code blocks scroll horizontally only.

Removed

  • a.underline-clr styles.
  • Unused shade variables such as $clr-primary-dark, $clr-secondary-dark and their background variants.

0.10.0

Released

Published without a matching commit in this repository. Its changes are included in the 0.11.0 entry.

0.9.0

Released

Published without a matching commit in this repository. Its changes are included in the 0.11.0 entry.

0.7.0

Released

0.5.0 and 0.6.0 have no matching commits, so this entry includes all changes since 0.4.0.

Added

  • .clr-primary-bg, .clr-secondary-bg, .border-r-4 and .border-r-16.
  • $clr-body for body and link text color.
  • Link styles in main and article, circle bullets for article lists, and styled pre and inline code.
  • Spacing scale $spacers in rem: 0, 4, 6, 8, 10, 12, 16, 18, 20, 24, 32, 40, 56, 60, 64, 80 and 100.

Changed

  • New default palette: #2e106a background, #ffffff text, #00d886 primary and #c6c9e5 secondary.
  • Gap, padding and margin utilities are generated from $spacers; the 2 step was removed.
  • .grid-col-2 and .grid-col-3 auto-fit columns at all widths (minimum 331px and 270px) instead of only from 900px.
  • epic-light keeps each matching media query block once, after other rules.
  • The package homepage is https://epiccss.com.

0.6.0

Released

Published without a matching commit in this repository. Its changes are included in the 0.7.0 entry.

0.5.0

Released

Published without a matching commit in this repository. Its changes are included in the 0.7.0 entry.

0.4.0

Released

Added

  • _variables.scss settings for heading sizes and weight, body size and line heights, body background, and primary and secondary colors.
  • Spacing step 6.

Changed

  • Palette variables use a $clr- prefix.
  • a.underline-clr became a.clr-underline, and .bg-color became .clr-body-bg.
  • epic-light always keeps pre and code styles.

Removed

  • .bg-black.

0.3.0

Released

Added

  • epic-build and epic-light package scripts, configured by a project epicConfig.js, to compile the full stylesheet and filter it to classes used in project files.
  • $container-width (default 1000px) for .container.
  • Body font size, and article list styles.

Changed

  • _spacing.scss was renamed to _spacers.scss.

0.2.0

Released

First version with source in this repository.

Added

  • Sass partials for base styles, font ramp, colors, images, grid and flexbox, and spacing, with src/index.scss importing them all.
  • Draft build and class-filter scripts.
  • README installation guide.

0.1.0

Released

First npm publication. The repository has no source or notes for this version.

These notes come from CHANGELOG.md in the library repository.