@revikornmann/muka-ui 0.10.0 → 0.12.0
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/build/manifest.json +20 -0
- package/dist/cjs/components/AgentTaskList/AgentTaskList.css +22 -3
- package/dist/cjs/components/BottomBar/BottomBar.css +27 -2
- package/dist/cjs/components/BottomBar/BottomBar.js +1 -0
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/cjs/components/Button/Button.css +13 -6
- package/dist/cjs/components/Button/Button.js +1 -1
- package/dist/cjs/components/ChatBubble/ChatBubble.css +251 -31
- package/dist/cjs/components/ChatBubble/ChatBubble.js +17 -4
- package/dist/cjs/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/cjs/components/ChatComposer/ChatComposer.css +13 -1
- package/dist/cjs/components/ChatMessageList/ChatMessageList.css +17 -1
- package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.css +113 -0
- package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.js +47 -0
- package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.js.map +1 -0
- package/dist/cjs/components/ChatPhotoGrid/index.js +11 -0
- package/dist/cjs/components/ChatPhotoGrid/index.js.map +1 -0
- package/dist/cjs/components/index.js +3 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/AgentTaskList/AgentTaskList.css +22 -3
- package/dist/esm/components/BottomBar/BottomBar.css +27 -2
- package/dist/esm/components/BottomBar/BottomBar.js +1 -0
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/Button/Button.css +13 -6
- package/dist/esm/components/Button/Button.js +1 -1
- package/dist/esm/components/ChatBubble/ChatBubble.css +251 -31
- package/dist/esm/components/ChatBubble/ChatBubble.js +18 -5
- package/dist/esm/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/esm/components/ChatComposer/ChatComposer.css +13 -1
- package/dist/esm/components/ChatMessageList/ChatMessageList.css +17 -1
- package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.css +113 -0
- package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.js +43 -0
- package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.js.map +1 -0
- package/dist/esm/components/ChatPhotoGrid/index.js +3 -0
- package/dist/esm/components/ChatPhotoGrid/index.js.map +1 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/AgentTaskList.css +22 -3
- package/dist/styles/components/BottomBar.css +27 -2
- package/dist/styles/components/Button.css +13 -6
- package/dist/styles/components/ChatBubble.css +251 -31
- package/dist/styles/components/ChatComposer.css +13 -1
- package/dist/styles/components/ChatMessageList.css +17 -1
- package/dist/styles/components/ChatPhotoGrid.css +113 -0
- package/dist/styles/index.css +1178 -704
- package/dist/styles/muka-dark.css +1178 -704
- package/dist/styles/muka-light.css +1178 -704
- package/dist/styles/tokens-bouwplan-dark.css +61 -2
- package/dist/styles/tokens-bouwplan-light.css +61 -2
- package/dist/styles/tokens-fscl-dark.css +61 -2
- package/dist/styles/tokens-fscl-light.css +61 -2
- package/dist/styles/tokens-grip-dark.css +61 -2
- package/dist/styles/tokens-grip-light.css +61 -2
- package/dist/styles/tokens-muka-dark.css +61 -2
- package/dist/styles/tokens-muka-light.css +61 -2
- package/dist/styles/tokens-wireframe-dark.css +61 -2
- package/dist/styles/tokens-wireframe-light.css +61 -2
- package/dist/styles/wireframe-dark.css +1178 -704
- package/dist/styles/wireframe-light.css +1178 -704
- package/dist/types/components/BottomBar/BottomBar.d.ts +3 -2
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/ChatBubble/ChatBubble.d.ts +63 -8
- package/dist/types/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/dist/types/components/ChatPhotoGrid/ChatPhotoGrid.d.ts +44 -0
- package/dist/types/components/ChatPhotoGrid/ChatPhotoGrid.d.ts.map +1 -0
- package/dist/types/components/ChatPhotoGrid/index.d.ts +3 -0
- package/dist/types/components/ChatPhotoGrid/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/README.md +14 -0
- package/tokens/t2-alias/brand/bouwplan/dark.json +24 -0
- package/tokens/t2-alias/brand/bouwplan/light.json +24 -0
- package/tokens/t2-alias/brand/fscl/dark.json +24 -0
- package/tokens/t2-alias/brand/fscl/light.json +24 -0
- package/tokens/t2-alias/brand/grip/dark.json +54 -0
- package/tokens/t2-alias/brand/grip/light.json +54 -0
- package/tokens/t2-alias/brand/muka/dark.json +54 -0
- package/tokens/t2-alias/brand/muka/light.json +54 -0
- package/tokens/t2-alias/brand/wireframe/dark.json +54 -0
- package/tokens/t2-alias/brand/wireframe/light.json +54 -0
- package/tokens/t3-semantics/ui.json +190 -0
- package/tokens/t4-components/bottombar.json +11 -5
- package/tokens/t4-components/chatbubble.json +154 -0
- package/tokens/t4-components/chatphotogrid.json +32 -0
|
@@ -340,6 +340,60 @@
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
+
},
|
|
344
|
+
"conversation": {
|
|
345
|
+
"own": {
|
|
346
|
+
"surface": {
|
|
347
|
+
"default": {
|
|
348
|
+
"$type": "color",
|
|
349
|
+
"$value": "{color.greenDark.3}"
|
|
350
|
+
},
|
|
351
|
+
"raised": {
|
|
352
|
+
"$type": "color",
|
|
353
|
+
"$value": "{color.greenDark.2}"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"border": {
|
|
357
|
+
"$type": "color",
|
|
358
|
+
"$value": "{color.greenDark.5}"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"peer": {
|
|
362
|
+
"surface": {
|
|
363
|
+
"default": {
|
|
364
|
+
"$type": "color",
|
|
365
|
+
"$value": "{alias.color.neutral.1}"
|
|
366
|
+
},
|
|
367
|
+
"raised": {
|
|
368
|
+
"$type": "color",
|
|
369
|
+
"$value": "{alias.color.neutral.2}"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"border": {
|
|
373
|
+
"$type": "color",
|
|
374
|
+
"$value": "{alias.color.neutral.5}"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"agent": {
|
|
378
|
+
"surface": {
|
|
379
|
+
"default": {
|
|
380
|
+
"$type": "color",
|
|
381
|
+
"$value": "{color.amberDark.3}"
|
|
382
|
+
},
|
|
383
|
+
"raised": {
|
|
384
|
+
"$type": "color",
|
|
385
|
+
"$value": "{color.amberDark.2}"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"border": {
|
|
389
|
+
"$type": "color",
|
|
390
|
+
"$value": "{color.amberDark.5}"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"meta": {
|
|
394
|
+
"$type": "color",
|
|
395
|
+
"$value": "{alias.color.neutral.11}"
|
|
396
|
+
}
|
|
343
397
|
}
|
|
344
398
|
}
|
|
345
399
|
}
|
|
@@ -308,6 +308,60 @@
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
+
},
|
|
312
|
+
"conversation": {
|
|
313
|
+
"own": {
|
|
314
|
+
"surface": {
|
|
315
|
+
"default": {
|
|
316
|
+
"$type": "color",
|
|
317
|
+
"$value": "{color.green.3}"
|
|
318
|
+
},
|
|
319
|
+
"raised": {
|
|
320
|
+
"$type": "color",
|
|
321
|
+
"$value": "{color.green.2}"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"border": {
|
|
325
|
+
"$type": "color",
|
|
326
|
+
"$value": "{color.green.5}"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"peer": {
|
|
330
|
+
"surface": {
|
|
331
|
+
"default": {
|
|
332
|
+
"$type": "color",
|
|
333
|
+
"$value": "{alias.color.neutral.1}"
|
|
334
|
+
},
|
|
335
|
+
"raised": {
|
|
336
|
+
"$type": "color",
|
|
337
|
+
"$value": "{alias.color.neutral.2}"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"border": {
|
|
341
|
+
"$type": "color",
|
|
342
|
+
"$value": "{alias.color.neutral.5}"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"agent": {
|
|
346
|
+
"surface": {
|
|
347
|
+
"default": {
|
|
348
|
+
"$type": "color",
|
|
349
|
+
"$value": "{color.amber.3}"
|
|
350
|
+
},
|
|
351
|
+
"raised": {
|
|
352
|
+
"$type": "color",
|
|
353
|
+
"$value": "{color.amber.2}"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"border": {
|
|
357
|
+
"$type": "color",
|
|
358
|
+
"$value": "{color.amber.5}"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"meta": {
|
|
362
|
+
"$type": "color",
|
|
363
|
+
"$value": "{alias.color.neutral.11}"
|
|
364
|
+
}
|
|
311
365
|
}
|
|
312
366
|
}
|
|
313
367
|
}
|
|
@@ -564,6 +564,196 @@
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
},
|
|
567
|
+
"conversation": {
|
|
568
|
+
"own": {
|
|
569
|
+
"background": {
|
|
570
|
+
"$type": "color",
|
|
571
|
+
"$value": "{alias.color.conversation.own.surface.default}",
|
|
572
|
+
"$rag": {
|
|
573
|
+
"description": "Bubble background for the signed-in user’s own messages",
|
|
574
|
+
"usage": ["Own chat bubbles", "Sent-message surfaces"],
|
|
575
|
+
"accessibility": "Pair with color.conversation.own.foreground, which is contrast-checked against it",
|
|
576
|
+
"relationships": ["color.conversation.own.background", "color.conversation.own.background-raised", "color.conversation.own.border", "color.conversation.own.foreground"],
|
|
577
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
578
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
579
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
580
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"background-raised": {
|
|
584
|
+
"$type": "color",
|
|
585
|
+
"$value": "{alias.color.conversation.own.surface.raised}",
|
|
586
|
+
"$rag": {
|
|
587
|
+
"description": "Raised surface nested inside a own bubble, such as an embedded card",
|
|
588
|
+
"usage": ["Embedded cards inside a bubble", "Nested panels"],
|
|
589
|
+
"accessibility": "Must stay visibly distinct from color.conversation.own.background and keep foreground at 4.5:1",
|
|
590
|
+
"relationships": ["color.conversation.own.background", "color.conversation.own.background-raised", "color.conversation.own.border", "color.conversation.own.foreground"],
|
|
591
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
592
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
593
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
594
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"border": {
|
|
598
|
+
"$type": "color",
|
|
599
|
+
"$value": "{alias.color.conversation.own.border}",
|
|
600
|
+
"$rag": {
|
|
601
|
+
"description": "Bubble border for the signed-in user’s own messages, reused by any card embedded in it",
|
|
602
|
+
"usage": ["Own chat bubbles outline", "Embedded card outline"],
|
|
603
|
+
"accessibility": "Decorative only; never the sole signal distinguishing authors",
|
|
604
|
+
"relationships": ["color.conversation.own.background", "color.conversation.own.background-raised", "color.conversation.own.border", "color.conversation.own.foreground"],
|
|
605
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
606
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
607
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
608
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"foreground": {
|
|
612
|
+
"$type": "color",
|
|
613
|
+
"$value": "{color.text.default.default}",
|
|
614
|
+
"$rag": {
|
|
615
|
+
"description": "Body and author text on own bubble surfaces",
|
|
616
|
+
"usage": ["Message body text", "Author name in the bubble header"],
|
|
617
|
+
"accessibility": "Must reach 4.5:1 against both color.conversation.own.background and background-raised",
|
|
618
|
+
"relationships": ["color.conversation.own.background", "color.conversation.own.background-raised", "color.conversation.own.border", "color.conversation.own.foreground"],
|
|
619
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
620
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
621
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
622
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"peer": {
|
|
627
|
+
"background": {
|
|
628
|
+
"$type": "color",
|
|
629
|
+
"$value": "{alias.color.conversation.peer.surface.default}",
|
|
630
|
+
"$rag": {
|
|
631
|
+
"description": "Bubble background for another human participant",
|
|
632
|
+
"usage": ["Peer chat bubbles", "Received-message surfaces"],
|
|
633
|
+
"accessibility": "Pair with color.conversation.peer.foreground, which is contrast-checked against it",
|
|
634
|
+
"relationships": ["color.conversation.peer.background", "color.conversation.peer.background-raised", "color.conversation.peer.border", "color.conversation.peer.foreground"],
|
|
635
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
636
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
637
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
638
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"background-raised": {
|
|
642
|
+
"$type": "color",
|
|
643
|
+
"$value": "{alias.color.conversation.peer.surface.raised}",
|
|
644
|
+
"$rag": {
|
|
645
|
+
"description": "Raised surface nested inside a peer bubble, such as an embedded card",
|
|
646
|
+
"usage": ["Embedded cards inside a bubble", "Nested panels"],
|
|
647
|
+
"accessibility": "Must stay visibly distinct from color.conversation.peer.background and keep foreground at 4.5:1",
|
|
648
|
+
"relationships": ["color.conversation.peer.background", "color.conversation.peer.background-raised", "color.conversation.peer.border", "color.conversation.peer.foreground"],
|
|
649
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
650
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
651
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
652
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"border": {
|
|
656
|
+
"$type": "color",
|
|
657
|
+
"$value": "{alias.color.conversation.peer.border}",
|
|
658
|
+
"$rag": {
|
|
659
|
+
"description": "Bubble border for another human participant, reused by any card embedded in it",
|
|
660
|
+
"usage": ["Peer chat bubbles outline", "Embedded card outline"],
|
|
661
|
+
"accessibility": "Decorative only; never the sole signal distinguishing authors",
|
|
662
|
+
"relationships": ["color.conversation.peer.background", "color.conversation.peer.background-raised", "color.conversation.peer.border", "color.conversation.peer.foreground"],
|
|
663
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
664
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
665
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
666
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"foreground": {
|
|
670
|
+
"$type": "color",
|
|
671
|
+
"$value": "{color.text.default.default}",
|
|
672
|
+
"$rag": {
|
|
673
|
+
"description": "Body and author text on peer bubble surfaces",
|
|
674
|
+
"usage": ["Message body text", "Author name in the bubble header"],
|
|
675
|
+
"accessibility": "Must reach 4.5:1 against both color.conversation.peer.background and background-raised",
|
|
676
|
+
"relationships": ["color.conversation.peer.background", "color.conversation.peer.background-raised", "color.conversation.peer.border", "color.conversation.peer.foreground"],
|
|
677
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
678
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
679
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
680
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"agent": {
|
|
685
|
+
"background": {
|
|
686
|
+
"$type": "color",
|
|
687
|
+
"$value": "{alias.color.conversation.agent.surface.default}",
|
|
688
|
+
"$rag": {
|
|
689
|
+
"description": "Bubble background for an AI agent or the system",
|
|
690
|
+
"usage": ["Agent chat bubbles", "Assistant-message surfaces"],
|
|
691
|
+
"accessibility": "Pair with color.conversation.agent.foreground, which is contrast-checked against it",
|
|
692
|
+
"relationships": ["color.conversation.agent.background", "color.conversation.agent.background-raised", "color.conversation.agent.border", "color.conversation.agent.foreground"],
|
|
693
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
694
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
695
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
696
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"background-raised": {
|
|
700
|
+
"$type": "color",
|
|
701
|
+
"$value": "{alias.color.conversation.agent.surface.raised}",
|
|
702
|
+
"$rag": {
|
|
703
|
+
"description": "Raised surface nested inside a agent bubble, such as an embedded card",
|
|
704
|
+
"usage": ["Embedded cards inside a bubble", "Nested panels"],
|
|
705
|
+
"accessibility": "Must stay visibly distinct from color.conversation.agent.background and keep foreground at 4.5:1",
|
|
706
|
+
"relationships": ["color.conversation.agent.background", "color.conversation.agent.background-raised", "color.conversation.agent.border", "color.conversation.agent.foreground"],
|
|
707
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
708
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
709
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
710
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
"border": {
|
|
714
|
+
"$type": "color",
|
|
715
|
+
"$value": "{alias.color.conversation.agent.border}",
|
|
716
|
+
"$rag": {
|
|
717
|
+
"description": "Bubble border for an AI agent or the system, reused by any card embedded in it",
|
|
718
|
+
"usage": ["Agent chat bubbles outline", "Embedded card outline"],
|
|
719
|
+
"accessibility": "Decorative only; never the sole signal distinguishing authors",
|
|
720
|
+
"relationships": ["color.conversation.agent.background", "color.conversation.agent.background-raised", "color.conversation.agent.border", "color.conversation.agent.foreground"],
|
|
721
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
722
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
723
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
724
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"foreground": {
|
|
728
|
+
"$type": "color",
|
|
729
|
+
"$value": "{color.text.default.default}",
|
|
730
|
+
"$rag": {
|
|
731
|
+
"description": "Body and author text on agent bubble surfaces",
|
|
732
|
+
"usage": ["Message body text", "Author name in the bubble header"],
|
|
733
|
+
"accessibility": "Must reach 4.5:1 against both color.conversation.agent.background and background-raised",
|
|
734
|
+
"relationships": ["color.conversation.agent.background", "color.conversation.agent.background-raised", "color.conversation.agent.border", "color.conversation.agent.foreground"],
|
|
735
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
736
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
737
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
738
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"meta": {
|
|
743
|
+
"$type": "color",
|
|
744
|
+
"$value": "{alias.color.conversation.meta}",
|
|
745
|
+
"$rag": {
|
|
746
|
+
"description": "Secondary conversation text such as timestamps",
|
|
747
|
+
"usage": ["Message timestamps", "Read receipts"],
|
|
748
|
+
"accessibility": "Deliberately stronger than color.text.subtle.default, which only reaches ~3:1 on tinted bubble surfaces",
|
|
749
|
+
"relationships": ["color.conversation.agent.background", "color.conversation.agent.background-raised", "color.conversation.agent.border", "color.conversation.agent.foreground"],
|
|
750
|
+
"brand-impact": "Medium - conversation surfaces are tuned per brand and mode",
|
|
751
|
+
"semantic-meaning": "Authorship in a conversation, not feedback severity",
|
|
752
|
+
"do": ["Use for chat and conversation surfaces", "Tune per brand at the alias layer"],
|
|
753
|
+
"dont": ["Reuse state colors for authorship", "Use for success, warning or error feedback"]
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
},
|
|
567
757
|
"border": {
|
|
568
758
|
"contrast": {
|
|
569
759
|
"$type": "color",
|
|
@@ -55,17 +55,23 @@
|
|
|
55
55
|
},
|
|
56
56
|
"backdrop-end": {
|
|
57
57
|
"$type": "color",
|
|
58
|
-
"$value": "{color.black-alpha.
|
|
59
|
-
},
|
|
60
|
-
"backdrop-blur": {
|
|
61
|
-
"$type": "dimension",
|
|
62
|
-
"$value": "2px"
|
|
58
|
+
"$value": "{color.black-alpha.2}"
|
|
63
59
|
},
|
|
64
60
|
"padding-top": {
|
|
65
61
|
"$type": "dimension",
|
|
66
62
|
"$value": "{spacing.8}"
|
|
67
63
|
}
|
|
68
64
|
},
|
|
65
|
+
"chat": {
|
|
66
|
+
"max-width": {
|
|
67
|
+
"$type": "sizing",
|
|
68
|
+
"$value": "{container.max-width.lg}"
|
|
69
|
+
},
|
|
70
|
+
"padding": {
|
|
71
|
+
"$type": "dimension",
|
|
72
|
+
"$value": "{spacing.3}"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
69
75
|
"tab": {
|
|
70
76
|
"icon-size": {
|
|
71
77
|
"$type": "dimension",
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": {
|
|
3
|
+
"$type": "other",
|
|
4
|
+
"$value": "https://design-tokens.org/schemas/1.0/schema.json"
|
|
5
|
+
},
|
|
6
|
+
"chatbubble": {
|
|
7
|
+
"max-width": {
|
|
8
|
+
"$type": "sizing",
|
|
9
|
+
"$value": "{container.max-width.sm}"
|
|
10
|
+
},
|
|
11
|
+
"radius": {
|
|
12
|
+
"$type": "borderRadius",
|
|
13
|
+
"$value": "{border.radius.lg}"
|
|
14
|
+
},
|
|
15
|
+
"padding": {
|
|
16
|
+
"$type": "dimension",
|
|
17
|
+
"$value": "{spacing.4}"
|
|
18
|
+
},
|
|
19
|
+
"gap": {
|
|
20
|
+
"$type": "dimension",
|
|
21
|
+
"$value": "{spacing.1}"
|
|
22
|
+
},
|
|
23
|
+
"body": {
|
|
24
|
+
"gap": {
|
|
25
|
+
"$type": "dimension",
|
|
26
|
+
"$value": "{spacing.6}"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"row": {
|
|
30
|
+
"gap": {
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"$value": "{spacing.3}"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"avatar": {
|
|
36
|
+
"size": {
|
|
37
|
+
"$type": "sizing",
|
|
38
|
+
"$value": "{size.4xl}"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"color": {
|
|
42
|
+
"own": {
|
|
43
|
+
"background": {
|
|
44
|
+
"$type": "color",
|
|
45
|
+
"$value": "{color.conversation.own.background}"
|
|
46
|
+
},
|
|
47
|
+
"border": {
|
|
48
|
+
"$type": "color",
|
|
49
|
+
"$value": "{color.conversation.own.border}"
|
|
50
|
+
},
|
|
51
|
+
"foreground": {
|
|
52
|
+
"$type": "color",
|
|
53
|
+
"$value": "{color.conversation.own.foreground}"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"peer": {
|
|
57
|
+
"background": {
|
|
58
|
+
"$type": "color",
|
|
59
|
+
"$value": "{color.conversation.peer.background}"
|
|
60
|
+
},
|
|
61
|
+
"border": {
|
|
62
|
+
"$type": "color",
|
|
63
|
+
"$value": "{color.conversation.peer.border}"
|
|
64
|
+
},
|
|
65
|
+
"foreground": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$value": "{color.conversation.peer.foreground}"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"agent": {
|
|
71
|
+
"background": {
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"$value": "{color.conversation.agent.background}"
|
|
74
|
+
},
|
|
75
|
+
"border": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$value": "{color.conversation.agent.border}"
|
|
78
|
+
},
|
|
79
|
+
"foreground": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": "{color.conversation.agent.foreground}"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"timestamp": {
|
|
85
|
+
"$type": "color",
|
|
86
|
+
"$value": "{color.conversation.meta}"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"embed": {
|
|
90
|
+
"padding": {
|
|
91
|
+
"$type": "dimension",
|
|
92
|
+
"$value": "{spacing.3}"
|
|
93
|
+
},
|
|
94
|
+
"gap": {
|
|
95
|
+
"$type": "dimension",
|
|
96
|
+
"$value": "{spacing.2}"
|
|
97
|
+
},
|
|
98
|
+
"radius": {
|
|
99
|
+
"$type": "borderRadius",
|
|
100
|
+
"$value": "{border.radius.lg}"
|
|
101
|
+
},
|
|
102
|
+
"color": {
|
|
103
|
+
"own": {
|
|
104
|
+
"background": {
|
|
105
|
+
"$type": "color",
|
|
106
|
+
"$value": "{color.conversation.own.background-raised}"
|
|
107
|
+
},
|
|
108
|
+
"border": {
|
|
109
|
+
"$type": "color",
|
|
110
|
+
"$value": "{color.conversation.own.border}"
|
|
111
|
+
},
|
|
112
|
+
"foreground": {
|
|
113
|
+
"$type": "color",
|
|
114
|
+
"$value": "{color.conversation.own.foreground}"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"peer": {
|
|
118
|
+
"background": {
|
|
119
|
+
"$type": "color",
|
|
120
|
+
"$value": "{color.conversation.peer.background-raised}"
|
|
121
|
+
},
|
|
122
|
+
"border": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "{color.conversation.peer.border}"
|
|
125
|
+
},
|
|
126
|
+
"foreground": {
|
|
127
|
+
"$type": "color",
|
|
128
|
+
"$value": "{color.conversation.peer.foreground}"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"agent": {
|
|
132
|
+
"background": {
|
|
133
|
+
"$type": "color",
|
|
134
|
+
"$value": "{color.conversation.agent.background-raised}"
|
|
135
|
+
},
|
|
136
|
+
"border": {
|
|
137
|
+
"$type": "color",
|
|
138
|
+
"$value": "{color.conversation.agent.border}"
|
|
139
|
+
},
|
|
140
|
+
"foreground": {
|
|
141
|
+
"$type": "color",
|
|
142
|
+
"$value": "{color.conversation.agent.foreground}"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"action-stack": {
|
|
148
|
+
"gap": {
|
|
149
|
+
"$type": "dimension",
|
|
150
|
+
"$value": "{spacing.3}"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": {
|
|
3
|
+
"$type": "other",
|
|
4
|
+
"$value": "https://design-tokens.org/schemas/1.0/schema.json"
|
|
5
|
+
},
|
|
6
|
+
"chatphotogrid": {
|
|
7
|
+
"gap": {
|
|
8
|
+
"$type": "dimension",
|
|
9
|
+
"$value": "{spacing.2}"
|
|
10
|
+
},
|
|
11
|
+
"radius": {
|
|
12
|
+
"$type": "borderRadius",
|
|
13
|
+
"$value": "{border.radius.sm}"
|
|
14
|
+
},
|
|
15
|
+
"color": {
|
|
16
|
+
"placeholder": {
|
|
17
|
+
"$type": "color",
|
|
18
|
+
"$value": "{color.surface.level2}"
|
|
19
|
+
},
|
|
20
|
+
"overflow": {
|
|
21
|
+
"background": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": "{color.surface.backdrop}"
|
|
24
|
+
},
|
|
25
|
+
"foreground": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": "{color.text.default.inverse}"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|