Commit 9e8e965
default --source to the OS accent, and drop the all-literal case
A stylesheet where every role is literal is a static theme, which the theme page
already emits -- so the branch that dropped --u and --source for it was carrying a
case this file should not serve. Per-role literals stay: shadow, scrim and the fixed
2021 error hue are a third of all roles and cost nothing to emit exactly.
--source now defaults to AccentColor rather than a hardcoded purple, so an import
with no configuration already themes to the user. Verified in both engines that it
resolves as a relative-colour origin through a custom property with maths on the
channels -- CSS.supports() cannot answer that, since a value containing var() is
always accepted at parse time and only fails at computed-value time. AccentColor
also predates relative colour syntax in every engine, so anything that can parse
this file has it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1b8729a commit 9e8e965
1 file changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | 651 | | |
653 | 652 | | |
654 | | - | |
655 | | - | |
656 | | - | |
| 653 | + | |
| 654 | + | |
657 | 655 | | |
658 | 656 | | |
659 | 657 | | |
| |||
709 | 707 | | |
710 | 708 | | |
711 | 709 | | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
716 | 714 | | |
717 | 715 | | |
718 | 716 | | |
719 | 717 | | |
720 | 718 | | |
| 719 | + | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | | - | |
| 723 | + | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
| 726 | + | |
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| |||
0 commit comments