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
Added
border-r-24radius 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-patternsmap emits only selected breakpoint/track combinations: existinggrid-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-smsize 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, andflex-xl-row. Migrate the former<breakpoint>-flex-rownames; no aliases are retained. All five minimum widths remain unchanged (0, 480, 820, 960, and 1200px). These utilities set onlyflex-direction: row;flex-mdstill 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-underlineanchor, and a plain anchor outside paragraph/navigation.clr-underlinenow 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-primaryremains 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-leadfrom 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) to1rem(16px) for typography review, with body line-height set to1.6rem; paragraph1.9remand 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-widthw-100remains available. grid-col-2andgrid-col-3fixed-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-shrinkingflex-basis-100, whileflex-basis-300remains defined and documented with no current first-party template usages.
0.14.5
Added
- Configurable
$sidebar-widthsmap with narrow (208px) and wide (344px) defaults. Each value generates bothgrid-sidebar-left-lg-<width>andgrid-sidebar-right-lg-<width>, including the unit in the class name; consumers can add sizes in custom Sass. flex-lg,order-lg-lastandmb-lg-0utilities for flex display, visual ordering and bottom-margin reset from the large breakpoint (960px).flex-basis-100andscroll-gutter-containerfor full-width scroll panels and gutters aligned with the configured container;scrollbar-nonehides scrollbars without disabling scrolling.- Reusable
w-max,min-w-screen,flex-shrink-0,h-40andw-autosizing 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-postuses an independent$container-post-width: 1000px !default. Custom Sass selects 900px, and individual theme posts apply it tomain; 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-mdhelper is nowgrid-md-1fr-4fr, with1fr 4frtracks 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 usemb-24 mb-lg-0for stacked spacing. - The docs layout uses the narrow left-sidebar utility and
gap-32instead 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"andaria-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-40andleft-sidebar-smhelpers. 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
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-modespairs, 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-namein the site's custom Sass. Saved original palette references remain available. - Optional SVG helpers in the image module:
.iconfor inline alignment and flex-shrink prevention, and.icon-16,.icon-24,.icon-32,.icon-48for 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
Added
.btnbutton base: inline-flex alignment, current-color border, 4px radius, inherited font and color, a:focus-visibleoutline and a:disabledstate..btn-primaryand.btn-secondaryvariants 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–h6and setsline-height: normalon them.pandulno longer receive the zero margin and padding reset. - Article typography (heading sizes, paragraph and list spacing) applies only to
article.post, not everyarticle. Add thepostclass to keep these styles. - The publish workflow installs the newly published version in a temporary project to verify it.
0.14.2
Added
- From a module checkout,
npm run buildandnpm run epic-compilecompile the full library intobuild/<package-version>.csswith a matching source map that embeds the Sass sources. Older versioned files are kept. test/build.cjschecks the versioned filename, portable map reference, retained older artifacts and compilation failures.npm testruns it with the palette test..flex-md(flex from themdbreakpoint, 820px) and.flex-1.- Sidebar grid utilities:
.grid-sidebar-left(one column),.grid-1fr-4fr-md(1fr 4frfrom 820px, stacking again from 960px to 1024px), and.lg-grid-sidebar-left-25,-30and-40(percentage left column wider than 1024px).
Changed
$container-widthis a!default, so a value assigned before importing the library is kept.bodymargin is0instead of3px.- The automatic bottom margin on post images uses
:where(.post) imginstead ofarticle img, so explicit margin utilities override it.
0.14.1
Prepared from the published 0.14.0 source.
Added
- Compiled CSS regression checks for default colors and consumer overrides.
npm testruns them, andprepublishOnlyruns 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
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-12tofs-96,lh-12tolh-96,fw-400,fw-600,fw-700,lh-normalandtext-nowrap, backed by:rootcustom 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-noneto remove list bullets.- An empty
_custom.scsspartial. epic-lightscans.mdfiles, always keeps:rootrules and writes tooutputFileNamefromepicConfig.js.
Changed
index.scssimports the font ramp before base styles.- The base reset sets margin and padding to
0on headings,pandul. Lists keep their bullets unlesslist-noneis used.
Removed
text-xs,text-sm,text-lg,text-xl,font-boldand the$text-*variables..h1–.h4and.lh-0.- Global
limargins and themainparagraph,h2andiframemargins.
0.13.0
Published without a matching commit in this repository. See 0.14.0 for the combined changes after 0.11.0.
0.12.0
Published without a matching commit in this repository. See 0.14.0 for the combined changes after 0.11.0.
0.11.0
0.9.0 and 0.10.0 have no matching commits, so this entry includes all changes since 0.7.0.
Added
.clr-whiteand$clr-white,.border-none..flex-col-reverse,.flex-basis-300and.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-100and.lh-0.- Bottom margins for list items, including Markdown list items containing paragraphs.
Changed
- Paragraph and
h2spacing applies only insidemain, no longerarticle;iframeelements inmainget a bottom margin. - Code blocks scroll horizontally only.
Removed
a.underline-clrstyles.- Unused shade variables such as
$clr-primary-dark,$clr-secondary-darkand their background variants.
0.10.0
Published without a matching commit in this repository. Its changes are included in the 0.11.0 entry.
0.9.0
Published without a matching commit in this repository. Its changes are included in the 0.11.0 entry.
0.7.0
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-4and.border-r-16.$clr-bodyfor body and link text color.- Link styles in
mainandarticle, circle bullets for article lists, and styledpreand inlinecode. - Spacing scale
$spacersin rem: 0, 4, 6, 8, 10, 12, 16, 18, 20, 24, 32, 40, 56, 60, 64, 80 and 100.
Changed
- New default palette:
#2e106abackground,#fffffftext,#00d886primary and#c6c9e5secondary. - Gap, padding and margin utilities are generated from
$spacers; the2step was removed. .grid-col-2and.grid-col-3auto-fit columns at all widths (minimum 331px and 270px) instead of only from 900px.epic-lightkeeps each matching media query block once, after other rules.- The package homepage is https://epiccss.com.
0.6.0
Published without a matching commit in this repository. Its changes are included in the 0.7.0 entry.
0.5.0
Published without a matching commit in this repository. Its changes are included in the 0.7.0 entry.
0.4.0
Added
_variables.scsssettings 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-clrbecamea.clr-underline, and.bg-colorbecame.clr-body-bg.epic-lightalways keepspreandcodestyles.
Removed
.bg-black.
0.3.0
Added
epic-buildandepic-lightpackage scripts, configured by a projectepicConfig.js, to compile the full stylesheet and filter it to classes used in project files.$container-width(default1000px) for.container.- Body font size, and article list styles.
Changed
_spacing.scsswas renamed to_spacers.scss.
0.2.0
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.scssimporting them all. - Draft build and class-filter scripts.
- README installation guide.
0.1.0
First npm publication. The repository has no source or notes for this version.
These notes come from CHANGELOG.md in the library repository.