aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/samples.py
Commit message (Collapse)AuthorAgeFilesLines
* feat(theme-studio): add 18 language previewsCraig Jennings22 hours1-0/+413
| | | | Add tokenized code samples for Racket, Scheme, Haskell, OCaml, Scala, Kotlin, Swift, Lua, Ruby, Perl, R, Erlang, SQL, PHP, Ada, Fortran, MATLAB, and Assembly, wired into the language dropdown. Each is an idiomatic snippet tagged by syntax category so the studio renders it in the assignment colors. A guard test checks every added language is registered and renders a non-trivial sample.
* refactor(theme-studio): derive the gate list and sentinel the samples splitCraig Jennings6 days1-0/+3
| | | | | | run-tests.sh built its browser-gate list by hand, so a new gate could go unrun or a removed one stay listed (that drift hid the #familytest alias). It now derives the list from the gate blocks in browser-gates.js. generate.py split samples.py on the first "cols=" substring to import only the data section, which would truncate at the wrong place if "cols=" ever appeared earlier. Both sides now use an explicit THEME_STUDIO_DATA_END marker.
* Update theme studio palette workflowCraig Jennings7 days1-1/+2
|
* Add theme studio Rust and Zig samplesCraig Jennings7 days1-1/+63
|
* refactor(theme-studio): rename theme-selector to theme-studioCraig Jennings13 days1-0/+269
The tool authors themes from scratch -- palette, faces across every tier, live preview, export to a loadable deftheme. It never selects among existing themes, so "selector" mis-described it. Renamed the directory, the generated HTML and its title, the design spec, and every reference in the code, README, tests, and todo. No behavior change.