File size: 4,277 Bytes
af1bee9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* Integrations page (IntegrationsPage.tsx). Tokens only, except the brand marks below.

   Brand marks: the colours of other companies' logos, used only on the icon tile (like a logo file), so they are exempt

   from the no-raw-colour rule. Integrations without an exact logo (Copilot, Claude, Jira-planned, ServiceNow) stay neutral. */
.int-section {
  --brand-telegram: #229ed9;
  --brand-teams: #5059c9;
  --brand-discord: #5865f2;
  --brand-google-chat: #00ac47;
}

.int-sect-h { margin: 0; font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: var(--fw-semibold); color: var(--label); }
.int-sect-lede { margin: var(--sp-1) 0 var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); }
.int-section + .int-section { margin-top: var(--sp-6); }

.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 1023px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .int-grid { grid-template-columns: minmax(0, 1fr); } }

.int-card { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); }
.int-card > .mantine-Button-root { align-self: flex-start; margin-top: auto; }
.int-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); margin-bottom: var(--sp-1); }
.int-tile { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-md); background: var(--fill); color: var(--label); }
.int-tile[data-brand='telegram'] { color: var(--brand-telegram); background: color-mix(in srgb, var(--brand-telegram) 14%, transparent); }
.int-tile[data-brand='teams'] { color: var(--brand-teams); background: color-mix(in srgb, var(--brand-teams) 14%, transparent); }
.int-tile[data-brand='discord'] { color: var(--brand-discord); background: color-mix(in srgb, var(--brand-discord) 14%, transparent); }
.int-tile[data-brand='google_chat'] { color: var(--brand-google-chat); background: color-mix(in srgb, var(--brand-google-chat) 14%, transparent); }

.int-name { margin: 0; font-size: var(--fs-base); line-height: var(--lh-base); font-weight: var(--fw-semibold); color: var(--label); }
.int-desc { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); }
.int-caps { list-style: none; margin: 0 0 var(--sp-2); padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.int-caps li { padding: 2px var(--sp-2); border-radius: var(--r-pill); background: var(--fill); color: var(--label-2); font-size: var(--fs-xs); line-height: var(--lh-xs); }

.int-state { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label); }
.int-steps { margin: 0; padding-left: var(--sp-5); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label); display: flex; flex-direction: column; gap: var(--sp-1); }
.int-steps code { font-family: var(--mono); font-size: var(--fs-xs); }
.int-bullets { list-style: disc; }
.int-subh { margin: 0 0 var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-semibold); color: var(--label); }

/* AI assistant setup (AssistantSetup): copyable address and settings */
.int-snippet { display: flex; flex-direction: column; gap: var(--sp-1); }
.int-snippet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.int-snippet-head .int-subh { margin: 0; }
.int-code { margin: 0; padding: var(--sp-3); border-radius: var(--r-md); background: var(--bg-elev-2); border: 1px solid var(--sep);
  font-family: var(--mono); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--label); white-space: pre-wrap; overflow-wrap: anywhere; }
.int-url { display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); background: var(--bg-elev-2); border: 1px solid var(--sep);
  font-family: var(--mono); font-size: var(--fs-sm); color: var(--label); overflow-wrap: anywhere; }

/* A2A drawer: the approval rule stands out from the explanation around it */
.int-rule { padding: var(--sp-2) var(--sp-3); border-left: 3px solid var(--sep-strong); background: var(--bg-elev-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }