@codingame/monaco-vscode-theme-service-override 37.2.0 → 37.3.1

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.
Files changed (31) hide show
  1. package/index.js +2 -1
  2. package/package.json +3 -3
  3. package/vscode/src/vs/sessions/common/sizes.d.ts +22 -0
  4. package/vscode/src/vs/sessions/common/sizes.js +20 -0
  5. package/vscode/src/vs/workbench/contrib/themes/browser/themes.contribution.js +49 -49
  6. package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +5 -5
  7. package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +13 -13
  8. package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +5 -5
  9. package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +16 -16
  10. package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +39 -39
  11. package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +7 -7
  12. package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +55 -47
  13. package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +21 -21
  14. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/activityBar.css +0 -301
  15. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/commandCenter.css +0 -47
  16. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/editorBorder.css +0 -96
  17. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/fontRamp.css +0 -206
  18. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/keyboardFocusOnly.css +0 -44
  19. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/notificationsDialogs.css +0 -146
  20. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/padding.css +0 -377
  21. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/paneHeaders.css +0 -123
  22. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/roundedCorners.css +0 -287
  23. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/sashHandles.css +0 -94
  24. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/shadows.css +0 -52
  25. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/statusBar.css +0 -97
  26. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/tabs.css +0 -1044
  27. package/vscode/src/vs/workbench/contrib/modernUI/browser/media/titlebar.css +0 -19
  28. package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.d.ts +0 -28
  29. package/vscode/src/vs/workbench/contrib/modernUI/browser/modernUI.contribution.js +0 -219
  30. package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.d.ts +0 -1
  31. package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.js +0 -255
