@mistriwork/engine 1.0.0-rc.57 → 1.0.0-rc.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -127,7 +127,6 @@ export const THEME_PRESETS = [
127
127
  "header": "band",
128
128
  "filters": "solid",
129
129
  "required": "star",
130
- "checkbox": "native",
131
130
  "formStep": "plain",
132
131
  "actionBar": "plain"
133
132
  },
@@ -275,7 +274,7 @@ export const THEME_PRESETS = [
275
274
  "fonts": {
276
275
  "ui": "Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
277
276
  "data": "Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
278
- "heading": "Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
277
+ "heading": "Manrope, \"Manrope Fallback\", Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
279
278
  "figures": "'IBM Plex Mono', 'IBM Plex Mono Fallback', ui-monospace, Menlo, monospace"
280
279
  },
281
280
  "radius": {
@@ -306,7 +305,6 @@ export const THEME_PRESETS = [
306
305
  "header": "plain",
307
306
  "filters": "quiet",
308
307
  "required": "star",
309
- "checkbox": "native",
310
308
  "formStep": "plain",
311
309
  "actionBar": "plain"
312
310
  },
@@ -315,11 +313,12 @@ export const THEME_PRESETS = [
315
313
  "roles": {
316
314
  "title": {
317
315
  "size": "28px",
318
- "weight": 600,
316
+ "weight": 700,
319
317
  "tracking": "-0.02em"
320
318
  },
321
319
  "heading": {
322
320
  "size": "24px",
321
+ "weight": 700,
323
322
  "tracking": "-0.018em"
324
323
  },
325
324
  "section": {
@@ -444,9 +443,8 @@ export const THEME_PRESETS = [
444
443
  "steps": "flat",
445
444
  "lanes": "tint",
446
445
  "header": "plain",
447
- "filters": "dashed",
446
+ "filters": "solid",
448
447
  "required": "star",
449
- "checkbox": "native",
450
448
  "formStep": "plain",
451
449
  "actionBar": "plain"
452
450
  },
@@ -568,8 +566,8 @@ export const THEME_PRESETS = [
568
566
  "recipes": {
569
567
  "nav": "quiet",
570
568
  "bar": "soft",
571
- "tabs": "chosen",
572
- "windows": "chosen",
569
+ "tabs": "tint",
570
+ "windows": "tint",
573
571
  "stat": "panel",
574
572
  "section": "panel",
575
573
  "fields": "panel",
@@ -586,9 +584,8 @@ export const THEME_PRESETS = [
586
584
  "steps": "flat",
587
585
  "lanes": "tint",
588
586
  "header": "band",
589
- "filters": "dashed",
587
+ "filters": "solid",
590
588
  "required": "star",
591
- "checkbox": "native",
592
589
  "formStep": "plain",
593
590
  "actionBar": "plain"
594
591
  },
@@ -601,6 +598,7 @@ export const THEME_PRESETS = [
601
598
  }
602
599
  },
603
600
  "density": "compact",
601
+ "rhythm": "airy",
604
602
  "base": "sage"
605
603
  },
606
604
  {
@@ -686,7 +684,7 @@ export const THEME_PRESETS = [
686
684
  "fonts": {
687
685
  "ui": "Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
688
686
  "data": "'IBM Plex Mono', ui-monospace, Menlo, monospace",
689
- "heading": "Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
687
+ "heading": "Manrope, \"Manrope Fallback\", Inter, \"Inter Fallback\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
690
688
  "figures": "'IBM Plex Mono', 'IBM Plex Mono Fallback', ui-monospace, Menlo, monospace"
691
689
  },
692
690
  "radius": {
@@ -706,7 +704,7 @@ export const THEME_PRESETS = [
706
704
  "stat": "divided",
707
705
  "section": "panel",
708
706
  "fields": "panel",
709
- "table": "hairline",
707
+ "table": "banded",
710
708
  "status": "quiet",
711
709
  "board": "ruled",
712
710
  "chart": "plain",
@@ -719,9 +717,8 @@ export const THEME_PRESETS = [
719
717
  "steps": "strip",
720
718
  "lanes": "plain",
721
719
  "header": "plain",
722
- "filters": "dashed",
720
+ "filters": "solid",
723
721
  "required": "star",
724
- "checkbox": "native",
725
722
  "formStep": "plain",
726
723
  "actionBar": "plain"
727
724
  },
@@ -730,7 +727,7 @@ export const THEME_PRESETS = [
730
727
  "roles": {
731
728
  "title": {
732
729
  "size": "26px",
733
- "weight": 600,
730
+ "weight": 700,
734
731
  "tracking": "-0.01em"
735
732
  },
736
733
  "heading": {
@@ -739,11 +736,11 @@ export const THEME_PRESETS = [
739
736
  "tracking": "-0.018em"
740
737
  },
741
738
  "section": {
742
- "face": "data",
743
739
  "size": "12px",
744
740
  "weight": 500,
745
- "case": "upper",
746
- "tracking": "0.08em"
741
+ "tracking": "0.08em",
742
+ "face": "data",
743
+ "case": "upper"
747
744
  },
748
745
  "label": {
749
746
  "face": "data",
@@ -774,6 +771,7 @@ export const THEME_PRESETS = [
774
771
  }
775
772
  },
776
773
  "density": "compact",
774
+ "rhythm": "tight",
777
775
  "surface": {
778
776
  "ground": {
779
777
  "kind": "grid",
@@ -781,5 +779,462 @@ export const THEME_PRESETS = [
781
779
  }
782
780
  },
783
781
  "base": "ledger"
782
+ },
783
+ {
784
+ "id": "atelier",
785
+ "label": "Atelier",
786
+ "light": p("#f6f3ee #fffdf8 #f0ece4 #e4dfd4 #aba391 #8a8372 #1d1a16 #57514a #6a6359 #b33d0b #f6e6dc #b33d0b #d4612a - - #2c6a46 #855600 #b3261e #2b5fa8 #f6f3ee #1d1a16 #57514a #e4dfd4 #b33d0b #e9e4da #1d1a16 #e8691f #2b5fa8 #2c6a46 #7b4a8c #8a6d1f #2f7f86 #a3510b #8a8578 - - - - #1d1a16 #fffdf8"),
787
+ "dark": p("#141210 #1b1815 #25211d #2e2a25 #5a544b #7f786d #f1ece4 #b8b0a4 #9a9286 #ff9d66 #36281f #ffb88f #d8743a - - #6fc08f #e0b055 #f08a80 #86b4f0 #141210 #f1ece4 #b8b0a4 #2e2a25 #ffb88f #25211d #f1ece4 #f07a32 #86b4f0 #6fc08f #c79ad6 #d8b65c #6fc7cf #d99a5b #8c887f - - - - #f1ece4 #141210"),
788
+ "palettes": [
789
+ {
790
+ "id": "crimson",
791
+ "label": "Crimson",
792
+ "light": p("- - - - - - - - - #b42318 #f6e3dd #b42318 #d9534a - - - - - - - - - - #b42318 - - #d63a32"),
793
+ "dark": p("- - - - - - - - - #ff8f85 #362622 #ffaca5 #e06158 - - - - - - - - - - #ffaca5 - - #e5534b")
794
+ },
795
+ {
796
+ "id": "safety",
797
+ "label": "Safety orange",
798
+ "light": p("-"),
799
+ "dark": p("-")
800
+ },
801
+ {
802
+ "id": "amber",
803
+ "label": "Amber",
804
+ "light": p("- - - - - - - - - #875a00 #f1e9da #875a00 #b57a33 - - - - - - - - - - #875a00 - - #d97706"),
805
+ "dark": p("- - - - - - - - - #f4b24a #352a1b #fbcf86 #b07d2d - - - - - - - - - - #fbcf86 - - #c88317 - #e2896b - #6fc08f #8c887f #d8b65c #6fc7cf")
806
+ },
807
+ {
808
+ "id": "moss",
809
+ "label": "Moss",
810
+ "light": p("- - - - - - - - - #436e10 #e8ecdc #436e10 #638f2a - - - - - - - - - - #436e10 - - #6b9e1f #b4472a #2b5fa8 #2c6a46 #7b4a8c #8a8578 - #2f7f86"),
811
+ "dark": p("- - - - - - - - - #a6d468 #2c2f1f #bfe28f #7aa743 - - - - - - - - - - #bfe28f - - #8cbf45 - #e2896b")
812
+ },
813
+ {
814
+ "id": "emerald",
815
+ "label": "Emerald",
816
+ "light": p("- - - - - - - - - #08734f #e1ece4 #08734f #36966f - - - - - - - - - - #08734f - - #0e9a6c #b4472a #2b5fa8 #2c6a46 #7b4a8c #8a6d1f #8a8578 #a3510b"),
817
+ "dark": p("- - - - - - - - - #4ad6a0 #212f26 #7ee6bd #279771 - - - - - - - - - - #7ee6bd - - #12a678 - #e2896b")
818
+ },
819
+ {
820
+ "id": "teal",
821
+ "label": "Teal",
822
+ "light": p("- - - - - - - - - #0b6f86 #e2ecea #00687e #3c90a4 - - - - - - - - - - #00687e - - #0e8fb0 #b4472a #2b5fa8 #2c6a46 #7b4a8c #8a6d1f #8a8578 #a3510b"),
823
+ "dark": p("- - - - - - - - - #4cc6db #212d2d #79d6e6 #2a8a9c - - - - - - - - - - #79d6e6 - - #0c8ab0 #e2896b #86b4f0 #6fc08f #c79ad6 #d8b65c #6fc7cf #d99a5b")
824
+ },
825
+ {
826
+ "id": "cobalt",
827
+ "label": "Cobalt",
828
+ "light": p("- - - - - - - - - #2d4fd6 #e6e8f4 #2d4fd6 #6880e0 - - - - - - - - - - #2d4fd6 - - #2557e0 #b4472a #7b4a8c #2c6a46 #2f7f86 #8a6d1f #8a8578 #a3510b"),
829
+ "dark": p("- - - - - - - - - #8aa1ff #282831 #91a8ff #5a73d6 - - - - - - - - - - #91a8ff - - #4369f0 #e2896b #c79ad6 #6fc08f #8c887f #d8b65c #6fc7cf #d99a5b")
830
+ },
831
+ {
832
+ "id": "violet",
833
+ "label": "Violet",
834
+ "light": p("- - - - - - - - - #6534d8 #ede5f4 #6534d8 #8a6ee6 - - - - - - - - - - #6534d8 - - #9a6cf7 #b4472a #2b5fa8 #2c6a46 #2f7f86 #8a6d1f #8a8578 #a3510b"),
835
+ "dark": p("- - - - - - - - - #ad91ff #2d2731 #bea8ff #7c63cf - - - - - - - - - - #bea8ff - - #9a78ec #e2896b #86b4f0 #6fc08f #8c887f #d8b65c #6fc7cf #d99a5b")
836
+ },
837
+ {
838
+ "id": "plum",
839
+ "label": "Plum",
840
+ "light": p("- - - - - - - - - #8a1f8f #f1e2eb #8a1f8f #b65bbb - - - - - - - - - - #8a1f8f - - #b847c0 #b4472a #2b5fa8 #2c6a46 #2f7f86 #8a6d1f #8a8578 #a3510b"),
841
+ "dark": p("- - - - - - - - - #e28cea #33262f #edaef2 #b366bb - - - - - - - - - - #edaef2 - - #d062d8 #e2896b #86b4f0 #6fc08f #8c887f #d8b65c #6fc7cf #d99a5b")
842
+ },
843
+ {
844
+ "id": "rose",
845
+ "label": "Rose",
846
+ "light": p("- - - - - - - - - #b4185a #f6e2e5 #b4185a #d0608f - - - - - - - - - - #b4185a - - #e0428a #2c6a46 #2b5fa8 #8a6d1f #7b4a8c #8a8578 - #2f7f86"),
847
+ "dark": p("- - - - - - - - - #f57ab9 #352429 #f9a6cf #bd5a8f - - - - - - - - - - #f9a6cf - - #e0559b")
848
+ },
849
+ {
850
+ "id": "slate",
851
+ "label": "Slate",
852
+ "light": p("- - - - - - - - - #3f5670 #e8e9e8 #3f5670 #6e8399 - - - - - - - - - - #3f5670 - - #5f7690 #b4472a #2b5fa8 #2c6a46 #7b4a8c #8a6d1f #8a8578 #a3510b"),
853
+ "dark": p("- - - - - - - - - #a8bbd2 #2c2c2c #c2d0e1 #6f86a3 - - - - - - - - - - #c2d0e1 - - #8a9fba #e2896b #c79ad6 #6fc08f #8c887f #d8b65c #6fc7cf #d99a5b")
854
+ },
855
+ {
856
+ "id": "ink",
857
+ "label": "Ink",
858
+ "light": p("- - - - - - - - - #1c1a17 #e4e2dd #1c1a17 #726c64 - - - - - - - - - - #1c1a17 - - #2b2620 #b4472a #2b5fa8 #8a6d1f #7b4a8c #8a8578 - #2f7f86"),
859
+ "dark": p("- - - - - - - - - #eeece8 #34312e #eeece8 #9f9a92 - - - - - - - - - - #eeece8 - - #d9d0c0 #e2896b #86b4f0 #6fc08f #c79ad6 #d99a5b #6fc7cf")
860
+ }
861
+ ],
862
+ "defaultPalette": "safety",
863
+ "fonts": {
864
+ "ui": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
865
+ "data": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
866
+ "heading": "\"Iowan Old Style\", \"Palatino Linotype\", Palatino, \"Book Antiqua\", Georgia, serif",
867
+ "figures": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif"
868
+ },
869
+ "radius": {
870
+ "control": "4px",
871
+ "field": "4px",
872
+ "pill": "4px",
873
+ "panel": "6px"
874
+ },
875
+ "recipes": {
876
+ "nav": "quiet",
877
+ "bar": "plain",
878
+ "tabs": "rule",
879
+ "windows": "tint",
880
+ "stat": "plain",
881
+ "section": "open",
882
+ "fields": "rail",
883
+ "table": "open",
884
+ "status": "quiet",
885
+ "board": "ruled",
886
+ "chart": "line",
887
+ "buttons": "accent",
888
+ "links": "name",
889
+ "rules": "ink",
890
+ "avatar": "plain",
891
+ "workflow": "markers",
892
+ "banner": "plain",
893
+ "steps": "strip",
894
+ "lanes": "plain",
895
+ "header": "plain",
896
+ "filters": "quiet",
897
+ "required": "optional-word",
898
+ "formStep": "ruled",
899
+ "actionBar": "plain"
900
+ },
901
+ "elevation": "flat",
902
+ "type": {
903
+ "roles": {
904
+ "title": {
905
+ "face": "heading",
906
+ "size": "30px",
907
+ "weight": 400,
908
+ "tracking": "-0.01em"
909
+ },
910
+ "heading": {
911
+ "face": "heading",
912
+ "size": "26px",
913
+ "weight": 400,
914
+ "tracking": "-0.01em"
915
+ },
916
+ "section": {
917
+ "face": "ui",
918
+ "size": "12px",
919
+ "weight": 600,
920
+ "case": "upper",
921
+ "tracking": "0.09em"
922
+ },
923
+ "figure": {
924
+ "face": "heading",
925
+ "size": "34px",
926
+ "weight": 400,
927
+ "tracking": "-0.01em",
928
+ "features": [
929
+ "lnum"
930
+ ]
931
+ }
932
+ }
933
+ },
934
+ "density": "compact",
935
+ "rhythm": "airy",
936
+ "base": "atelier"
937
+ },
938
+ {
939
+ "id": "graphite",
940
+ "label": "Graphite",
941
+ "light": p("#f1f3f5 #ffffff #eceef1 #e1e4e8 #9aa1ab #78808c #0f1216 #474e58 #5c646f #0b6f86 #e3f5f8 #0b6f86 #3c90a4 - - #16714a #8a5700 #bb2a2a #2459b8 #0f1216 #e6e9ee #a3abb7 #232830 #79d6e6 #1c222b #ffffff #0e8fb0 #9a6cf7 #0e9a6c #d97706 #e0428a #2557e0 #a3510b #94a3b8 #e1e4e8 #e1e4e8 1px - #0f1216 #ffffff"),
942
+ "dark": p("#0b0d10 #111418 #191d23 #232830 #4a525e #727b88 #eef1f5 #aab2be #8c95a2 #4cc6db #0f3540 #79d6e6 #2a8a9c - - #5fcf98 #e2b04e #ff8a80 #8ab4ff #07090b #e6e9ee #a3abb7 #1c2128 #79d6e6 #171c23 #ffffff #0c8ab0 #9a78ec #12a678 #c88317 #e0559b #3559e6 #d26b3b #6b7694 #232830 #232830 1px - #eef1f5 #0b0d10"),
943
+ "palettes": [
944
+ {
945
+ "id": "crimson",
946
+ "label": "Crimson",
947
+ "light": p("- - - - - - - - - #b42318 #fdecea #b42318 #d9534a - - - - - - - - - - #ffaca5 - - #d63a32 #0e8fb0 #9a6cf7 #0e9a6c #d97706 #e0428a #2557e0"),
948
+ "dark": p("- - - - - - - - - #ff8f85 #3d1715 #ffaca5 #e06158 - - - - - - - - - - #ffaca5 - - #e5534b #1597b9 - #9a78ec #c88317 #e0559b #3559e6")
949
+ },
950
+ {
951
+ "id": "safety",
952
+ "label": "Safety orange",
953
+ "light": p("- - - - - - - - - #b33d0b #fdeee4 #b33d0b #d4612a - - - - - - - - - - #ffb88f - - #e8691f #0e8fb0 #9a6cf7 #0e9a6c #2557e0 #e0428a"),
954
+ "dark": p("- - - - - - - - - #ff9d66 #3b2112 #ffb88f #d8743a - - - - - - - - - - #ffb88f - - #f07a32 #1597b9 - #9a78ec #c88317 #e0559b #3559e6")
955
+ },
956
+ {
957
+ "id": "amber",
958
+ "label": "Amber",
959
+ "light": p("- - - - - - - - - #875a00 #fbf2dc #875a00 #b57a33 - - - - - - - - - - #fbcf86 - - #d97706 #0e8fb0 #9a6cf7 #0e9a6c #2557e0 #e0428a"),
960
+ "dark": p("- - - - - - - - - #f4b24a #3a2a10 #fbcf86 #b07d2d - - - - - - - - - - #fbcf86 - - #c88317 #1597b9 - #9a78ec")
961
+ },
962
+ {
963
+ "id": "moss",
964
+ "label": "Moss",
965
+ "light": p("- - - - - - - - - #436e10 #eef4e2 #436e10 #638f2a - - - - - - - - - - #bfe28f - - #6b9e1f #0e8fb0 #9a6cf7"),
966
+ "dark": p("- - - - - - - - - #a6d468 #232f15 #bfe28f #7aa743 - - - - - - - - - - #bfe28f - - #8cbf45 #1597b9 #c88317 #9a78ec")
967
+ },
968
+ {
969
+ "id": "emerald",
970
+ "label": "Emerald",
971
+ "light": p("- - - - - - - - - #08734f #e4f6ed #08734f #36966f - - - - - - - - - - #7ee6bd - - #0e9a6c #0e8fb0 #9a6cf7"),
972
+ "dark": p("- - - - - - - - - #4ad6a0 #0f3529 #7ee6bd #279771 - - - - - - - - - - #7ee6bd - - #12a678 #1597b9 #c88317 #9a78ec")
973
+ },
974
+ {
975
+ "id": "teal",
976
+ "label": "Teal",
977
+ "light": p("-"),
978
+ "dark": p("-")
979
+ },
980
+ {
981
+ "id": "cobalt",
982
+ "label": "Cobalt",
983
+ "light": p("- - - - - - - - - #2d4fd6 #eef1fd #2d4fd6 #6880e0 - - - - - - - - - - #91a8ff - - #2557e0 #0e8fb0 #9a6cf7 #0e9a6c #d97706 #e0428a"),
984
+ "dark": p("- - - - - - - - - #8aa1ff #1d2547 #91a8ff #5a73d6 - - - - - - - - - - #91a8ff - - #4369f0 #1597b9 - #9a78ec #c88317 #e0559b")
985
+ },
986
+ {
987
+ "id": "violet",
988
+ "label": "Violet",
989
+ "light": p("- - - - - - - - - #6534d8 #f1ecff #6534d8 #8a6ee6 - - - - - - - - - - #bea8ff - - #9a6cf7 #0e8fb0"),
990
+ "dark": p("- - - - - - - - - #ad91ff #2a2154 #bea8ff #7c63cf - - - - - - - - - - #bea8ff - - #9a78ec #12a678 #1597b9")
991
+ },
992
+ {
993
+ "id": "plum",
994
+ "label": "Plum",
995
+ "light": p("- - - - - - - - - #8a1f8f #f8eaf8 #8a1f8f #b65bbb - - - - - - - - - - #edaef2 - - #b847c0 #0e9a6c #0e8fb0"),
996
+ "dark": p("- - - - - - - - - #e28cea #3a1840 #edaef2 #b366bb - - - - - - - - - - #edaef2 - - #d062d8 #12a678 #1597b9 - #9a78ec")
997
+ },
998
+ {
999
+ "id": "rose",
1000
+ "label": "Rose",
1001
+ "light": p("- - - - - - - - - #b4185a #fdebf2 #b4185a #d0608f - - - - - - - - - - #f9a6cf - - #e0428a #0e8fb0 #9a6cf7 #0e9a6c #d97706"),
1002
+ "dark": p("- - - - - - - - - #f57ab9 #3e1631 #f9a6cf #bd5a8f - - - - - - - - - - #f9a6cf - - #e0559b #1597b9 - #9a78ec #c88317")
1003
+ },
1004
+ {
1005
+ "id": "slate",
1006
+ "label": "Slate",
1007
+ "light": p("- - - - - - - - - #3f5670 #ebeff4 #3f5670 #6e8399 - - - - - - - - - - #c2d0e1 - - #5f7690"),
1008
+ "dark": p("- - - - - - - - - #a8bbd2 #1f2733 #c2d0e1 #6f86a3 - - - - - - - - - - #c2d0e1 - - #8a9fba")
1009
+ },
1010
+ {
1011
+ "id": "ink",
1012
+ "label": "Ink",
1013
+ "light": p("- - - - - - - - - #1c1a17 #eeedeb #1c1a17 #726c64 - - - - - - - - - - #eeece8 - - #2b2620 #0e8fb0 #9a6cf7 #0e9a6c #d97706 #e0428a #2557e0"),
1014
+ "dark": p("- - - - - - - - - #eeece8 #2a2826 #eeece8 #9f9a92 - - - - - - - - - - #eeece8 - - #d9d0c0 #1597b9 - #9a78ec")
1015
+ }
1016
+ ],
1017
+ "defaultPalette": "teal",
1018
+ "fonts": {
1019
+ "ui": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
1020
+ "data": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
1021
+ "heading": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
1022
+ "code": "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace",
1023
+ "figures": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif"
1024
+ },
1025
+ "radius": {
1026
+ "control": "6px",
1027
+ "field": "6px",
1028
+ "pill": "4px",
1029
+ "panel": "8px"
1030
+ },
1031
+ "recipes": {
1032
+ "nav": "slot",
1033
+ "bar": "dark",
1034
+ "tabs": "lifted",
1035
+ "windows": "segmented",
1036
+ "stat": "panel",
1037
+ "section": "card",
1038
+ "fields": "card",
1039
+ "table": "card",
1040
+ "status": "pill-dot",
1041
+ "board": "strip",
1042
+ "chart": "gradient",
1043
+ "buttons": "accent",
1044
+ "links": "plain",
1045
+ "rules": "hairline",
1046
+ "avatar": "plain",
1047
+ "workflow": "pills",
1048
+ "banner": "plain",
1049
+ "steps": "strip",
1050
+ "lanes": "tag",
1051
+ "header": "plain",
1052
+ "filters": "solid",
1053
+ "required": "star",
1054
+ "formStep": "ruled",
1055
+ "actionBar": "plain"
1056
+ },
1057
+ "elevation": "hairline",
1058
+ "type": {
1059
+ "roles": {
1060
+ "title": {
1061
+ "weight": 600,
1062
+ "tracking": "-0.015em"
1063
+ },
1064
+ "section": {
1065
+ "face": "code",
1066
+ "size": "12px",
1067
+ "weight": 600,
1068
+ "case": "upper",
1069
+ "tracking": "0.06em"
1070
+ },
1071
+ "label": {
1072
+ "face": "code",
1073
+ "size": "11px",
1074
+ "weight": 500,
1075
+ "case": "upper",
1076
+ "tracking": "0.06em"
1077
+ },
1078
+ "data": {
1079
+ "features": [
1080
+ "tnum"
1081
+ ]
1082
+ },
1083
+ "figure": {
1084
+ "face": "code",
1085
+ "weight": 500,
1086
+ "tracking": "-0.02em",
1087
+ "features": [
1088
+ "tnum",
1089
+ "zero"
1090
+ ]
1091
+ }
1092
+ }
1093
+ },
1094
+ "density": "compact",
1095
+ "rhythm": "tight",
1096
+ "base": "graphite"
1097
+ },
1098
+ {
1099
+ "id": "bloom",
1100
+ "label": "Bloom",
1101
+ "light": p("#f2f3f5 #ffffff #eeeff2 #e2e3e7 #abafb6 #82878f #181c21 #4e5259 #60656c #3f5670 #ebeff4 #3f5670 #6e8399 - - #1c7550 #875600 #c0263b #3f5670 #ffffff #181c21 #4e5259 #e2e3e7 #3f5670 - - #5f7690 #9a6cf7 #0e9a6c #d97706 #e0428a #2557e0 #a3510b #94a3b8 #e2e3e7 #e2e3e7 1px - #3f5670 - - - #ffffff"),
1102
+ "dark": p("#0e1114 #15191c #1e2126 #272b31 #4f5660 #777f88 #eceff2 #b1b6be #9298a0 #a8bbd2 #1f2733 #c2d0e1 #6f86a3 - - #6fd0a0 #e6b458 #ff8f9d #c2d0e1 #15191c #eceff2 #b1b6be #272b31 #c2d0e1 - - #8a9fba #9a78ec #12a678 #c88317 #e0559b #3559e6 #d26b3b #6b7694 #272b31 #272b31 1px - #a8bbd2 - - - #15191c"),
1103
+ "palettes": [
1104
+ {
1105
+ "id": "crimson",
1106
+ "label": "Crimson",
1107
+ "light": p("#faf1ed - #f8ede9 #f0e0d9 #c7a79b #a27d71 #2b1510 #684a41 #7c5b53 #b42318 #fdecea #b42318 #d9534a - - - - - #b42318 - #2b1510 #684a41 #f0e0d9 #b42318 - - #d63a32 - - - - #0e8fb0 #2557e0 - #f0e0d9 #f0e0d9 - - #b42318"),
1108
+ "dark": p("#1a0c0b #251311 #301a18 #3d2320 #754742 #9f716a #faebe8 #d0ada6 #b38d87 #ff8f85 #3d1715 #ffaca5 #e06158 - - - - - #ffaca5 #251311 #faebe8 #d0ada6 #3d2320 #ffaca5 - - #e5534b - - - - #1597b9 #3559e6 - #3d2320 #3d2320 - - #ff8f85 - - - #251311")
1109
+ },
1110
+ {
1111
+ "id": "safety",
1112
+ "label": "Safety orange",
1113
+ "light": p("#f9f1ed - #f6ede8 #eee1d9 #c3a99b #9e7f70 #29160f #654b40 #785d51 #b33d0b #fdeee4 #b33d0b #d4612a - - - - - #b33d0b - #29160f #654b40 #eee1d9 #b33d0b - - #e8691f - - #0e8fb0 - - - - #eee1d9 #eee1d9 - - #b33d0b"),
1114
+ "dark": p("#1a0d07 #24140b #2f1c11 #3b2418 #724b35 #9c745e #f9ece4 #cdaf9d #b0907d #ff9d66 #3b2112 #ffb88f #d8743a - - - - - #ffb88f #24140b #f9ece4 #cdaf9d #3b2418 #ffb88f - - #f07a32 - - - - #1597b9 #3559e6 - #3b2418 #3b2418 - - #ff9d66 - - - #24140b")
1115
+ },
1116
+ {
1117
+ "id": "amber",
1118
+ "label": "Amber",
1119
+ "light": p("#f5f3ee - #f1efea #e7e3db #b6ae9e #8f8573 #211a10 #595142 #6c6353 #875a00 #fbf2dc #875a00 #b57a33 - - - - - #875a00 - #211a10 #595142 #e7e3db #875a00 - - #d97706 - - #0e8fb0 - - - - #e7e3db #e7e3db - - #875a00"),
1120
+ "dark": p("#170f04 #211607 #2b1e0b #372811 #6a5029 #937a54 #f5eee1 #c5b397 #a99476 #f4b24a #3a2a10 #fbcf86 #b07d2d - - - - - #fbcf86 #211607 #f5eee1 #c5b397 #372811 #fbcf86 - - #c88317 - - #1597b9 - - - - #372811 #372811 - - #f4b24a - - - #211607")
1121
+ },
1122
+ {
1123
+ "id": "moss",
1124
+ "label": "Moss",
1125
+ "light": p("#f0f4f0 - #ecf1ec #dee6de #a5b4a3 #7c8c78 #161e12 #4a5646 #5c6957 #436e10 #eef4e2 #436e10 #638f2a - - - - - #2f62c9 - #161e12 #4a5646 #dee6de #436e10 - - #6b9e1f - #d97706 #e0428a #0e8fb0 - - - #dee6de #dee6de - - #436e10"),
1126
+ "dark": p("#0d1306 #141b0a #1c2510 #242f17 #4a5d33 #72865d #eaf2e5 #acbd9f #8d9e7d #a6d468 #232f15 #bfe28f #7aa743 - - - - - #8fb5ff #141b0a #eaf2e5 #acbd9f #242f17 #bfe28f - - #8cbf45 - #c88317 #e0559b #1597b9 - - - #242f17 #242f17 - - #a6d468 - - - #141b0a")
1127
+ },
1128
+ {
1129
+ "id": "emerald",
1130
+ "label": "Emerald",
1131
+ "light": p("#eff4f2 - #eaf1ef #dce6e3 #a0b4ad #768c84 #121f19 #455750 #566961 #08734f #e4f6ed #08734f #36966f - - - - - #2f62c9 - #121f19 #455750 #dce6e3 #08734f - - #0e9a6c - #d97706 #e0428a #0e8fb0 - - - #dce6e3 #dce6e3 - - #08734f"),
1132
+ "dark": p("#05140d #081d14 #0d271c #143225 #2d614c #598a75 #e3f3ec #9cc0b0 #7aa290 #4ad6a0 #0f3529 #7ee6bd #279771 - - - - - #8fb5ff #081d14 #e3f3ec #9cc0b0 #143225 #7ee6bd - - #12a678 - #c88317 #e0559b #1597b9 - - - #143225 #143225 - - #4ad6a0 - - - #081d14")
1133
+ },
1134
+ {
1135
+ "id": "teal",
1136
+ "label": "Teal",
1137
+ "light": p("#eff4f6 - #ebf0f3 #dde5e9 #a3b1b9 #788a92 #121e22 #46555b #57676e #0b6f86 #e3f5f8 #0b6f86 #3c90a4 - - - - - #0b6f86 - #121e22 #46555b #dde5e9 #0b6f86 - - #0e8fb0 - - - - - - - #dde5e9 #dde5e9 - - #0b6f86"),
1138
+ "dark": p("#061315 #091b1f #0f2529 #152f34 #305d66 #5c868f #e5f1f5 #9ebcc4 #7d9ea6 #4cc6db #0f3540 #79d6e6 #2a8a9c - - - - - #79d6e6 #091b1f #e5f1f5 #9ebcc4 #152f34 #79d6e6 - - #0c8ab0 - - - - - - - #152f34 #152f34 - - #4cc6db - - - #091b1f")
1139
+ },
1140
+ {
1141
+ "id": "cobalt",
1142
+ "label": "Cobalt",
1143
+ "light": p("#f1f2fb - #edeefa #e0e2f3 #a7adce #7c84a9 #141a30 #49506f #5a6383 #2d4fd6 #eef1fd #2d4fd6 #6880e0 - - - - - #2d4fd6 - #141a30 #49506f #e0e2f3 #2d4fd6 - - #2557e0 - - - - #0e8fb0 - - #e0e2f3 #e0e2f3 - - #2d4fd6"),
1144
+ "dark": p("#0c101c #131727 #1b2033 #232940 #49537a #727ca3 #ebeefb #aeb4d2 #8e96b6 #8aa1ff #1d2547 #91a8ff #5a73d6 - - - - - #91a8ff #131727 #ebeefb #aeb4d2 #232940 #91a8ff - - #4369f0 #12a678 #9a78ec - - #1597b9 - - #232940 #232940 - - #8aa1ff - - - #131727")
1145
+ },
1146
+ {
1147
+ "id": "violet",
1148
+ "label": "Violet",
1149
+ "light": p("#f4f1fb - #f1edf9 #e6e0f2 #b3a8cc #8a7fa8 #1c1730 #544c6e #665e82 #6534d8 #f1ecff #6534d8 #8a6ee6 - - - - - #6534d8 - #1c1730 #544c6e #e6e0f2 #6534d8 - - #9a6cf7 #0e9a6c #d97706 #e0428a #0e8fb0 - - - #e6e0f2 #e6e0f2 - - #6534d8"),
1150
+ "dark": p("#110e1c #191527 #221d33 #2c2640 #584d7a #8176a3 #f0ecfb #b9b0d2 #9a91b6 #ad91ff #2a2154 #bea8ff #7c63cf - - - - - #bea8ff #191527 #f0ecfb #b9b0d2 #2c2640 #bea8ff - - #9a78ec #12a678 #c88317 #e0559b #1597b9 - - - #2c2640 #2c2640 - - #ad91ff - - - #191527")
1151
+ },
1152
+ {
1153
+ "id": "plum",
1154
+ "label": "Plum",
1155
+ "light": p("#f8f0f6 - #f6ecf2 #eddfe8 #c1a5b9 #9a7b93 #261525 #62495d #755b70 #8a1f8f #f8eaf8 #8a1f8f #b65bbb - - - - - #8a1f8f - #261525 #62495d #eddfe8 #8a1f8f - - #b847c0 #0e9a6c #d97706 #e0428a #0e8fb0 - - - #eddfe8 #eddfe8 - - #8a1f8f"),
1156
+ "dark": p("#170c18 #201322 #2b1a2c #362238 #6a476c #947095 #f7eaf6 #c8acc6 #aa8caa #e28cea #3a1840 #edaef2 #b366bb - - - - - #edaef2 #201322 #f7eaf6 #c8acc6 #362238 #edaef2 - - #d062d8 #12a678 #9a78ec - #1597b9 - - - #362238 #362238 - - #e28cea - - - #201322")
1157
+ },
1158
+ {
1159
+ "id": "rose",
1160
+ "label": "Rose",
1161
+ "light": p("#faf0f0 - #f8ecec #f1dedf #c9a4a7 #a37a7f #2b1319 #69484c #7d595e #b4185a #fdebf2 #b4185a #d0608f - - - - - #b4185a - #2b1319 #69484c #f1dedf #b4185a - - #e0428a - - - #0e8fb0 - - - #f1dedf #f1dedf - - #b4185a"),
1162
+ "dark": p("#1a0b12 #24111b #301824 #3c212e #74445b #9e6d83 #fbe9ef #d0aab8 #b38a9b #f57ab9 #3e1631 #f9a6cf #bd5a8f - - - - - #f9a6cf #24111b #fbe9ef #d0aab8 #3c212e #f9a6cf - - #e0559b - - - #1597b9 - - - #3c212e #3c212e - - #f57ab9 - - - #24111b")
1163
+ },
1164
+ {
1165
+ "id": "slate",
1166
+ "label": "Slate",
1167
+ "light": p("-"),
1168
+ "dark": p("-")
1169
+ },
1170
+ {
1171
+ "id": "ink",
1172
+ "label": "Ink",
1173
+ "light": p("#f3f3f2 - #efefef #e3e3e3 #afafae #878685 #1c1c1b #525251 #656463 #1c1a17 #eeedeb #1c1a17 #726c64 - - - - - #1c1a17 - #1c1c1b #525251 #e3e3e3 #1c1a17 - - #2b2620 - - - - #0e8fb0 #2557e0 - #e3e3e3 #e3e3e3 - - #1c1a17"),
1174
+ "dark": p("#111010 #191818 #212120 #2b2b2a #565554 #7f7e7c #efeeee #b6b6b5 #989796 #eeece8 #2a2826 #eeece8 #9f9a92 - - - - - #eeece8 #191818 #efeeee #b6b6b5 #2b2b2a #eeece8 - - #d9d0c0 - - #1597b9 - - - - #2b2b2a #2b2b2a - - #eeece8 - - - #191818")
1175
+ }
1176
+ ],
1177
+ "defaultPalette": "slate",
1178
+ "fonts": {
1179
+ "ui": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
1180
+ "data": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
1181
+ "heading": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
1182
+ "figures": "ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif"
1183
+ },
1184
+ "radius": {
1185
+ "control": "999px",
1186
+ "field": "12px",
1187
+ "pill": "999px",
1188
+ "panel": "20px"
1189
+ },
1190
+ "recipes": {
1191
+ "nav": "float",
1192
+ "bar": "soft",
1193
+ "tabs": "pill",
1194
+ "windows": "lifted",
1195
+ "stat": "bento",
1196
+ "section": "panel",
1197
+ "fields": "panel",
1198
+ "table": "rows",
1199
+ "status": "pill",
1200
+ "board": "soft",
1201
+ "chart": "wash",
1202
+ "buttons": "accent",
1203
+ "links": "plain",
1204
+ "rules": "hairline",
1205
+ "avatar": "round",
1206
+ "workflow": "segments",
1207
+ "banner": "gradient",
1208
+ "steps": "tinted",
1209
+ "lanes": "tint",
1210
+ "header": "plain",
1211
+ "filters": "solid",
1212
+ "required": "star",
1213
+ "formStep": "plain",
1214
+ "actionBar": "raised"
1215
+ },
1216
+ "elevation": "soft",
1217
+ "type": {
1218
+ "roles": {
1219
+ "title": {
1220
+ "size": "30px",
1221
+ "weight": 700,
1222
+ "tracking": "-0.02em"
1223
+ },
1224
+ "section": {
1225
+ "size": "16px",
1226
+ "weight": 600,
1227
+ "tracking": "-0.01em"
1228
+ },
1229
+ "figure": {
1230
+ "size": "32px",
1231
+ "weight": 700,
1232
+ "tracking": "-0.03em"
1233
+ }
1234
+ }
1235
+ },
1236
+ "density": "compact",
1237
+ "rhythm": "airy",
1238
+ "base": "bloom"
784
1239
  }
785
1240
  ];
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The palettes every built-in look offers: one registry, so Cobalt is the same
3
- * blue in Workshop, Lumen, Mono, Sage and Ledger, and a reader who picks it keeps it
3
+ * blue in Workshop, Lumen, Mono, Sage, Ledger, Atelier, Graphite and Bloom, and a reader who picks it keeps it
4
4
  * when they pick another look. A palette is a color identity only — its hue at
5
5
  * the depths a look draws it, light and dark, and the chart series that starts
6
6
  * from it. Everything else stays the look's: its grounds and neutrals
@@ -47,16 +47,19 @@ interface LookPalette {
47
47
  }>>;
48
48
  }
49
49
  export declare const LOOK_PALETTES: readonly LookPalette[];
50
+ /** A palette's hue as one look draws it. */
51
+ export declare function paletteAccent(look: ThemeBase, palette: LookPalette, mode: 'light' | 'dark'): string;
52
+ /** Whether two colours are near enough in hue to be taken for one: within forty degrees of each other on OKLab's
53
+ wheel, both with colour enough to have a hue at all. */
54
+ export declare function sameHue(a: string, b: string): boolean;
50
55
  /**
51
- * One palette as a look draws it, in one mode: the roles the look lets the hue reach, as spec colors.
52
- *
53
- * - Workshop: the hue is the primary verb's fill and its words, links and the current tab's rule, the marker beside
54
- * the menu's ink block, the ring, a checked box and the first chart series; fills, rules and selection stay the
55
- * ink, on paper, with no tint.
56
- * - Lumen: the accent and its pale tint, links, the ring, the menu's mark and the first chart series.
57
- * - Mono and Sage: the same, on their own neutral tint for what is chosen (Mono's gray, Sage's warm cream).
58
- * - Ledger: Lumen's reach and the primary verb's fill, and the hue's ink and the rules (a table's double-ruled heads, a box's top rule) in it;
59
- * the paper and the cover stay the book's own green, with the gilt mark for the current entry.
56
+ * A look's own colours turned to another hue: every neutral keeps how light it is and how much colour it holds, and
57
+ * takes the hue of `like` in place of the hue of `was` (the look's default palette's accent). A look whose page is a
58
+ * tint of its hue (Bloom's lavender ground under violet) is that look in another palette only if the page turns with
59
+ * it: an emerald button on a lavender page is two looks at once. A palette with next to no colour of its own (Slate,
60
+ * Ink) takes the tint out in proportion, so the page under it is grey and not a guess at a hue. What a colour means
61
+ * (`status`) and a chart's series are not neutrals and stay as written.
60
62
  */
63
+ export declare function rehued(colors: ThemeColorsOver, like: string, was: string): ThemeColorsOver;
61
64
  export declare function paletteColors(look: ThemeBase, palette: LookPalette, mode: 'light' | 'dark', series: readonly string[]): ThemeColorsOver;
62
65
  export {};