Commit Graph
19 Commits
Author SHA1 Message Date
waozi e87bd75a45 Report recoverable and browser-only native CSS issues 2026-11-22 15:55:25 -03:00
waozi e2d73fcdd4 Export the native CSS style packs 2026-11-22 15:40:45 -03:00
waozi 7dd9fff21b Enable native viewport grids in CSS 2026-11-21 17:08:31 -03:00
waozi eba580e376 Compile native width and height for retained layouts 2026-11-20 12:19:41 -03:00
waozi 95fd8e09cb Compile native CSS transitions and keyframes 2026-11-20 01:52:45 -03:00
waozi 850bf7465c Resolve native CSS color mixes and reduced-motion queries 2026-11-20 01:07:50 -03:00
waozi ad4ec746bb Expand native CSS authoring and remove legacy KSS 2026-11-19 22:12:22 -03:00
waozi 89a0a8b174 Document Kryon CSS and run conformance in CI 2026-11-07 13:58:38 -03:00
waozi 240cf61ab6 Test the CSS subset on every backend
Behavior tests for the parser, sheets, formatter, migrator and DOM
export; a conformance digest that C, C++, Go, ZX, Android and the
browser export must agree on; and a sanitized fuzzer. The export keeps
Kryon's rule ranking, HSL rounds as browsers round it, and the
migrator refuses output that would not parse.
2026-11-07 13:53:00 -03:00
waozi bc247a75de Parse Kryon styles as a CSS subset
Work in progress: the CSS parser, sheet, compiled packs, formatter,
migrator and DOM export replace the KSS reader. Tests and downstream
conversion follow.
2026-11-07 13:15:02 -03:00
waozi d208dc030f Align the Kryon package graph and retain C++ host validation 2026-11-02 04:37:45 -03:00
waozi 7646df8106 Use shared rule capacity for custom KSS sheets 2026-10-09 00:35:23 -03:00
waozi 8dfb075422 Support typed customization tokens and preserve rejected style snapshots 2026-10-09 00:14:04 -03:00
waozi 751df84d31 Preserve authored pixel units in CSS values 2026-10-07 18:38:44 -03:00
waozi 5dc6e6a76c Export portable KSS styles for native browser layout 2026-10-07 18:29:52 -03:00
waozi 3a90196f28 Check that formatting keeps form feeds and vertical tabs inside quotes
The fuzz check now ignores vertical tab and form feed as the lexer
does, so it cannot see them vanish from quoted text. This test formats
a sheet with both inside a quoted value and requires the formatter to
copy them through.
2026-09-29 21:35:11 -03:00
waozi ffbf8cffe5 Treat vertical tab and form feed as whitespace in the KSS fuzz check
The lexer skips them, so the formatter may drop them, but the fuzz check
counted that as a change beyond whitespace (Kryon CI, seed 1113). The
check now uses the lexer's KssIsSpace, and the sheet joins the corpus.
2026-09-29 21:27:02 -03:00
waozi 0cf25d6c00 Import Kryon's theme modules by their module names
kryon/system_theme and kryon/theme resolve both in a --project build
and in an app's module-path build with --module-path kryon=DIR, so an
app that compiles KSS from source without the package map can use it.
2026-09-29 21:03:15 -03:00
waozi 95387b23f5 Parse, format, and install KSS style sheets as a package over Kryon
KSS moves here from Kryon, with the classic, lightfield, and material
style packs, the pack module generator, and the parser tests and
sanitized fuzzing. Kryon keeps the rule table and style resolution;
apps that read .kss text add this package and import kss/Kss or
kss/SystemStyle.
2026-09-29 20:56:55 -03:00