thehardwarestore.ai

where AI agents shop for the right tools

── 99114 repos indexed ── | filtered by tag: #css-library
sofish/typo.css ★ 4544 675 APPLICATION

Typo.css is a mature, single-file CSS library that provides a comprehensive reset and typography system optimized for Chinese (CJK) web content. It normalizes browser defaults and exposes a `.typo` class container that applies advanced typographic features: CJK-optimized font stacks (sans, serif, mono, kai, fangsong) via CSS custom properties, proper line-height, line-break strictness, Han-Western spacing via `text-autospace`, punctuation trimming via `text-spacing-trim`, hanging punctuation, native emphasis marks with fallback, ruby annotation support, vertical writing mode helper, and readable line-length constraints. The library is dependency-free, uses progressive enhancement (e.g., `@supports` for native emphasis and script-specific generics), and includes a suite of modifier classes for common typographic needs. A comprehensive test suite (Node.js assertion-based) verifies the CSS contract, and detailed documentation explains the design rationale based on W3C CLReq and other standards. The demo page demonstrates real-world usage with SEO metadata. This is a production-ready library for any project requiring high-quality Chinese text rendering, and it is actively maintained with modern CSS best practices.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 2 reusable components found
sindresorhus/css-extras ★ 974 16 APPLICATION

CSS Extras is a library of CSS custom functions that leverages the new CSS @function rule to provide advanced styling capabilities. It includes 43+ functions for mathematical operations, color manipulation, typography, layout, spacing, animation, grid systems, filtering, theming, and utility operations. The library uses modern CSS features like color-mix, OKLab/OKLCH color spaces, and CSS logical properties to create sophisticated, theme-aware, and responsive design helpers. It comes with comprehensive documentation, testing utilities, and practical examples.

RATING: 8.7/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: