tiny-css for Openclaw

A minimalist CSS philosophy and skill set designed to create efficient, resilient styles by leveraging native browser capabilities and modern logical properties.

mikemai2awesome
v1.0.0
Mar 20, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tiny-css

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tiny-css using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is tiny-css?

tiny-css is a specialized approach within Openclaw Skills designed for developers who value speed, performance, and simplicity. It moves away from heavy CSS resets and complex design systems, instead advocating for a 'trust the browser' mentality. This skill is optimized for personal sites, prototypes, and landing pages where keeping a lean codebase is the priority.

By utilizing modern features like color-scheme, logical properties, and native text-wrapping behaviors, tiny-css ensures your projects are accessible, responsive, and internationalized with the absolute minimum amount of code. It is the perfect antithesis to bloated frameworks, focusing on resilience and user preferences.

tiny-css Use Cases

  • Building lightweight personal portfolios and blogs.
  • Rapidly prototyping UI components without the overhead of a full design system.
  • Creating high-performance landing pages for marketing campaigns.
  • Modernizing legacy small-scale projects with logical properties and system fonts.
  • Developing accessible web content that respects user-defined system settings.

How tiny-css Works

  1. Analyze the project scope to ensure it fits within the minimalist criteria of the skill.
  2. Apply root-level configurations for color-scheme and system typography to leverage browser defaults.
  3. Implement text-wrapping logic using balance and pretty values to optimize readability.
  4. Replace physical properties (margin-left, top) with logical properties (margin-inline, block) to ensure cross-language support.
  5. Integrate media queries for accessibility, including high-contrast and reduced-motion support.
  6. Generate a single, highly optimized CSS file that requires zero JavaScript for core layout functionality.

tiny-css Setup

To implement tiny-css using Openclaw Skills, you can initialize your stylesheet with the following core template:

# Navigate to your project directory
touch style.css

Add the minimal base to your project:

:root {
  color-scheme: light dark;
  accent-color: #0066cc;
  font-family: system-ui;
}

:where(img, svg, video, iframe) {
  max-inline-size: 100%;
  block-size: auto;
}

tiny-css Data Schema & Taxonomy

The tiny-css skill follows a lean data structure to maintain high performance and low maintenance. It organizes styling data as follows:

Component Implementation Strategy
Global Variables Defined in :root using native CSS variables for accent colors.
Layout Driven by logical properties (inline-size, padding-block) for resilience.
Typography System fonts and native text-wrap properties for zero-loading overhead.
Assets SVGs using currentColor to inherit context without extra classes.
Accessibility Media-query driven preferences for motion and forced colors.

tiny-css Advanced Features

  • Conditional smooth scrolling based on user motion preferences.
  • Automatic system-level dark mode integration using the color-scheme property.
  • Forced-colors mode support for Windows High Contrast visibility.
  • Internationalization-ready layouts using CSS Logical Properties.
  • Zero-reset methodology to reduce browser recalculation time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*