Project
Example design systems
Unofficial ports of Audi UI and Fluent 2, with their generated documentation, and the conformance scenarios that drive the language.
Unofficial ports: Audi UI and Fluent 2
Two public design systems are ported to DSF to check that the format, the compiler and the generators handle real systems.
| Port | Contents | Generated documentation |
|---|---|---|
examples/audi |
Colors, easing and type of the Audi style guide, with button and checkbox values from the Apache-2.0 legacy @audi/audi-ui package (cited file by file); Button, tri-state Checkbox, ConsentBar; 30 examples; a one-page specimen for comparison |
Open the Audi UI port |
examples/fluent |
Global and alias tokens (light and dark) from Microsoft’s MIT-licensed @fluentui packages; Button with five appearances, Checkbox, SaveBar; 28 examples |
Open the Fluent 2 port |
Unofficial. These ports are not affiliated with or endorsed by AUDI AG or Microsoft. They contain no logo, font file or icon of either brand. Brand names only identify the source; fonts are referenced by family name with system fallbacks, and the icons are original.
Each port has a dsf.hcl that generates SwiftUI, Angular, materialized DTCG JSON and its
documentation, published on this site:
dsfc generate --config examples/fluent/dsf.hcl
Both pass dsfc check and all their examples, and their SwiftUI and Angular code builds and
passes its tests. Every value is traced to its source, with licenses and what could not be
retrieved, in
examples/SOURCES.md.
Conformance scenarios
The language is designed through fourteen original scenarios in
fixtures/scenarios, each
with positive and negative cases.
| Scenario | Shows |
|---|---|
| 01 Button, calculated | Geometry derived from a grid unit, themes, overrides, a usage rule |
| 02, 03 Buttons | State layers, icons chosen at run time, a pinned icon library |
| 04 Checkbox | Tri-state controlled value, accessibility, reduced motion |
| 07 Nested panel | Context provided to a subtree, layered surfaces |
| 05, 06, 08–14 | Text field, adaptive navigation, material panel, combobox, dialog, split view, tree data grid, color picker, shared transition |
Every scenario is executable: dsfc check reports nothing and dsfc test passes its
examples. All fourteen also generate on SwiftUI and Angular with no DSF-X001, build, and
pass the tests generated from their examples; examples that need focus, time or geometry run
in dsfc test only (all of scenario 10’s).