ff-css
repository URL pending
Scope
ff-css formalizes a typed representation of CSS in Agda, centered on safe syntax, properties, and values. Its value layer covers animation, transforms, units, colors, filters, compositing, masking, images, generated content, scrolling, and layout-oriented areas such as tables, multicolumn content, and inline formatting. Common and loose specifications sit alongside the safe modules, making different degrees of structure explicit. Core definitions, metadata, instances, generic support, and rendering connect the domain descriptions to reusable encodings and output. The library uses ff-generics and ff-json within the project and is developed over Cubical Agda.
Most important results
The safe specification defines a typed property language and an extensive value vocabulary instead of reducing declarations to unstructured text. Specialized modules cover animation and transforms together with color, compositing, filtering, masking, and generated content. Additional modules capture unit-bearing values and layout concerns including inline, list, table, multicolumn, ruby, break, containment, and scroll behavior. Rendering, metadata, generic descriptions, and instances provide the surrounding machinery needed to consume those representations.
Library modules
35 checked modules
Select a module to inspect its generated Agda source view.