dembrandt is a production-grade design token extraction tool that analyzes live websites via headless Chromium (Playwright) and produces structured outputs including colors, typography, spacing, components, shadows, motion, and gradients. It supports multiple export formats: W3C DTCG tokens, Tailwind CSS v4 themes, DESIGN.md, self-contained HTML reports, PDF brand guides, and terminal display. Beyond extraction, it offers drift detection (comparing extractions over time with a 0–100 score), a GitHub Action for CI gates, and an MCP server for AI agent integration (Claude, Cursor). The architecture is modular with fault-isolated extractors, a pure-function drift engine, and a generic async job queue. While primarily an application, it includes an optional ONNX ML model for brand primary color prediction and advanced color science (OKLab, CIEDE2000, gamut mapping), giving it a hybrid character. The codebase demonstrates strong engineering practices: extensive test coverage, CI/CD pipelines, lazy browser loading, and graceful degradation across all output formatters.
This repository is the official home of the CSS Working Group's editor drafts, serving as the authoritative source for the development of CSS specifications. It is a hybrid standards development platform, functioning primarily as a specification authoring and build system. Its core function is to store, build, and publish CSS specification documents (in Bikeshed .bs format) along with their associated examples, test data, and issue tracking. The architecture is a monorepo of loosely coupled specification modules (e.g., css-color-4, css-grid-3), each containing its own source file, build instructions (Makefile), and assets. Shared infrastructure includes build scripts (bin/), CI/CD workflows (.github/), and bundled third-party libraries (MathJax, ReSpec, jQuery) for rendering and authoring. The primary data flow involves editing source files, running the Bikeshed preprocessor, and publishing the resulting HTML. The repository contains several hidden gems of high craftsmanship. The color conversion algorithms in css-color-4/conversions.js and deltaE2000.js are production-grade, self-contained implementations of complex color science. The resizeTestHelper.js provides a robust pattern for testing asynchronous browser APIs. The custom diagram elements in css-view-transitions-1 (slides.js, scaler.js) demonstrate a novel approach to embedding interactive documentation. While the specification content is actively maintained with thousands of open issues and recent commits, the repository suffers from significant technical drift. Bundled dependencies like MathJax v2.0, jQuery 1.7.2, and the legacy ReSpec.js are severely outdated, posing security and compatibility risks. The presence of eval usage, plaintext credential references in Makefiles, and mixed tooling (Bikeshed vs. ReSpec) further contributes to a high technical debt profile. Despite this, the core mission of developing CSS specifications is executed effectively, and the reusable components are genuinely valuable.
This repository provides a collection of open-source display rendering transforms (DRTs) and creative look transforms for professional color grading and compositing pipelines, specifically targeting DaVinci Resolve (via DCTL) and The Foundry Nuke (via .nk group nodes). The core functionality converts scene-referred imagery to display-referred output through a pipeline of gamut conversion, tone scale compression, hue processing, purity compression, and display encoding. It includes multiple DRT implementations (OpenDRT, Tesseract, Chromagnon, JzDT) with varying design philosophies, as well as a suite of look modification tools (ZoneGrade, NotoriousSix series, Nayatani HK, etc.) and utility transforms for gamut and log conversion. The code is grounded in color science standards (ACES, ITU-R BT.2100, CIE XYZ) and academic literature, with careful handling of edge cases through safe math functions. While the transforms are tightly coupled to their target platforms and lack automated testing, the shared header files (libDRT.h, libLMT.h) and standalone utilities demonstrate reusable patterns for color conversion and mathematical operations.