|
8 | 8 | } |
9 | 9 |
|
10 | 10 | [data-component="user-message"] { |
| 11 | + --user-message-mention-prefix-color: var(--v2-blue-500); |
| 12 | + |
11 | 13 | font-family: var(--font-family-sans); |
12 | 14 | font-size: var(--font-size-base); |
13 | 15 | font-style: normal; |
|
144 | 146 | padding: 8px 12px; |
145 | 147 | border-radius: 10px; |
146 | 148 |
|
147 | | - [data-highlight="file"] { |
148 | | - color: var(--syntax-property); |
| 149 | + [data-highlight="file"], |
| 150 | + [data-highlight="agent"] { |
| 151 | + color: inherit; |
| 152 | + font-weight: 600; |
149 | 153 | direction: ltr; |
150 | 154 | unicode-bidi: isolate; |
151 | 155 | } |
152 | 156 |
|
153 | | - [data-highlight="agent"] { |
154 | | - color: var(--syntax-type); |
155 | | - direction: ltr; |
156 | | - unicode-bidi: isolate; |
| 157 | + [data-slot="user-message-mention-prefix"] { |
| 158 | + color: var(--user-message-mention-prefix-color); |
157 | 159 | } |
158 | 160 |
|
159 | 161 | max-width: 100%; |
|
1448 | 1450 | } |
1449 | 1451 |
|
1450 | 1452 | :root body [data-workspace-session] [data-component="user-message"] [data-slot="user-message-text"] { |
| 1453 | + --user-message-mention-prefix-color: var(--v2-blue-300); |
| 1454 | + |
1451 | 1455 | background: var(--v2-background-bg-accent); |
1452 | 1456 | color: var(--v2-text-text-contrast); |
1453 | 1457 | } |
1454 | 1458 |
|
1455 | | -:root[data-color-scheme="light"] body [data-local-session] [data-component="user-message"] |
| 1459 | +:root[data-color-scheme="light"] |
| 1460 | + body |
| 1461 | + [data-local-session] |
| 1462 | + [data-component="user-message"] |
1456 | 1463 | [data-slot="user-message-text"] { |
1457 | 1464 | background: var(--v2-blue-100); |
1458 | 1465 | color: var(--v2-blue-700); |
1459 | 1466 | border-radius: 8px; |
1460 | 1467 | } |
1461 | 1468 |
|
1462 | | -:root[data-color-scheme="dark"] body [data-local-session] [data-component="user-message"] |
| 1469 | +:root[data-color-scheme="dark"] |
| 1470 | + body |
| 1471 | + [data-local-session] |
| 1472 | + [data-component="user-message"] |
1463 | 1473 | [data-slot="user-message-text"] { |
1464 | 1474 | background: var(--v2-blue-1200); |
1465 | 1475 | color: var(--v2-blue-300); |
|
0 commit comments