SkillAgentSearch skills...

Drykit

Ultra lightweight, zero dependency, compilation-free CSS micro-framework

Install / Use

/learn @miragecraft/Drykit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DryKit

Hyper-opinionated, no-build vanilla CSS framework.

Key Features:

  • No dependency and no build steps
  • Superpowered Flexbox and Grid
  • Easy column collapse based on parent or child width (simplified container query)
  • Typography tools with @scope emulation as well as spacing and indentation automation
  • Linear spacing scale and modular type scale
  • Per-property responsiveness based on the space toggle technique
  • Utilizes the latest CSS features available in mainline browsers - Firefox, Chrome/Edge and Safari

Documentation

Code is self-documentating, I do plan to create more detailed documentation and examples to showcase its power once the codebase has stablized.

Here's a simple explanation of each file:

  • _import.css - single file to import, you can also compile all the CSS files together and minify it however since this is meant for personal sites I'd rather keep the files separated and formatted for easy editing/development.
  • dryflight.css - an adaptation of Tailwind's preflight.css for normalization, can swap to other resets/normalize.
  • baseline.css - baseline styles with scales for spacing and text.
  • layout.css - smart Flexbox and Grid with pseudo container query.
  • layout-extra.css - margin based spacing and border divider utilities.
  • layout-polyfill.css - polyfill for container style query, remove when support is good.
  • prose.css - typography helps and logic, with @scope emulation
  • media.css - Space toggle based media query

Philosophy

This is an extremely personal and opinionated framework, it deviates from accepted best practice and values ergonomics over performance, such as using CSS @import.

It harkens back to the era of CSS Zen Garden, and imagines what would a framework look like if developers back then had all the latest CSS features available to them.

Related Skills

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated9mo ago
Forks0

Languages

CSS

Security Score

82/100

Audited on Jun 22, 2025

No findings