Skip to content

Commit cafdcda

Browse files
authored
fix(clients): give image attachment chips a blue accent (#26306)
1 parent 9c6429d commit cafdcda

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎apps/mobile/src/lib/composerChipPresentation.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface ContextChipPresentation {
2323
* surface. See `ContextChip.tsx`.
2424
*/
2525
const CONTEXT_CHIP_PRESENTATIONS = {
26-
image: { accent: "#d55665", icon: "image" },
26+
image: { accent: "#0090cd", icon: "image" },
2727
video: { accent: "#d06217", icon: "film" },
2828
file: { accent: "#0090cd", icon: null },
2929
mention: { accent: "#0096af", icon: null },

‎apps/web/src/components/ContextChip.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const contextChipVariants = cva(
1212
variants: {
1313
kind: {
1414
neutral: "[--context-chip-accent:currentColor]",
15-
image: "[--context-chip-accent:var(--context-chip-image)]",
15+
image:
16+
"rounded-lg border border-(--context-chip-accent)/30 bg-(--context-chip-accent)/10 px-1.5 [--context-chip-accent:var(--context-chip-image)]",
1617
video: "[--context-chip-accent:var(--context-chip-video)]",
1718
file: "[--context-chip-accent:var(--context-chip-file)]",
1819
mention: "[--context-chip-accent:var(--context-chip-mention)]",

‎apps/web/src/lib/contextChipAccents.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const CONTEXT_CHIP_ACCENTS = {
2-
image: "oklch(0.62 0.16 16)",
2+
image: "oklch(0.62 0.136 237)",
33
video: "oklch(0.62 0.16 48)",
44
file: "oklch(0.62 0.136 237)",
55
mention: "oklch(0.62 0.11 215)",

0 commit comments

Comments
 (0)