@@ -1,301 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- /*
7
- * Activity Bar — replace the active (selected) item's left highlight border
8
- * with a filled, rounded background that sits behind the icon.
9
- */
10
-
11
- /* Drop the 2px left border indicator on the active item. */
12
- .modern-ui .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .active-item-indicator:before {
13
- border-left: none !important;
14
- }
15
-
16
- /* The indicator owns the inset background for both active and hovered items. */
17
- .modern-ui .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .active-item-indicator,
18
- .modern-ui .activitybar > .content:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) :not(.monaco-menu) > .monaco-action-bar .action-item:not(.checked):hover .active-item-indicator {
19
- z-index: 0;
20
- top: 0;
21
- left: calc((var(--activity-bar-width, 36px) - var(--activity-bar-action-height, 36px) + 4px) / 2);
22
- width: calc(var(--activity-bar-action-height, 36px) - 4px);
23
- height: calc(var(--activity-bar-action-height, 36px) - 4px);
24
- border-radius: var(--vscode-cornerRadius-small);
25
- }
26
-
27
- .modern-ui .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .active-item-indicator {
28
- background-color: var(--vscode-modernActivityBarItem-activeBackground);
29
- }
30
-
31
- .modern-ui .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .action-label.codicon {
32
- color: var(--vscode-modernActivityBarItem-activeForeground) !important;
33
- }
34
-
35
- .modern-ui .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .action-label.uri-icon {
36
- background-color: var(--vscode-modernActivityBarItem-activeForeground) !important;
37
- }
38
-
39
- .modern-ui .activitybar > .content:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) :not(.monaco-menu) > .monaco-action-bar .action-item:not(.checked):hover .active-item-indicator {
40
- background-color: var(--vscode-modernActivityBarItem-hoverBackground);
41
- }
42
-
43
- .modern-ui .activitybar > .content:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) :not(.monaco-menu) > .monaco-action-bar .action-item:not(.checked):hover .action-label.codicon {
44
- color: var(--vscode-modernActivityBarItem-hoverForeground) !important;
45
- }
46
-
47
- .modern-ui .activitybar > .content:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) :not(.monaco-menu) > .monaco-action-bar .action-item:not(.checked):hover .action-label.uri-icon {
48
- background-color: var(--vscode-modernActivityBarItem-hoverForeground) !important;
49
- }
50
-
51
- /* Compact: minimal horizontal inset — 24×24px box centered in the 28px item. */
52
- .modern-ui .activitybar.compact > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .active-item-indicator,
53
- .modern-ui .activitybar.compact > .content:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) :not(.monaco-menu) > .monaco-action-bar .action-item:not(.checked):hover .active-item-indicator {
54
- width: calc(var(--activity-bar-action-height, 28px) - 4px);
55
- height: calc(var(--activity-bar-action-height, 28px) - 4px);
56
- }
57
-
58
- /* Keep the compact application menu on the same control tier and icon ramp as adjacent activity targets. */
59
- .modern-ui.monaco-workbench .activitybar .menubar.compact {
60
- height: var(--activity-bar-action-height, 36px);
61
- }
62
-
63
- .modern-ui.monaco-workbench .activitybar .menubar.compact > .menubar-menu-button {
64
- justify-content: center;
65
- }
66
-
67
- .modern-ui.monaco-workbench .activitybar .menubar.compact > .menubar-menu-button > .menubar-menu-items-holder > .monaco-scrollable-element > .scrollbar.vertical {
68
- z-index: 0;
69
- }
70
-
71
- .modern-ui.monaco-workbench .activitybar .menubar.compact > .menubar-menu-button:is(:focus, .open) {
72
- background-color: transparent;
73
- }
74
-
75
- .modern-ui.monaco-workbench .activitybar .menubar.compact .toolbar-toggle-more {
76
- box-sizing: border-box;
77
- width: calc(var(--activity-bar-action-height, 36px) - var(--vscode-spacing-size40));
78
- height: calc(var(--activity-bar-action-height, 36px) - var(--vscode-spacing-size40));
79
- padding: 0;
80
- border-radius: var(--vscode-cornerRadius-small);
81
- font-size: var(--vscode-codiconFontSize);
82
- }
83
-
84
- .modern-ui.monaco-workbench .activitybar .menubar.compact:not(:focus-within) > .menubar-menu-button:hover .toolbar-toggle-more {
85
- color: var(--vscode-modernActivityBarItem-hoverForeground);
86
- background-color: var(--vscode-modernActivityBarItem-hoverBackground);
87
- }
88
-
89
- .modern-ui.monaco-workbench .activitybar .menubar.compact > .menubar-menu-button:is(:focus, .open) .toolbar-toggle-more {
90
- color: var(--vscode-modernActivityBarItem-activeForeground);
91
- background-color: var(--vscode-modernActivityBarItem-activeBackground);
92
- }
93
-
94
- :is(.hc-black, .hc-light).modern-ui .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .active-item-indicator {
95
- border-radius: var(--vscode-cornerRadius-small);
96
- background-color: transparent;
97
- outline: var(--vscode-strokeThickness) solid var(--vscode-contrastActiveBorder);
98
- outline-offset: calc(-1 * var(--vscode-strokeThickness));
99
- }
100
-
101
- :is(.hc-black, .hc-light).modern-ui.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked:not(:focus) .active-item-indicator {
102
- display: block;
103
- }
104
-
105
- :is(.hc-black, .hc-light).modern-ui .activitybar > .content:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) :not(.monaco-menu) > .monaco-action-bar .action-item:not(.checked):hover .active-item-indicator {
106
- border-radius: var(--vscode-cornerRadius-small);
107
- background-color: transparent;
108
- outline: var(--vscode-strokeThickness) dashed var(--vscode-contrastActiveBorder);
109
- outline-offset: calc(-1 * var(--vscode-strokeThickness));
110
- }
111
-
112
- /*
113
- * Horizontal Activity Bar — top / bottom position on the primary sidebar, panel
114
- * (bottom) and auxiliary bar. When the activity bar is moved to the top or
115
- * bottom of a part, its composites render in a horizontal `.composite-bar`
116
- * inside the part's header/footer (`.pane-composite-part > .header-or-footer`)
117
- * rather than the dedicated activity bar. By default the active item is marked
118
- * with a thin top/bottom border line plus a flat, full-bleed fill. Mirror the
119
- * default (side) treatment so both layouts feel consistent: drop the line and
120
- * the flat fill, and paint an inset, rounded background box behind the icon for
121
- * the active and hovered items.
122
- *
123
- * The box geometry is symmetric (centered) within the ~35px tall icon item so
124
- * it reads as a soft, selected chip — the horizontal analogue of the square box
125
- * used in the default position.
126
- */
127
-
128
- /*
129
- * Keep the icon (and its badge) above the background box. Unlike the dedicated
130
- * activity bar, the composite-bar label is not promoted in the stacking order,
131
- * so lift it explicitly; otherwise the indicator (appended last in the DOM)
132
- * would paint over the icon.
133
- */
134
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon :is(.action-label, .badge) {
135
- position: relative;
136
- z-index: 1;
137
- }
138
-
139
- /* Drop the flat, full-bleed active fill — it is replaced by the rounded box. */
140
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon.checked {
141
- background-color: transparent;
142
- }
143
-
144
- /*
145
- * Drop the thin top/bottom active border line. It is kept while the item is
146
- * keyboard focused so the focus indicator still shows.
147
- */
148
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon.checked:not(:focus) .active-item-indicator:before {
149
- display: none;
150
- }
151
-
152
- /* Active item: inset, rounded background box behind the icon. */
153
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) > .composite-bar > .monaco-action-bar .action-item.icon.checked:not(:active) .active-item-indicator {
154
- z-index: 0;
155
- top: 50%;
156
- left: var(--vscode-spacing-size20);
157
- width: 24px;
158
- height: 24px;
159
- border-radius: var(--vscode-cornerRadius-small);
160
- transform: translateY(-50%);
161
- }
162
-
163
- /*
164
- * Hover item: identical rounded box. Skipped on the active item (which already
165
- * shows the box) and while dragging (the action-item `::before`/`::after` are
166
- * reused for the drop-line indicators).
167
- */
168
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container:not(.dragged-over):not(.dragged-over-head):not(.dragged-over-tail) > .composite-bar > .monaco-action-bar .action-item.icon:not(.checked):not(:active):hover .active-item-indicator {
169
- z-index: 0;
170
- top: 50%;
171
- left: var(--vscode-spacing-size20);
172
- width: 24px;
173
- height: 24px;
174
- border-radius: var(--vscode-cornerRadius-small);
175
- transform: translateY(-50%);
176
- }
177
-
178
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon .action-label.codicon::before,
179
- .modern-ui.monaco-workbench .part.sidebar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label::before,
180
- .modern-ui.monaco-workbench .part.auxiliarybar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label::before {
181
- left: 0;
182
- }
183
-
184
- .modern-ui .pane-composite-part.auxiliarybar > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon .action-label.uri-icon {
185
- top: 0px;
186
- left: 0px;
187
- }
188
-
189
- /* Render the composite icons at the standard 16px size. */
190
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon .action-label.codicon {
191
- font-size: 16px;
192
- line-height: 12px;
193
- font-weight: var(--vscode-fontWeight-regular);
194
- }
195
-
196
- /*
197
- * Size the "Additional Views" overflow control (`.codicon-more`) to a 24px
198
- * square so it matches the other 24px composite controls. `box-sizing` keeps the
199
- * 16px glyph centered within the box.
200
- */
201
- .modern-ui.monaco-workbench .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-label.codicon-more {
202
- box-sizing: border-box;
203
- width: 24px;
204
- height: 24px;
205
- color: var(--vscode-icon-foreground) !important;
206
- }
207
-
208
- /*
209
- * Center the 24px overflow control within its item. The item is wider than the
210
- * label where its width is not pinned to 24px, so without this the label sits at
211
- * the flex start (left) and the glyph reads as horizontally off-center.
212
- */
213
- .modern-ui.monaco-workbench .part.auxiliarybar > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-label.codicon-more::before {
214
- position: relative;
215
- left: 0;
216
- }
217
-
218
- /*
219
- * Drop the divider between the horizontal activity bar and the part body. The
220
- * rounded box gives the active item its own shape, so the full-width rule under
221
- * the top (header) bar — and over the bottom (footer) bar — is removed for the
222
- * cleaner, default-position look. `.monaco-workbench` is added to outrank the
223
- * base part rule.
224
- */
225
- .modern-ui.monaco-workbench .pane-composite-part:not(.empty) > .header {
226
- border-bottom: none;
227
- overflow: visible;
228
- }
229
-
230
- .modern-ui.monaco-workbench .pane-composite-part:not(.empty) > .footer {
231
- border-top: none;
232
- }
233
-
234
- .modern-ui.monaco-workbench .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon .badge.compact {
235
- overflow: visible;
236
- }
237
-
238
- /* When badge-content is empty (icon-only via ::before, e.g. the update badge), use uniform padding so it stays circular. */
239
- .modern-ui.monaco-workbench .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .badge .badge-content:empty {
240
- padding: var(--vscode-spacing-size20);
241
- }
242
-
243
- .modern-ui.monaco-workbench .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon .badge.compact .badge-content:empty {
244
- padding: 0;
245
- border-radius: var(--vscode-cornerRadius-circle);
246
- }
247
-
248
- .modern-ui.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content {
249
- top: 18px;
250
- right: 3px;
251
- }
252
-
253
- .modern-ui.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content:empty {
254
- padding: 0;
255
- border-radius: var(--vscode-cornerRadius-circle);
256
- width: 16px;
257
- }
258
-
259
- .modern-ui.monaco-workbench .activitybar.compact > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content {
260
- top: 13px;
261
- right: 3px;
262
- }
263
-
264
- .modern-ui.monaco-workbench .activitybar.compact > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content:empty {
265
- padding: 0;
266
- border-radius: var(--vscode-cornerRadius-circle);
267
- width: 13px;
268
- }
269
-
270
- .modern-ui.monaco-workbench .pane-composite-part > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item:focus .active-item-indicator {
271
- overflow: visible;
272
- }
273
-
274
- .modern-ui.monaco-workbench .pane-composite-part > .header-or-footer.header > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item:focus .active-item-indicator:before {
275
- bottom: 8px;
276
- border-radius: var(--vscode-cornerRadius-small);
277
- }
278
-
279
- .modern-ui.monaco-workbench .pane-composite-part > .header-or-footer.header > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked:focus .active-item-indicator:before {
280
- bottom: 0;
281
- }
282
-
283
- .modern-ui.monaco-workbench .pane-composite-part > .header-or-footer.footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item:focus .active-item-indicator:before {
284
- border-radius: var(--vscode-cornerRadius-small);
285
- top: 3px;
286
- }
287
-
288
- .modern-ui.monaco-workbench .pane-composite-part > .header-or-footer.footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked:focus .active-item-indicator:before {
289
- top: 0;
290
- }
291
- .modern-ui.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .profile-badge .profile-text-overlay {
292
- top: 16px;
293
- }
294
-
295
- .modern-ui.monaco-workbench .activitybar.compact > .content :not(.monaco-menu) > .monaco-action-bar .profile-badge .profile-text-overlay {
296
- top: 10px;
297
- }
298
-
299
- .modern-ui .pane-composite-part > :is(.title, .header-or-footer) > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.icon:not(.checked) .action-label.codicon.codicon-more:hover {
300
- background: transparent;
301
- }
@@ -1,47 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- /*
7
- * Modern UI module: "Agents Window Command Center".
8
- *
9
- * Mirrors the Agents window title-bar styling (see
10
- * src/vs/sessions/contrib/sessions/browser/media/sessionsTitleBarWidget.css and
11
- * src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css):
12
- * the command center and agent-status input sit on a transparent background at
13
- * rest and only reveal the command-center active background/border on hover,
14
- * instead of carrying a solid fill the whole time.
15
- *
16
- * All rules are gated behind the `.modern-ui` class, which
17
- * the ModernUIContribution toggles onto the workbench container(s) when
18
- * the `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
19
- */
20
-
21
- /* Keep unavailable navigation actions on the contributed command-center foreground. */
22
- .modern-ui.monaco-workbench .part.titlebar .command-center > .monaco-toolbar > .monaco-action-bar > .actions-container > .action-item > .action-label:is(.codicon-arrow-left, .codicon-arrow-right) {
23
- color: var(--vscode-commandCenter-foreground);
24
- }
25
-
26
- /*
27
- * Agent status pill and its input area. Both default to the indicator
28
- * background; clear it so they match the transparent command center. Their own
29
- * `:hover` rules already reveal the active background, and the connected
30
- * `session-mode` pill keeps its active fill (excluded below).
31
- */
32
- .modern-ui .agent-status-pill:not(.session-mode),
33
- .modern-ui .agent-status-pill .agent-status-input-area {
34
- background-color: transparent !important;
35
- }
36
-
37
- /*
38
- * Connected badge segments (sparkle / chat toggle dropdown, status sections and
39
- * the command-center toolbar) also default to the indicator background. Clear
40
- * it so the whole pill reads transparent at rest; each segment's own `:hover`
41
- * rule still reveals the active background, and the `filtered` state keeps its
42
- * own active fill (excluded below).
43
- */
44
- .modern-ui .agent-status-badge-section:not(.filtered),
45
- .modern-ui .agent-status-command-center-toolbar {
46
- background-color: transparent !important;
47
- }
@@ -1,96 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- /*
7
- * Modern UI module: "Editor Border".
8
- *
9
- * Frames the editor area as a distinct card by drawing a subtle 1px border with
10
- * rounded corners around the whole editor part (tabs, breadcrumbs and editor
11
- * body). This separates the editor from the surrounding chrome (side bar,
12
- * panel, auxiliary bar) and mirrors the card-like editor treatment used in the
13
- * Agents window (src/vs/sessions/browser/media/style.css).
14
- *
15
- * The border is drawn with `box-sizing: border-box` so it sits inside the area
16
- * the grid already allocates to the editor part — no margin is added, avoiding a
17
- * relayout. `overflow: hidden` clips the editor content to the rounded corners.
18
- * The floating editor window part (`.modal-editor-part`) is excluded.
19
- *
20
- * All rules are gated behind the `.modern-ui` class, which the
21
- * ModernUIContribution toggles onto the workbench container(s) when the
22
- * `workbench.experimental.modernUI` (Modern UI Update) setting is enabled.
23
- * Without that class these rules never apply.
24
- */
25
-
26
- .modern-ui .monaco-grid-view .part.editor:not(.modal-editor-part) {
27
- border: var(--vscode-strokeThickness) solid var(--vscode-editorGroup-border, color-mix(in srgb, var(--vscode-foreground) 12%, transparent));
28
- border-radius: var(--vscode-cornerRadius-large);
29
- box-sizing: border-box;
30
- overflow: hidden;
31
- background-color: var(--vscode-editor-background);
32
- }
33
-
34
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact > .monaco-grid-view .part.editor:not(.modal-editor-part) {
35
- border-radius: 0;
36
- }
37
-
38
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact > .monaco-grid-view .part.editor.floating-editor-outer-left.floating-editor-outer-top:not(.modal-editor-part) {
39
- border-top-left-radius: var(--vscode-cornerRadius-large);
40
- --modern-ui-floating-card-corner-top-left-border-image: radial-gradient(circle at bottom right, transparent calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness) - 0.5px), var(--modern-ui-floating-card-stroke-color) calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness)), var(--modern-ui-floating-card-stroke-color) var(--vscode-cornerRadius-large), transparent calc(var(--vscode-cornerRadius-large) + 0.5px));
41
- }
42
-
43
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact > .monaco-grid-view .part.editor.floating-editor-outer-right.floating-editor-outer-top:not(.modal-editor-part) {
44
- border-top-right-radius: var(--vscode-cornerRadius-large);
45
- --modern-ui-floating-card-corner-top-right-border-image: radial-gradient(circle at bottom left, transparent calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness) - 0.5px), var(--modern-ui-floating-card-stroke-color) calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness)), var(--modern-ui-floating-card-stroke-color) var(--vscode-cornerRadius-large), transparent calc(var(--vscode-cornerRadius-large) + 0.5px));
46
- }
47
-
48
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact > .monaco-grid-view .part.editor.floating-editor-outer-left.floating-editor-outer-bottom:not(.modal-editor-part) {
49
- border-bottom-left-radius: var(--vscode-cornerRadius-large);
50
- --modern-ui-floating-card-corner-bottom-left-border-image: radial-gradient(circle at top right, transparent calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness) - 0.5px), var(--modern-ui-floating-card-stroke-color) calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness)), var(--modern-ui-floating-card-stroke-color) var(--vscode-cornerRadius-large), transparent calc(var(--vscode-cornerRadius-large) + 0.5px));
51
- }
52
-
53
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact > .monaco-grid-view .part.editor.floating-editor-outer-right.floating-editor-outer-bottom:not(.modal-editor-part) {
54
- border-bottom-right-radius: var(--vscode-cornerRadius-large);
55
- --modern-ui-floating-card-corner-bottom-right-border-image: radial-gradient(circle at top left, transparent calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness) - 0.5px), var(--modern-ui-floating-card-stroke-color) calc(var(--vscode-cornerRadius-large) - var(--vscode-strokeThickness)), var(--modern-ui-floating-card-stroke-color) var(--vscode-cornerRadius-large), transparent calc(var(--vscode-cornerRadius-large) + 0.5px));
56
- }
57
-
58
- /*
59
- * The editor part paints a separator shadow on its leading edge (via the
60
- * `::after` overlay) to set itself apart from the side bar. With the explicit
61
- * border above that shadow is redundant and would double up, so suppress it.
62
- */
63
- .modern-ui .monaco-grid-view .part.editor:not(.modal-editor-part)::after {
64
- box-shadow: none;
65
- }
66
-
67
- /* Keep the editor frame aligned with the shared floating-surface border by default. */
68
- .monaco-workbench.modern-ui.floating-panels .part.editor {
69
- border-color: var(--modern-ui-editor-border-color, var(--vscode-editor-border, var(--vscode-surface-border, var(--vscode-widget-border, transparent)))) !important;
70
- }
71
-
72
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact .part.editor {
73
- --modern-ui-floating-card-stroke-color: var(--vscode-editor-border, var(--vscode-surface-border, var(--vscode-widget-border, transparent)));
74
- --modern-ui-floating-card-left-border-color: transparent;
75
- --modern-ui-floating-card-top-border-color: transparent;
76
- }
77
-
78
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact .part.editor.floating-editor-outer-left {
79
- --modern-ui-floating-card-left-border-color: var(--modern-ui-floating-card-stroke-color);
80
- }
81
-
82
- .monaco-workbench.modern-ui.floating-panels.modern-ui-compact .part.editor.floating-editor-outer-top {
83
- --modern-ui-floating-card-top-border-color: var(--modern-ui-floating-card-stroke-color);
84
- }
85
-
86
- .monaco-workbench.modern-ui .chat-view-position-left > .voice-agent-controls-wrapper {
87
- .agent-sessions-container {
88
- border-right-color: var(--vscode-surface-border, color-mix(in srgb, var(--vscode-foreground) 12%, transparent)) !important;
89
- }
90
- }
91
-
92
- .monaco-workbench.modern-ui .chat-view-position-right > .voice-agent-controls-wrapper {
93
- .agent-sessions-container {
94
- border-left-color: var(--vscode-surface-border, color-mix(in srgb, var(--vscode-foreground) 12%, transparent)) !important;
95
- }
96
- }
@@ -1,206 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- /*
7
- * Modern UI module: "Font Ramp".
8
- *
9
- * Applies a single, disciplined typographic ramp across the workbench. Each role
10
- * maps to a size and weight:
11
- *
12
- * - Heading 1 26px / 600 welcome screen title
13
- * - Heading 2 18px / 600 title
14
- * - Heading 3 13px / 600 subtitle
15
- * - Body 1 13px / 400 primary text (Strong: 600)
16
- * - Body 2 11px / 400 secondary text (Strong: 600)
17
- * - Label 1 12px / 400 section titles (Strong: 600)
18
- * - Label 2 11px / 400 metadata (Strong: 600)
19
- * - Label 3 10px / 400 badges
20
- *
21
- * Headings, section titles, editor tabs and badges are mapped onto their
22
- * canonical surfaces using the shared font-size and font-weight tokens.
23
- *
24
- * All rules are gated behind the `.modern-ui` class, which the
25
- * ModernUIContribution toggles onto the workbench container(s) when the
26
- * `workbench.experimental.modernUI` (Modern UI Update) setting is enabled. Without
27
- * that class these rules never apply.
28
- */
29
-
30
- /* Anchor the workbench base font on Body 1 so inheriting surfaces follow the ramp. */
31
- .modern-ui.monaco-workbench {
32
- font-size: var(--vscode-fontSize-body1);
33
- }
34
-
35
- /* =============================================================================
36
- * Headings — prominent titles rendered at SemiBold (600).
37
- * ========================================================================== */
38
-
39
- /* Heading 1 (26px) — welcome / getting started screen title. */
40
- .modern-ui.monaco-workbench .part.editor > .content .gettingStartedContainer h1 {
41
- font-size: var(--vscode-fontSize-heading1);
42
- font-weight: var(--vscode-fontWeight-semiBold);
43
- }
44
-
45
- /* Heading 2 (18px) — welcome subtitle and secondary screen titles. */
46
- .modern-ui.monaco-workbench .part.editor > .content .gettingStartedContainer .subtitle,
47
- .modern-ui.monaco-workbench .part.editor > .content .gettingStartedContainer h2 {
48
- font-size: var(--vscode-fontSize-heading2);
49
- font-weight: var(--vscode-fontWeight-semiBold);
50
- }
51
-
52
- /* =============================================================================
53
- * Label 1 (12px) — section titles.
54
- * ========================================================================== */
55
-
56
- /* View pane (sidebar / panel section) header titles — section title, Strong. */
57
- .modern-ui .monaco-pane-view .pane > .pane-header .title {
58
- font-size: var(--vscode-fontSize-label1);
59
- font-weight: var(--vscode-fontWeight-semiBold);
60
- }
61
-
62
- /* Part (sidebar / auxiliary bar / panel) title labels — section title, Strong. */
63
- .modern-ui.monaco-workbench .part > .title > .title-label h2 {
64
- font-size: var(--vscode-fontSize-label1);
65
- font-weight: var(--vscode-fontWeight-semiBold);
66
- }
67
-
68
- /* Auxiliary bar composite header labels use the same regular body role as other tabs. */
69
- .modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label {
70
- font-weight: var(--vscode-fontWeight-regular);
71
- }
72
-
73
- .modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label.codicon {
74
- font-weight: var(--vscode-fontWeight-regular);
75
- }
76
-
77
- /*
78
- * Size panel / composite tab labels directly because actionbar.css sets their
79
- * font size; leave casing inherited so tabs.css preserves localized labels.
80
- */
81
- .modern-ui.monaco-workbench .pane-composite-part > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
82
- .modern-ui.monaco-workbench .pane-composite-part > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label {
83
- font-size: var(--vscode-fontSize-label1);
84
- }
85
-
86
- /* Editor tab labels use Body 1 for comfortable readability at a normal viewing distance. */
87
- .modern-ui.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab .tab-label {
88
- font-size: var(--vscode-fontSize-body1);
89
- }
90
-
91
- /* =============================================================================
92
- * Label 3 (10px) — badges and counters.
93
- * ========================================================================== */
94
-
95
- .modern-ui .monaco-count-badge,
96
- .modern-ui .monaco-action-bar .badge .badge-content {
97
- font-size: var(--vscode-fontSize-label3);
98
- }
99
-
100
- .modern-ui.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content {
101
- font-weight: var(--vscode-fontWeight-regular);
102
- }
103
-
104
- /* =============================================================================
105
- * Casing — replace ALL-CAPS labels with capitalized (title-case) text. The
106
- * underlying strings are already properly cased, so these surfaces only need
107
- * their `text-transform: uppercase` swapped for `capitalize`. The extra
108
- * `.modern-ui` ancestor raises specificity over the base rules.
109
- * ========================================================================== */
110
-
111
- /* View pane (sidebar / panel section) header titles. */
112
- .modern-ui .monaco-pane-view .pane > .pane-header > .title,
113
- /* Part titles (sidebar, auxiliary bar, panel) — but never editor filenames. */
114
- .modern-ui.monaco-workbench .part:not(.editor) > .title > .title-label h2,
115
- /* Notifications center header. */
116
- .modern-ui.monaco-workbench > .notifications-center > .notifications-center-header > .notifications-center-header-title,
117
- /* Debug call-stack session state labels. */
118
- .modern-ui .debug-pane .debug-call-stack .session > .state.label,
119
- /* Settings editor section headers. */
120
- .modern-ui .monaco-editor .settings-header-widget .title-container .title,
121
- /* Agent sessions list header ("SESSIONS"). */
122
- .modern-ui .chat-viewpane.has-sessions-control .agent-sessions-container .agent-sessions-title-container {
123
- text-transform: capitalize;
124
- font-size: var(--vscode-fontSize-label1);
125
- }
126
-
127
- /*
128
- * Notifications center header title — the shared ramp above only handles casing
129
- * and size. Its semibold weight lives here so all of this header's typography
130
- * stays in one module.
131
- */
132
- .modern-ui.monaco-workbench > .notifications-center > .notifications-center-header > .notifications-center-header-title {
133
- font-weight: var(--vscode-fontWeight-semiBold);
134
- }
135
-
136
- /*
137
- * Named File Explorer workspace titles preserve the casing supplied by the
138
- * user. Untitled workspaces continue to use the standard capitalized header.
139
- */
140
- .modern-ui.monaco-workbench .part.preserve-merged-workspace-name-case > .title > .title-label h2,
141
- .modern-ui .pane.preserve-workspace-name-case > .pane-header > .icon.codicon-explorer-view-icon + .title {
142
- text-transform: none;
143
- }
144
-
145
- /* Restore the legacy casing for view, part, and composite tab headers when requested. */
146
- .modern-ui.modern-ui-uppercase-view-headers .monaco-pane-view .pane > .pane-header > .title,
147
- .modern-ui.modern-ui-uppercase-view-headers.monaco-workbench .part:not(.editor) > .title > .title-label h2,
148
- .modern-ui.modern-ui-uppercase-view-headers.monaco-workbench .pane-composite-part > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
149
- .modern-ui.modern-ui-uppercase-view-headers.monaco-workbench .pane-composite-part > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
150
- .modern-ui.modern-ui-uppercase-view-headers .monaco-pane-view .pane > .pane-header > .icon.codicon-explorer-view-icon + .title {
151
- text-transform: uppercase;
152
- }
153
-
154
- /*
155
- * Chat view title — the conversation title (e.g. "hello") shown in the chat
156
- * view header. It is dynamic text (user / model generated), so respect its real
157
- * casing rather than forcing ALL-CAPS like the base rule
158
- * (chatViewTitleControl.css) does.
159
- */
160
- .modern-ui .chat-viewpane .chat-view-title-container .chat-view-title-label {
161
- text-transform: none;
162
- font-size: var(--vscode-fontSize-label1);
163
- }
164
-
165
- /*
166
- * Drop the active-tab underline on the auxiliary bar composite header so a
167
- * single-composite header (e.g. the secondary side bar "Chat") reads as a plain
168
- * section title that matches the primary side bar, rather than a highlighted
169
- * tab. The base rules (auxiliaryBarPart.css) paint the indicator with
170
- * `!important` from a `.part.auxiliarybar` selector, so the override must mirror
171
- * those exact selectors (including the `:not(:focus)` / `.clicked:focus` states)
172
- * and rely on the extra `.modern-ui` class to win on specificity.
173
- */
174
- .modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked:not(:focus) .active-item-indicator:before,
175
- .modern-ui.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked.clicked:focus .active-item-indicator:before,
176
- .modern-ui.monaco-workbench .part.auxiliarybar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked:not(:focus) .active-item-indicator:before,
177
- .modern-ui.monaco-workbench .part.auxiliarybar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item.checked.clicked:focus .active-item-indicator:before {
178
- border-top-color: transparent !important;
179
- border-bottom-color: transparent !important;
180
- }
181
-
182
- .modern-ui .debug-pane .debug-call-stack .session > .state.label {
183
- font-size: var(--vscode-fontSize-label2);
184
- }
185
-
186
- .modern-ui.monaco-workbench .agent-sessions-viewer {
187
- .agent-session-section {
188
- text-transform: none;
189
- }
190
-
191
- .agent-session-item .agent-session-details-row {
192
- font-size: var(--vscode-fontSize-label2);
193
- }
194
- }
195
-
196
- .modern-ui.monaco-workbench .chat-viewpane.has-sessions-control {
197
- .agent-session-section {
198
- padding-left: var(--vscode-spacing-size120);
199
- }
200
- }
201
-
202
- .modern-ui.monaco-workbench .monaco-icon-label::after,
203
- .modern-ui.monaco-workbench .explorer-folders-view .explorer-item::after {
204
- margin-right: var(--vscode-spacing-size80);
205
- font-size: var(--vscode-fontSize-label2);
206
- }