Drykit
Ultra lightweight, zero dependency, compilation-free CSS micro-framework
Install / Use
/learn @miragecraft/DrykitREADME
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
@scopeemulation 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
@scopeemulation - 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
node-connect
354.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
