meowtail 0.4.0-alpha.4 → 0.4.0-alpha.5
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.
- package/CHANGELOG.md +7 -0
- package/README.md +18 -0
- package/dist/src/theme/base.styles.js +5 -0
- package/dist/src/theme/components/button.styles.js +17 -3
- package/dist/src/theme/components/output-block.styles.js +35 -10
- package/dist/src/theme/doodle.tokens.d.ts +70 -8
- package/dist/src/theme/doodle.tokens.js +26 -3
- package/dist/src/theme/index.d.ts +402 -4
- package/dist/src/theme/index.js +16 -0
- package/dist/src/theme/journal.tokens.d.ts +62 -0
- package/dist/src/theme/journal.tokens.js +2 -0
- package/dist/src/theme/meow.tokens.d.ts +62 -0
- package/dist/src/theme/meow.tokens.js +2 -0
- package/dist/src/theme/ottr.tokens.d.ts +62 -0
- package/dist/src/theme/ottr.tokens.js +1 -0
- package/dist/src/theme/pine.tokens.d.ts +426 -0
- package/dist/src/theme/pine.tokens.js +126 -0
- package/dist/src/theme/tokens.d.ts +70 -0
- package/dist/src/theme/tokens.js +35 -0
- package/dist/src/theme/utilities.js +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export { journalFonts, journalUiTokenValues, journalUiTokens, type ThemeFont, }
|
|
|
5
5
|
export { meowUiTokenValues, meowUiTokens } from "./meow.tokens.js";
|
|
6
6
|
export { ottrUiTokenValues, ottrUiTokens } from "./ottr.tokens.js";
|
|
7
7
|
export { doodleFonts, doodleUiTokenValues, doodleUiTokens } from "./doodle.tokens.js";
|
|
8
|
+
export { pineFonts, pineUiTokenValues, pineUiTokens } from "./pine.tokens.js";
|
|
8
9
|
export { ui, utilityStyles } from "./utilities.js";
|
|
9
10
|
export { chartTokens } from "./shared/chart.tokens.js";
|
|
10
11
|
export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
@@ -19,6 +20,36 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
|
|
|
19
20
|
readonly knockout: readonly ["#ffffff", "#1a1a1a"];
|
|
20
21
|
readonly scrim: readonly ["rgb(0 0 0 / 24%)", "rgb(0 0 0 / 50%)"];
|
|
21
22
|
};
|
|
23
|
+
readonly canvas: {
|
|
24
|
+
readonly wash: "none";
|
|
25
|
+
readonly selection: "revert";
|
|
26
|
+
};
|
|
27
|
+
readonly marker: {
|
|
28
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
29
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
30
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
31
|
+
};
|
|
32
|
+
readonly button: {
|
|
33
|
+
readonly filledStroke: "0";
|
|
34
|
+
readonly outlineStroke: string;
|
|
35
|
+
readonly pressOffset: "0.5px";
|
|
36
|
+
readonly filledPressed: string;
|
|
37
|
+
readonly outlinePressed: string;
|
|
38
|
+
};
|
|
39
|
+
readonly terminal: {
|
|
40
|
+
readonly surface: string;
|
|
41
|
+
readonly ink: string;
|
|
42
|
+
readonly muted: string;
|
|
43
|
+
readonly command: string;
|
|
44
|
+
readonly prompt: string;
|
|
45
|
+
readonly divider: string;
|
|
46
|
+
readonly focus: string;
|
|
47
|
+
readonly danger: string;
|
|
48
|
+
readonly success: string;
|
|
49
|
+
readonly warning: string;
|
|
50
|
+
readonly info: string;
|
|
51
|
+
readonly reference: string;
|
|
52
|
+
};
|
|
22
53
|
readonly inverse: {
|
|
23
54
|
readonly surface: readonly ["#262626", "#404040"];
|
|
24
55
|
readonly ink: "#ffffff";
|
|
@@ -26,6 +57,7 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
|
|
|
26
57
|
};
|
|
27
58
|
readonly line: {
|
|
28
59
|
readonly width: "1px";
|
|
60
|
+
readonly raisedWidth: string;
|
|
29
61
|
readonly edge: readonly ["rgb(0 0 0 / 8%)", "rgb(255 255 255 / 9%)"];
|
|
30
62
|
readonly divider: readonly ["rgb(0 0 0 / 6%)", "rgb(255 255 255 / 6%)"];
|
|
31
63
|
readonly control: readonly ["rgb(0 0 0 / 13%)", "rgb(255 255 255 / 14%)"];
|
|
@@ -223,6 +255,36 @@ export declare const standardTheme: import("meowcss").ThemeDefinition;
|
|
|
223
255
|
* the same `ui` roles. Mount it instead of `standardTheme`; components and markup do not change.
|
|
224
256
|
*/
|
|
225
257
|
export declare const journalThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
258
|
+
readonly canvas: {
|
|
259
|
+
readonly wash: "none";
|
|
260
|
+
readonly selection: "revert";
|
|
261
|
+
};
|
|
262
|
+
readonly marker: {
|
|
263
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
264
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
265
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
266
|
+
};
|
|
267
|
+
readonly button: {
|
|
268
|
+
readonly filledStroke: "0";
|
|
269
|
+
readonly outlineStroke: string;
|
|
270
|
+
readonly pressOffset: "0.5px";
|
|
271
|
+
readonly filledPressed: string;
|
|
272
|
+
readonly outlinePressed: string;
|
|
273
|
+
};
|
|
274
|
+
readonly terminal: {
|
|
275
|
+
readonly surface: string;
|
|
276
|
+
readonly ink: string;
|
|
277
|
+
readonly muted: string;
|
|
278
|
+
readonly command: string;
|
|
279
|
+
readonly prompt: string;
|
|
280
|
+
readonly divider: string;
|
|
281
|
+
readonly focus: string;
|
|
282
|
+
readonly danger: string;
|
|
283
|
+
readonly success: string;
|
|
284
|
+
readonly warning: string;
|
|
285
|
+
readonly info: string;
|
|
286
|
+
readonly reference: string;
|
|
287
|
+
};
|
|
226
288
|
readonly surface: {
|
|
227
289
|
readonly canvas: readonly ["#fbf9f4", "#121110"];
|
|
228
290
|
readonly reading: readonly ["#fbf9f4", "#121110"];
|
|
@@ -240,6 +302,7 @@ export declare const journalThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
240
302
|
readonly action: "#ec9284";
|
|
241
303
|
};
|
|
242
304
|
readonly line: {
|
|
305
|
+
readonly raisedWidth: string;
|
|
243
306
|
readonly width: "1px";
|
|
244
307
|
readonly edge: readonly ["#e4ddd1", "#2c2925"];
|
|
245
308
|
readonly divider: readonly ["#ebe5da", "#24221f"];
|
|
@@ -438,6 +501,36 @@ export declare const journalTheme: import("meowcss").ThemeDefinition;
|
|
|
438
501
|
* markup do not change.
|
|
439
502
|
*/
|
|
440
503
|
export declare const meowThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
504
|
+
readonly canvas: {
|
|
505
|
+
readonly wash: "none";
|
|
506
|
+
readonly selection: "revert";
|
|
507
|
+
};
|
|
508
|
+
readonly marker: {
|
|
509
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
510
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
511
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
512
|
+
};
|
|
513
|
+
readonly button: {
|
|
514
|
+
readonly filledStroke: "0";
|
|
515
|
+
readonly outlineStroke: string;
|
|
516
|
+
readonly pressOffset: "0.5px";
|
|
517
|
+
readonly filledPressed: string;
|
|
518
|
+
readonly outlinePressed: string;
|
|
519
|
+
};
|
|
520
|
+
readonly terminal: {
|
|
521
|
+
readonly surface: string;
|
|
522
|
+
readonly ink: string;
|
|
523
|
+
readonly muted: string;
|
|
524
|
+
readonly command: string;
|
|
525
|
+
readonly prompt: string;
|
|
526
|
+
readonly divider: string;
|
|
527
|
+
readonly focus: string;
|
|
528
|
+
readonly danger: string;
|
|
529
|
+
readonly success: string;
|
|
530
|
+
readonly warning: string;
|
|
531
|
+
readonly info: string;
|
|
532
|
+
readonly reference: string;
|
|
533
|
+
};
|
|
441
534
|
readonly surface: {
|
|
442
535
|
readonly canvas: readonly ["#faf8f3", "#0a0a0a"];
|
|
443
536
|
readonly reading: readonly ["#fffdf8", "#0a0a0a"];
|
|
@@ -455,6 +548,7 @@ export declare const meowThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
455
548
|
readonly action: "#ff6b6e";
|
|
456
549
|
};
|
|
457
550
|
readonly line: {
|
|
551
|
+
readonly raisedWidth: string;
|
|
458
552
|
readonly width: "1px";
|
|
459
553
|
readonly edge: readonly ["rgb(10 10 10 / 10%)", "rgb(255 255 255 / 10%)"];
|
|
460
554
|
readonly divider: readonly ["rgb(10 10 10 / 7%)", "rgb(255 255 255 / 7%)"];
|
|
@@ -649,6 +743,36 @@ export declare const meowThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
649
743
|
export declare const meowTheme: import("meowcss").ThemeDefinition;
|
|
650
744
|
/** Ottr is a compact workbench theme with warm surfaces and mint interaction states. */
|
|
651
745
|
export declare const ottrThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
746
|
+
readonly canvas: {
|
|
747
|
+
readonly wash: "none";
|
|
748
|
+
readonly selection: "revert";
|
|
749
|
+
};
|
|
750
|
+
readonly marker: {
|
|
751
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
752
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
753
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
754
|
+
};
|
|
755
|
+
readonly button: {
|
|
756
|
+
readonly filledStroke: "0";
|
|
757
|
+
readonly outlineStroke: string;
|
|
758
|
+
readonly pressOffset: "0.5px";
|
|
759
|
+
readonly filledPressed: string;
|
|
760
|
+
readonly outlinePressed: string;
|
|
761
|
+
};
|
|
762
|
+
readonly terminal: {
|
|
763
|
+
readonly surface: string;
|
|
764
|
+
readonly ink: string;
|
|
765
|
+
readonly muted: string;
|
|
766
|
+
readonly command: string;
|
|
767
|
+
readonly prompt: string;
|
|
768
|
+
readonly divider: string;
|
|
769
|
+
readonly focus: string;
|
|
770
|
+
readonly danger: string;
|
|
771
|
+
readonly success: string;
|
|
772
|
+
readonly warning: string;
|
|
773
|
+
readonly info: string;
|
|
774
|
+
readonly reference: string;
|
|
775
|
+
};
|
|
652
776
|
readonly icon: {
|
|
653
777
|
readonly small: "14px";
|
|
654
778
|
readonly size: "16px";
|
|
@@ -682,6 +806,7 @@ export declare const ottrThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
682
806
|
readonly action: "#8ad3bd";
|
|
683
807
|
};
|
|
684
808
|
readonly line: {
|
|
809
|
+
readonly raisedWidth: string;
|
|
685
810
|
readonly width: "1px";
|
|
686
811
|
readonly edge: readonly ["#e3dfd3", "#3b3834"];
|
|
687
812
|
readonly divider: readonly ["#ece9df", "#34322f"];
|
|
@@ -860,6 +985,20 @@ export declare const ottrThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
860
985
|
export declare const ottrTheme: import("meowcss").ThemeDefinition;
|
|
861
986
|
/** Doodle preserves the shared component structure with an editorial paper-and-ink treatment. */
|
|
862
987
|
export declare const doodleThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
988
|
+
readonly terminal: {
|
|
989
|
+
readonly surface: string;
|
|
990
|
+
readonly ink: string;
|
|
991
|
+
readonly muted: string;
|
|
992
|
+
readonly command: string;
|
|
993
|
+
readonly prompt: string;
|
|
994
|
+
readonly divider: string;
|
|
995
|
+
readonly focus: string;
|
|
996
|
+
readonly danger: string;
|
|
997
|
+
readonly success: string;
|
|
998
|
+
readonly warning: string;
|
|
999
|
+
readonly info: string;
|
|
1000
|
+
readonly reference: string;
|
|
1001
|
+
};
|
|
863
1002
|
readonly space: {
|
|
864
1003
|
readonly group: "8px";
|
|
865
1004
|
readonly section: "20px";
|
|
@@ -888,6 +1027,22 @@ export declare const doodleThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
888
1027
|
readonly containerPage: "1040px";
|
|
889
1028
|
readonly measure: "70ch";
|
|
890
1029
|
};
|
|
1030
|
+
readonly canvas: {
|
|
1031
|
+
readonly wash: readonly ["radial-gradient(ellipse 540px 430px at 0% 0%, #f1e5ca 0%, transparent 96%), radial-gradient(ellipse 500px 420px at 100% 60%, #dceef8 0%, transparent 96%)", "radial-gradient(ellipse 540px 430px at 0% 0%, #33291e 0%, transparent 96%), radial-gradient(ellipse 500px 420px at 100% 60%, #202e38 0%, transparent 96%)"];
|
|
1032
|
+
readonly selection: readonly ["#f6db87", "#745927"];
|
|
1033
|
+
};
|
|
1034
|
+
readonly marker: {
|
|
1035
|
+
readonly blue: readonly ["#a8d8ef", "#2d536d"];
|
|
1036
|
+
readonly ochre: readonly ["#f6db87", "#66512a"];
|
|
1037
|
+
readonly coral: readonly ["#ff9787", "#723b31"];
|
|
1038
|
+
};
|
|
1039
|
+
readonly button: {
|
|
1040
|
+
readonly filledStroke: "2px";
|
|
1041
|
+
readonly outlineStroke: "2px";
|
|
1042
|
+
readonly pressOffset: "2px";
|
|
1043
|
+
readonly filledPressed: string;
|
|
1044
|
+
readonly outlinePressed: string;
|
|
1045
|
+
};
|
|
891
1046
|
readonly surface: {
|
|
892
1047
|
readonly canvas: readonly ["#f9f8f4", "#191714"];
|
|
893
1048
|
readonly reading: readonly ["#f9f8f4", "#191714"];
|
|
@@ -906,6 +1061,7 @@ export declare const doodleThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
906
1061
|
};
|
|
907
1062
|
readonly line: {
|
|
908
1063
|
readonly width: "1px";
|
|
1064
|
+
readonly raisedWidth: "2px";
|
|
909
1065
|
readonly edge: readonly ["#171715", "#c6b59c"];
|
|
910
1066
|
readonly divider: readonly ["#ddd8ce", "#504638"];
|
|
911
1067
|
readonly control: readonly ["#57534c", "#9f907a"];
|
|
@@ -934,11 +1090,11 @@ export declare const doodleThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
934
1090
|
};
|
|
935
1091
|
readonly control: {
|
|
936
1092
|
readonly small: "28px";
|
|
937
|
-
readonly regular: "36px";
|
|
938
|
-
readonly large: "44px";
|
|
939
1093
|
readonly inset: "8px";
|
|
940
1094
|
readonly fieldInset: "12px";
|
|
941
1095
|
readonly trackInset: "3px";
|
|
1096
|
+
readonly regular: "44px";
|
|
1097
|
+
readonly large: "48px";
|
|
942
1098
|
readonly thumb: readonly ["#ffffff", "#514333"];
|
|
943
1099
|
readonly knob: readonly ["#ffffff", "#fbf3e5"];
|
|
944
1100
|
};
|
|
@@ -1010,10 +1166,10 @@ export declare const doodleThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
1010
1166
|
readonly thumb: readonly ["0 0 0 1px rgb(0 0 0 / 6%), 0 1px 2px rgb(0 0 0 / 8%)", "0 0 0 1px rgb(255 255 255 / 8%), 0 1px 2px rgb(0 0 0 / 32%)"];
|
|
1011
1167
|
readonly sheet: readonly ["12px 0 40px rgb(0 0 0 / 12%)", "12px 0 40px rgb(0 0 0 / 50%)"];
|
|
1012
1168
|
readonly knob: readonly ["0 1px 2px rgb(0 0 0 / 16%)", "0 1px 2px rgb(0 0 0 / 40%)"];
|
|
1013
|
-
readonly raised: readonly ["0
|
|
1169
|
+
readonly raised: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
|
|
1014
1170
|
readonly field: readonly ["none", "none"];
|
|
1015
1171
|
readonly action: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
|
|
1016
|
-
readonly filled: readonly ["0
|
|
1172
|
+
readonly filled: readonly ["0 2px 0 #171715", "0 2px 0 #c6b59c"];
|
|
1017
1173
|
readonly pressed: "none";
|
|
1018
1174
|
readonly float: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
|
|
1019
1175
|
readonly dock: readonly ["0 0 0 1px #171715, 0 3px 0 1px #171715", "0 0 0 1px #c6b59c, 0 3px 0 1px #c6b59c"];
|
|
@@ -1069,6 +1225,248 @@ export declare const doodleThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
|
1069
1225
|
readonly series8: readonly ["#e34948", "#e66767"];
|
|
1070
1226
|
}> & TokenSet];
|
|
1071
1227
|
export declare const doodleTheme: import("meowcss").ThemeDefinition;
|
|
1228
|
+
/** Pine pairs a pine-green interface with a fixed-dark developer terminal. */
|
|
1229
|
+
export declare const pineThemeTokens: readonly [import("meowcss").TokenRefs<{
|
|
1230
|
+
readonly canvas: {
|
|
1231
|
+
readonly wash: "none";
|
|
1232
|
+
readonly selection: "revert";
|
|
1233
|
+
};
|
|
1234
|
+
readonly marker: {
|
|
1235
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
1236
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
1237
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
1238
|
+
};
|
|
1239
|
+
readonly button: {
|
|
1240
|
+
readonly filledStroke: "0";
|
|
1241
|
+
readonly outlineStroke: string;
|
|
1242
|
+
readonly pressOffset: "0.5px";
|
|
1243
|
+
readonly filledPressed: string;
|
|
1244
|
+
readonly outlinePressed: string;
|
|
1245
|
+
};
|
|
1246
|
+
readonly space: {
|
|
1247
|
+
readonly group: "8px";
|
|
1248
|
+
readonly section: "20px";
|
|
1249
|
+
readonly panel: "24px";
|
|
1250
|
+
readonly prose: "12px";
|
|
1251
|
+
readonly insetBlock: "12px";
|
|
1252
|
+
readonly insetInline: "16px";
|
|
1253
|
+
readonly pageBlock: "36px";
|
|
1254
|
+
readonly pageInline: "48px";
|
|
1255
|
+
readonly pageBlockCompact: "20px";
|
|
1256
|
+
readonly pageInlineCompact: "16px";
|
|
1257
|
+
};
|
|
1258
|
+
readonly icon: {
|
|
1259
|
+
readonly small: "14px";
|
|
1260
|
+
readonly size: "16px";
|
|
1261
|
+
readonly large: "18px";
|
|
1262
|
+
readonly stroke: "1.75";
|
|
1263
|
+
};
|
|
1264
|
+
readonly motion: {
|
|
1265
|
+
readonly instant: "40ms";
|
|
1266
|
+
readonly response: "100ms";
|
|
1267
|
+
readonly settle: "200ms";
|
|
1268
|
+
readonly draw: "360ms";
|
|
1269
|
+
readonly loop: "1.2s";
|
|
1270
|
+
readonly sweep: "1.6s";
|
|
1271
|
+
readonly ease: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
1272
|
+
readonly enter: "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
1273
|
+
};
|
|
1274
|
+
readonly layout: {
|
|
1275
|
+
readonly gridCompact: "160px";
|
|
1276
|
+
readonly gridNormal: "240px";
|
|
1277
|
+
readonly gridWide: "320px";
|
|
1278
|
+
readonly containerNarrow: "480px";
|
|
1279
|
+
readonly containerContent: "720px";
|
|
1280
|
+
readonly containerWide: "1120px";
|
|
1281
|
+
readonly containerPage: "1040px";
|
|
1282
|
+
readonly measure: "70ch";
|
|
1283
|
+
};
|
|
1284
|
+
readonly surface: {
|
|
1285
|
+
readonly canvas: readonly ["#f7f8f5", "#11151a"];
|
|
1286
|
+
readonly reading: readonly ["#f7f8f5", "#11151a"];
|
|
1287
|
+
readonly raised: readonly ["#ffffff", "#1a2027"];
|
|
1288
|
+
readonly overlay: readonly ["#ffffff", "#202832"];
|
|
1289
|
+
readonly fill: readonly ["#edf0eb", "#202832"];
|
|
1290
|
+
readonly field: readonly ["#ffffff", "#151b21"];
|
|
1291
|
+
readonly tint: readonly ["rgb(23 31 27 / 5%)", "rgb(241 243 238 / 7%)"];
|
|
1292
|
+
readonly knockout: readonly ["#ffffff", "#1a2027"];
|
|
1293
|
+
readonly scrim: readonly ["rgb(17 23 28 / 24%)", "rgb(6 9 13 / 55%)"];
|
|
1294
|
+
};
|
|
1295
|
+
readonly inverse: {
|
|
1296
|
+
readonly surface: readonly ["#11171c", "#252f39"];
|
|
1297
|
+
readonly ink: "#edf3ef";
|
|
1298
|
+
readonly action: "#a6e4bd";
|
|
1299
|
+
};
|
|
1300
|
+
readonly line: {
|
|
1301
|
+
readonly width: "1px";
|
|
1302
|
+
readonly raisedWidth: string;
|
|
1303
|
+
readonly edge: readonly ["#d8ddd6", "#343e4a"];
|
|
1304
|
+
readonly divider: readonly ["#e1e5df", "#303b42"];
|
|
1305
|
+
readonly control: readonly ["#bbc5bc", "#495766"];
|
|
1306
|
+
readonly controlHover: readonly ["#83988a", "#8293a3"];
|
|
1307
|
+
};
|
|
1308
|
+
readonly ink: {
|
|
1309
|
+
readonly primary: readonly ["#171f1b", "#f1f3ee"];
|
|
1310
|
+
readonly secondary: readonly ["#4c5a51", "#adb8c2"];
|
|
1311
|
+
readonly tertiary: readonly ["#626f66", "#9ba9b4"];
|
|
1312
|
+
readonly chip: readonly ["#435349", "#c8d2da"];
|
|
1313
|
+
readonly reading: readonly ["#303d34", "#dce4e1"];
|
|
1314
|
+
};
|
|
1315
|
+
readonly state: {
|
|
1316
|
+
readonly hover: readonly ["rgb(32 99 71 / 6%)", "rgb(183 233 197 / 8%)"];
|
|
1317
|
+
readonly active: readonly ["rgb(32 99 71 / 12%)", "rgb(183 233 197 / 14%)"];
|
|
1318
|
+
readonly focus: readonly ["#206347", "#b7e9c5"];
|
|
1319
|
+
readonly focusRing: readonly ["rgb(32 99 71 / 22%)", "rgb(183 233 197 / 28%)"];
|
|
1320
|
+
};
|
|
1321
|
+
readonly action: {
|
|
1322
|
+
readonly primary: readonly ["#205e44", "#b7e9c5"];
|
|
1323
|
+
readonly primaryHover: readonly ["#184d37", "#d2f4dc"];
|
|
1324
|
+
readonly onPrimary: readonly ["#f2fff6", "#14291d"];
|
|
1325
|
+
readonly soft: readonly ["#edf0eb", "#253d31"];
|
|
1326
|
+
readonly danger: readonly ["#9e342b", "#f6a69d"];
|
|
1327
|
+
readonly onDanger: readonly ["#ffffff", "#28120f"];
|
|
1328
|
+
};
|
|
1329
|
+
readonly control: {
|
|
1330
|
+
readonly small: "28px";
|
|
1331
|
+
readonly regular: "36px";
|
|
1332
|
+
readonly large: "44px";
|
|
1333
|
+
readonly inset: "8px";
|
|
1334
|
+
readonly fieldInset: "12px";
|
|
1335
|
+
readonly trackInset: "3px";
|
|
1336
|
+
readonly thumb: readonly ["#ffffff", "#343e4a"];
|
|
1337
|
+
readonly knob: readonly ["#ffffff", "#e1efe6"];
|
|
1338
|
+
};
|
|
1339
|
+
readonly accent: {
|
|
1340
|
+
readonly base: readonly ["#206347", "#b7e9c5"];
|
|
1341
|
+
readonly soft: readonly ["#e1efe6", "#253d31"];
|
|
1342
|
+
readonly selected: readonly ["#dbece1", "#294236"];
|
|
1343
|
+
readonly ink: readonly ["#205e44", "#b7e9c5"];
|
|
1344
|
+
readonly line: readonly ["rgb(32 99 71 / 30%)", "rgb(183 233 197 / 34%)"];
|
|
1345
|
+
readonly halo: readonly ["rgb(32 99 71 / 22%)", "rgb(183 233 197 / 28%)"];
|
|
1346
|
+
};
|
|
1347
|
+
readonly status: {
|
|
1348
|
+
readonly info: readonly ["#43559c", "#becbff"];
|
|
1349
|
+
readonly success: readonly ["#206347", "#a6e4bd"];
|
|
1350
|
+
readonly warning: readonly ["#815409", "#e6c479"];
|
|
1351
|
+
readonly danger: readonly ["#9e342b", "#f6a69d"];
|
|
1352
|
+
readonly unknown: readonly ["#8b978e", "#7f8c98"];
|
|
1353
|
+
};
|
|
1354
|
+
readonly terminal: {
|
|
1355
|
+
readonly surface: "#11171c";
|
|
1356
|
+
readonly ink: "#edf3ef";
|
|
1357
|
+
readonly command: "#a6e4bd";
|
|
1358
|
+
readonly muted: "#afb9c4";
|
|
1359
|
+
readonly prompt: "#a6e4bd";
|
|
1360
|
+
readonly divider: "#303b42";
|
|
1361
|
+
readonly focus: "#b7e9c5";
|
|
1362
|
+
readonly danger: "#f6a69d";
|
|
1363
|
+
readonly success: "#a6e4bd";
|
|
1364
|
+
readonly warning: "#e6c479";
|
|
1365
|
+
readonly info: "#afc6eb";
|
|
1366
|
+
readonly reference: "#becbff";
|
|
1367
|
+
};
|
|
1368
|
+
readonly type: {
|
|
1369
|
+
readonly micro: "11px";
|
|
1370
|
+
readonly caption: "12px";
|
|
1371
|
+
readonly code: "12px";
|
|
1372
|
+
readonly label: "13px";
|
|
1373
|
+
readonly body: "14px";
|
|
1374
|
+
readonly readingSize: "14px";
|
|
1375
|
+
readonly title: "16px";
|
|
1376
|
+
readonly heading: "20px";
|
|
1377
|
+
readonly pageTitle: "24px";
|
|
1378
|
+
readonly hero: "40px";
|
|
1379
|
+
readonly line: {
|
|
1380
|
+
readonly micro: "16px";
|
|
1381
|
+
readonly caption: "18px";
|
|
1382
|
+
readonly code: "18px";
|
|
1383
|
+
readonly label: "20px";
|
|
1384
|
+
readonly bodyCompact: "20px";
|
|
1385
|
+
readonly body: "22px";
|
|
1386
|
+
readonly reading: "24px";
|
|
1387
|
+
readonly title: "24px";
|
|
1388
|
+
readonly heading: "28px";
|
|
1389
|
+
readonly pageTitle: "32px";
|
|
1390
|
+
readonly hero: "48px";
|
|
1391
|
+
};
|
|
1392
|
+
readonly weight: {
|
|
1393
|
+
readonly regular: "400";
|
|
1394
|
+
readonly medium: "500";
|
|
1395
|
+
readonly semibold: "600";
|
|
1396
|
+
readonly display: "600";
|
|
1397
|
+
};
|
|
1398
|
+
readonly leading: "1.5714285714";
|
|
1399
|
+
readonly touchField: "16px";
|
|
1400
|
+
readonly trackingCaps: "0.04em";
|
|
1401
|
+
readonly quoteStyle: "normal";
|
|
1402
|
+
readonly sans: "\"Inter Variable\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", system-ui, sans-serif";
|
|
1403
|
+
readonly display: "\"Inter Variable\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", system-ui, sans-serif";
|
|
1404
|
+
readonly reading: "\"Inter Variable\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", system-ui, sans-serif";
|
|
1405
|
+
readonly mono: "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", Consolas, Menlo, monospace";
|
|
1406
|
+
readonly trackingTight: "-0.025em";
|
|
1407
|
+
};
|
|
1408
|
+
readonly radius: {
|
|
1409
|
+
readonly xs: "4px";
|
|
1410
|
+
readonly sm: "6px";
|
|
1411
|
+
readonly md: "8px";
|
|
1412
|
+
readonly full: "999px";
|
|
1413
|
+
readonly lg: "8px";
|
|
1414
|
+
readonly xl: "14px";
|
|
1415
|
+
readonly xxl: "18px";
|
|
1416
|
+
};
|
|
1417
|
+
readonly shadow: {
|
|
1418
|
+
readonly raised: readonly ["none", "inset 0 1px 0 rgb(255 255 255 / 3%)"];
|
|
1419
|
+
readonly field: readonly ["0 1px 1px rgb(0 0 0 / 2.5%)", "none"];
|
|
1420
|
+
readonly thumb: readonly ["0 0 0 1px rgb(0 0 0 / 6%), 0 1px 2px rgb(0 0 0 / 8%)", "0 0 0 1px rgb(255 255 255 / 8%), 0 1px 2px rgb(0 0 0 / 32%)"];
|
|
1421
|
+
readonly pressed: "inset 0 1px 2px rgb(0 0 0 / 12%)";
|
|
1422
|
+
readonly sheet: readonly ["12px 0 40px rgb(0 0 0 / 12%)", "12px 0 40px rgb(0 0 0 / 50%)"];
|
|
1423
|
+
readonly knob: readonly ["0 1px 2px rgb(0 0 0 / 16%)", "0 1px 2px rgb(0 0 0 / 40%)"];
|
|
1424
|
+
readonly action: readonly ["none", "none"];
|
|
1425
|
+
readonly filled: readonly ["none", "none"];
|
|
1426
|
+
readonly dock: readonly ["0 14px 36px rgb(20 33 26 / 5%)", "0 16px 36px rgb(6 9 13 / 25%)"];
|
|
1427
|
+
readonly float: readonly ["0 14px 36px rgb(20 33 26 / 5%)", "0 16px 36px rgb(6 9 13 / 25%)"];
|
|
1428
|
+
};
|
|
1429
|
+
readonly glyph: {
|
|
1430
|
+
readonly chevron: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")`;
|
|
1431
|
+
readonly check: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")`;
|
|
1432
|
+
readonly arrow: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")`;
|
|
1433
|
+
readonly cross: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E")`;
|
|
1434
|
+
readonly selectChevron: readonly [string, string];
|
|
1435
|
+
};
|
|
1436
|
+
}> & TokenSet, import("meowcss").TokenRefs<{
|
|
1437
|
+
readonly fontBody: "14px";
|
|
1438
|
+
readonly leading: "1.7142857143";
|
|
1439
|
+
readonly listGap: "24px";
|
|
1440
|
+
readonly listMaxWidth: "720px";
|
|
1441
|
+
readonly readingInset: "24px";
|
|
1442
|
+
readonly leadingGap: "6px";
|
|
1443
|
+
readonly rowLine: "24px";
|
|
1444
|
+
readonly userMaxWidth: "70.2%";
|
|
1445
|
+
readonly bubbleRadius: "18px";
|
|
1446
|
+
readonly composerRadius: "24px";
|
|
1447
|
+
}> & TokenSet, import("meowcss").TokenRefs<{
|
|
1448
|
+
readonly accent: import("meowcss").ConditionalValue;
|
|
1449
|
+
}> & TokenSet, import("meowcss").TokenRefs<{
|
|
1450
|
+
readonly constant: readonly ["#1b64a8", "#4dabf7"];
|
|
1451
|
+
readonly string: readonly ["#1e6b30", "#69db7c"];
|
|
1452
|
+
readonly comment: readonly ["#656a71", "#adb5bd"];
|
|
1453
|
+
readonly keyword: readonly ["#b02a5b", "#faa2c1"];
|
|
1454
|
+
readonly parameter: readonly ["#b34700", "#ffa94d"];
|
|
1455
|
+
readonly function: readonly ["#6741d9", "#b197fc"];
|
|
1456
|
+
readonly stringExpression: readonly ["#1e6b30", "#8ce99a"];
|
|
1457
|
+
readonly punctuation: readonly ["#495057", "#ced4da"];
|
|
1458
|
+
readonly link: readonly ["#1971c2", "#74c0fc"];
|
|
1459
|
+
}> & TokenSet, import("meowcss").TokenRefs<{
|
|
1460
|
+
readonly series1: readonly ["#2a78d6", "#3987e5"];
|
|
1461
|
+
readonly series2: readonly ["#eb6834", "#d95926"];
|
|
1462
|
+
readonly series3: readonly ["#1baf7a", "#199e70"];
|
|
1463
|
+
readonly series4: readonly ["#eda100", "#c98500"];
|
|
1464
|
+
readonly series5: readonly ["#e87ba4", "#d55181"];
|
|
1465
|
+
readonly series6: readonly ["#008300", "#008300"];
|
|
1466
|
+
readonly series7: readonly ["#6250d6", "#9085e9"];
|
|
1467
|
+
readonly series8: readonly ["#e34948", "#e66767"];
|
|
1468
|
+
}> & TokenSet];
|
|
1469
|
+
export declare const pineTheme: import("meowcss").ThemeDefinition;
|
|
1072
1470
|
/** The floor every Meowland region starts from; an extended theme places it first. */
|
|
1073
1471
|
export { foundationStyles as standardFoundationStyles } from "./base.styles.js";
|
|
1074
1472
|
export { standardAuditRules } from "./audit.js";
|
package/dist/src/theme/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import { standardOptions, uiTokens, chatTokens, alertTokens } from "./tokens.js"
|
|
|
19
19
|
import { journalUiTokens } from "./journal.tokens.js";
|
|
20
20
|
import { ottrUiTokens } from "./ottr.tokens.js";
|
|
21
21
|
import { doodleUiTokens } from "./doodle.tokens.js";
|
|
22
|
+
import { pineUiTokens } from "./pine.tokens.js";
|
|
22
23
|
import { meowUiTokens } from "./meow.tokens.js";
|
|
23
24
|
import { utilityStyles } from "./utilities.js";
|
|
24
25
|
import { choiceSelectStyles } from "./components/choice-select.styles.js";
|
|
@@ -118,6 +119,7 @@ export { journalFonts, journalUiTokenValues, journalUiTokens, } from "./journal.
|
|
|
118
119
|
export { meowUiTokenValues, meowUiTokens } from "./meow.tokens.js";
|
|
119
120
|
export { ottrUiTokenValues, ottrUiTokens } from "./ottr.tokens.js";
|
|
120
121
|
export { doodleFonts, doodleUiTokenValues, doodleUiTokens } from "./doodle.tokens.js";
|
|
122
|
+
export { pineFonts, pineUiTokenValues, pineUiTokens } from "./pine.tokens.js";
|
|
121
123
|
export { ui, utilityStyles } from "./utilities.js";
|
|
122
124
|
export { chartTokens } from "./shared/chart.tokens.js";
|
|
123
125
|
export const standardThemeTokens = [
|
|
@@ -313,6 +315,20 @@ export const doodleTheme = /* @__PURE__ */ defineTheme({
|
|
|
313
315
|
tokens: doodleThemeTokens,
|
|
314
316
|
styles: standardThemeStyles,
|
|
315
317
|
});
|
|
318
|
+
/** Pine pairs a pine-green interface with a fixed-dark developer terminal. */
|
|
319
|
+
export const pineThemeTokens = [
|
|
320
|
+
pineUiTokens,
|
|
321
|
+
chatTokens,
|
|
322
|
+
alertTokens,
|
|
323
|
+
codeHighlightTokens,
|
|
324
|
+
chartTokens,
|
|
325
|
+
];
|
|
326
|
+
export const pineTheme = /* @__PURE__ */ defineTheme({
|
|
327
|
+
options: standardOptions,
|
|
328
|
+
defaults: { scheme: "auto" },
|
|
329
|
+
tokens: pineThemeTokens,
|
|
330
|
+
styles: standardThemeStyles,
|
|
331
|
+
});
|
|
316
332
|
/** The floor every Meowland region starts from; an extended theme places it first. */
|
|
317
333
|
export { foundationStyles as standardFoundationStyles } from "./base.styles.js";
|
|
318
334
|
export { standardAuditRules } from "./audit.js";
|
|
@@ -8,6 +8,36 @@
|
|
|
8
8
|
* component keeps its geometry and behavior.
|
|
9
9
|
*/
|
|
10
10
|
export declare const journalUiTokenValues: {
|
|
11
|
+
readonly canvas: {
|
|
12
|
+
readonly wash: "none";
|
|
13
|
+
readonly selection: "revert";
|
|
14
|
+
};
|
|
15
|
+
readonly marker: {
|
|
16
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
17
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
18
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
19
|
+
};
|
|
20
|
+
readonly button: {
|
|
21
|
+
readonly filledStroke: "0";
|
|
22
|
+
readonly outlineStroke: string;
|
|
23
|
+
readonly pressOffset: "0.5px";
|
|
24
|
+
readonly filledPressed: string;
|
|
25
|
+
readonly outlinePressed: string;
|
|
26
|
+
};
|
|
27
|
+
readonly terminal: {
|
|
28
|
+
readonly surface: string;
|
|
29
|
+
readonly ink: string;
|
|
30
|
+
readonly muted: string;
|
|
31
|
+
readonly command: string;
|
|
32
|
+
readonly prompt: string;
|
|
33
|
+
readonly divider: string;
|
|
34
|
+
readonly focus: string;
|
|
35
|
+
readonly danger: string;
|
|
36
|
+
readonly success: string;
|
|
37
|
+
readonly warning: string;
|
|
38
|
+
readonly info: string;
|
|
39
|
+
readonly reference: string;
|
|
40
|
+
};
|
|
11
41
|
readonly surface: {
|
|
12
42
|
readonly canvas: readonly ["#fbf9f4", "#121110"];
|
|
13
43
|
readonly reading: readonly ["#fbf9f4", "#121110"];
|
|
@@ -25,6 +55,7 @@ export declare const journalUiTokenValues: {
|
|
|
25
55
|
readonly action: "#ec9284";
|
|
26
56
|
};
|
|
27
57
|
readonly line: {
|
|
58
|
+
readonly raisedWidth: string;
|
|
28
59
|
readonly width: "1px";
|
|
29
60
|
readonly edge: readonly ["#e4ddd1", "#2c2925"];
|
|
30
61
|
readonly divider: readonly ["#ebe5da", "#24221f"];
|
|
@@ -186,6 +217,36 @@ export declare const journalUiTokenValues: {
|
|
|
186
217
|
};
|
|
187
218
|
/** The Journal values under the shared `ui` names, so every standard theme rule paints with them. */
|
|
188
219
|
export declare const journalUiTokens: import("meowcss").TokenRefs<{
|
|
220
|
+
readonly canvas: {
|
|
221
|
+
readonly wash: "none";
|
|
222
|
+
readonly selection: "revert";
|
|
223
|
+
};
|
|
224
|
+
readonly marker: {
|
|
225
|
+
readonly blue: readonly ["#cce7fa", "#254359"];
|
|
226
|
+
readonly ochre: readonly ["#f4e6b6", "#4c3d24"];
|
|
227
|
+
readonly coral: readonly ["#f6cbc1", "#59322d"];
|
|
228
|
+
};
|
|
229
|
+
readonly button: {
|
|
230
|
+
readonly filledStroke: "0";
|
|
231
|
+
readonly outlineStroke: string;
|
|
232
|
+
readonly pressOffset: "0.5px";
|
|
233
|
+
readonly filledPressed: string;
|
|
234
|
+
readonly outlinePressed: string;
|
|
235
|
+
};
|
|
236
|
+
readonly terminal: {
|
|
237
|
+
readonly surface: string;
|
|
238
|
+
readonly ink: string;
|
|
239
|
+
readonly muted: string;
|
|
240
|
+
readonly command: string;
|
|
241
|
+
readonly prompt: string;
|
|
242
|
+
readonly divider: string;
|
|
243
|
+
readonly focus: string;
|
|
244
|
+
readonly danger: string;
|
|
245
|
+
readonly success: string;
|
|
246
|
+
readonly warning: string;
|
|
247
|
+
readonly info: string;
|
|
248
|
+
readonly reference: string;
|
|
249
|
+
};
|
|
189
250
|
readonly surface: {
|
|
190
251
|
readonly canvas: readonly ["#fbf9f4", "#121110"];
|
|
191
252
|
readonly reading: readonly ["#fbf9f4", "#121110"];
|
|
@@ -203,6 +264,7 @@ export declare const journalUiTokens: import("meowcss").TokenRefs<{
|
|
|
203
264
|
readonly action: "#ec9284";
|
|
204
265
|
};
|
|
205
266
|
readonly line: {
|
|
267
|
+
readonly raisedWidth: string;
|
|
206
268
|
readonly width: "1px";
|
|
207
269
|
readonly edge: readonly ["#e4ddd1", "#2c2925"];
|
|
208
270
|
readonly divider: readonly ["#ebe5da", "#24221f"];
|
|
@@ -13,6 +13,7 @@ const mono = '"JetBrains Mono Variable", "JetBrains Mono", ui-monospace, "SF Mon
|
|
|
13
13
|
* component keeps its geometry and behavior.
|
|
14
14
|
*/
|
|
15
15
|
export const journalUiTokenValues = {
|
|
16
|
+
...standardUiTokenValues,
|
|
16
17
|
surface: {
|
|
17
18
|
canvas: ["#fbf9f4", "#121110"],
|
|
18
19
|
reading: ["#fbf9f4", "#121110"],
|
|
@@ -30,6 +31,7 @@ export const journalUiTokenValues = {
|
|
|
30
31
|
action: "#ec9284",
|
|
31
32
|
},
|
|
32
33
|
line: {
|
|
34
|
+
...standardUiTokenValues.line,
|
|
33
35
|
width: "1px",
|
|
34
36
|
edge: ["#e4ddd1", "#2c2925"],
|
|
35
37
|
divider: ["#ebe5da", "#24221f"],
|