Commit Graph

202 Commits

Author SHA1 Message Date
Henning Dieterichs
f34aaead5b Revert "Add editorBracketMatch-foreground color setting (#284031)" (#284451)
Fixes https://github.com/microsoft/vscode/issues/284444

This reverts commit 695f93c758.
2025-12-19 14:00:20 +00:00
Dmitriy Vasyura
695f93c758 Add editorBracketMatch-foreground color setting (#284031)
* Added editorBracketMatch-foreground color setting

* Undo CSS change as that is unnecessary with theming participant.
2025-12-18 11:03:11 +01:00
mrleemurray
ac2e929ce4 Add sizes to known variables and update color registry tests 2025-12-17 13:13:04 +00:00
mrleemurray
8eac7ddda6 style: restore border property for text preformat in various CSS files 2025-12-17 11:01:34 +00:00
mrleemurray
bb7827065c style: remove unused textPreformat border variable from known variables 2025-12-17 10:54:18 +00:00
mrleemurray
08392ddc70 Add text preformat border high contrast color and apply it across various components 2025-12-16 11:15:31 +00:00
BeniBenj
f3c19dd858 extract border radius variable 2025-12-12 17:02:33 +01:00
Benjamin Pasero
9bffc2b58c feedback 2025-12-10 12:30:12 +01:00
mrleemurray
611ad1b797 Add unfocused badge border color for agent sessions and update CSS styling 2025-12-10 11:11:40 +00:00
Benjamin Pasero
6337b196d6 Agent sessions: reduce the color for diff outline (fix #281754) (#282432) 2025-12-10 10:40:36 +00:00
Benjamin Pasero
9913515e47 agent sessions fixes (#282185)
merge to main
2025-12-09 10:05:13 +00:00
Benjamin Pasero
f04ec6a235 Chat view improvements (#281447)
* agent sessions - add and use `getSession`

* agent sessions - fix `changes` serialisation

* agent sessions - have a dedicated `agentSessionsList.background` color

* agent sessions - update session title based on viewer state

* style - update icons and adjust sidebar widths

* refactor - simplify chat editor retrieval logic

* style - add archived state styling to session items

* chore - add group to menu for agent session actions

* fix - adjust auxiliary bar maximization behavior

* fixes #281448

* feat - add new actions for agent sessions viewer

* Add new codicons: collectionSmall, vmSmall, and cloudSmall

* fix cyclic

* style - remove unused background color from `agentSessionsList`

* refactor - simplify session serialization logic

* style - correct label text for session viewer link

* fix broken status update

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2025-12-05 15:42:45 +01:00
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
Benjamin Pasero
1d564f8ea7 select box - more styling tweaks (#277837)
* select box - more styling tweaks

* Update src/vs/base/browser/ui/selectBox/selectBoxCustom.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* cleanup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 13:07:17 +00:00
Alex Ross
89b8b71fd8 Add comment draft color to overview ruler (#276972)
RE: https://github.com/microsoft/vscode/pull/271536#discussion_r2518015387
2025-11-12 18:43:29 +00:00
Johannes Rieken
f62ffbb85b Remove NLS inline chat hint (#276935)
fixes https://github.com/microsoft/vscode/issues/271279
fixes https://github.com/microsoft/vscode/issues/276927
2025-11-12 15:44:34 +00:00
Copilot
36b32e3d47 Show draft comment icon in gutter when appropriate (#271536)
* Initial plan

* Add draft comment icon support in gutter and comments view

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Add state property to Comment interface for draft support

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Add color registration and CSS for draft comment glyph

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* clean up

* Fix known variables

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2025-11-12 12:16:05 +00:00
Copilot
0297176f1f Don't inline CSS for comment widget (#276479)
* Initial plan

* Move inline CSS to static CSS file in comment widget

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* clean up

* Update colors

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2025-11-11 17:36:18 +00:00
Christof Marti
576c04f264 Update known variables 2025-11-06 19:59:41 +01:00
BeniBenj
12f4872e2d Revert "Issue #210694 add hoverforeground and hoverbackground to activity bars (#263146)"
This reverts commit 619c243e4d.
2025-11-03 12:10:17 +01:00
Amin Sajedian
619c243e4d Issue #210694 add hoverforeground and hoverbackground to activity bars (#263146)
* Add hover colors for side/top/bottom activity bar in theme and styles

Modified Files Summary

1. Theme Color Definition
[src/vs/workbench/common/theme.ts]
- Define new theme color tokens:
  - `ACTIVITY_BAR_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_HOVER_BACKGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_BACKGROUND`

2. Activity Bar: Theming + Wiring
[src/vs/workbench/browser/parts/activitybar/activitybarPart.ts]
- Register new hover tokens in theme registry
- Map hover tokens to CSS variables for stylesheet consumption
- Wire hover colors into composite bar configuration

3. Activity Bar CSS (Hover Styles)
[src/vs/workbench/browser/parts/activitybar/media/activityaction.css]
- Apply hover styles using new CSS variables:
  - `--vscode-activityBar-hoverForeground`
  - `--vscode-activityBar-hoverBackground`
- Integrate hover states with existing active/focus styling

4. Sidebar: Theming Integration
[src/vs/workbench/browser/parts/sidebar/sidebarPart.ts]
- Reference top-position hover tokens for consistency:
  - `ACTIVITY_BAR_TOP_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_BACKGROUND`
- Ensure sidebar hover behavior aligns with activity bar when positioned at top or bottom

5. Sidebar CSS (Hover Styles)
`src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css`
- Apply hover styling using activity bar CSS variables
- Maintain visual consistency between sidebar and activity bar hover states

6. Stylelint Allowlist
[build/lib/stylelint/vscode-known-variables.json]
- Add CSS custom properties to prevent lint errors:
  - `--vscode-activityBar-hoverForeground`
  - `--vscode-activityBar-hoverBackground`

Usage

settings.json
{
  "workbench.activityBar.location": "default", // "top"
  "workbench.colorCustomizations": {
    // Left Activity Bar
    "activityBar.hoverForeground": "#ff0000",
    "activityBar.hoverBackground": "#00ff00",

    // Top Activity Bar
    "activityBarTop.hoverForeground": "#0000ff",
    "activityBarTop.hoverBackground": "#ffff00"
  }
}

* refactor: move default colors to theme.ts and remove CSS fallbacks in activityaction.css and sidebarpart.css, per feedback.

---------

Co-authored-by: Benjamin Christopher Simmonds <44439583+benibenj@users.noreply.github.com>
2025-11-02 22:41:56 +00:00
Kyle Cutler
38a44e89ce Support GitHub-style alert syntax in MarkdownStrings (#272228)
* Support GitHub-style alerts in MarkdownStrings

* PR feedback, mark internal

* Rename to `supportAlertSyntax`

* Update snapshots

* Fix lower case tags

* Remove title="" from span

* Marked extension

* New theme variables

* Fix test

* Update variable names
2025-10-29 21:00:10 +00:00
Matt Bierner
fe8fc75455 Pick up latest TS native preview
Fixes the emit for copyright headers
2025-10-28 09:18:27 -07:00
Copilot
908f34c37d Fix scrollbar background color customization issue (#273399)
* Initial plan

* Add scrollbar.background color customization

Co-authored-by: alexdima <5047891+alexdima@users.noreply.github.com>

* Update known variables

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexdima <5047891+alexdima@users.noreply.github.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-10-27 07:18:37 +00:00
Rob Lourens
f16892aa45 Fix quick chat (#270280)
Fix quick chat (#270097)

Fix #270087
2025-10-07 23:11:48 +00:00
Benjamin Pasero
daf6052959 lint - report layer issues in CSS (#269671) 2025-10-03 10:50:20 +00:00
Matt Bierner
14ffffb14d Run test-documentation 2025-10-02 15:31:13 -07:00
Ladislau Szomoru
1e270afce2 Chat - fix chat layout in floating window (#265158) 2025-09-04 14:49:17 +00:00
Sandeep Somavarapu
c98fe1d202 update color variables (#265151) 2025-09-04 14:14:01 +00:00
Ladislau Szomoru
69faf86588 Chat - adopt fontSize setting for UI elements (#263455) 2025-08-26 19:00:48 +00:00
Ladislau Szomoru
09f91777e4 Chat - add fontSize and fontFamily settings (#263299)
* Chat - add fontSize and fontFamily settings

* Chat - add fontSize and fontFamily settings
2025-08-25 19:50:23 +00:00
Matt Bierner
12a275ffe7 Use ts-native to compile our build scripts
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07:00
Osvaldo Ortega
bb387118e9 Missing colors (#259113) 2025-08-01 00:56:40 +00:00
Justin Chen
c10aee1fec checkpoints + edits fix: selecting in code block and checkpoint color (#257567)
checkpoints + edits fix: selecting in code block and checkpoint highlight
2025-07-24 03:25:06 +02:00
Justin Chen
c6e8ac1778 feature: edit previous requests (#251732)
* edit previous requests

* some small cleanup

* second pass with some moderate cleanup, all working

* another pass, more cleanup

* some cleanup and gated behind chat.editRequests setting

* some more cleanup

* add custom hover colors

* simplify some logic

* actually use helper function i added

* address some comments, cleanup

* fix flickering on click

* remove unused import

* fix context key, keybindings, layouts, and cleanup
2025-06-23 19:05:21 -07:00
Aiday Marlen Kyzy
6b415e1b0b Add color variable to define the color of sticky scroll within the gutter (#251108)
adding variable for defining the color of the editor sticky scroll in the gutter
2025-06-10 17:32:33 +02:00
Kaitlin Brooks
921786be45 Chat code block pill token updates (#250531)
* update colors for icon labels  to meet accessibility color contrast requirements

* - update colors for added and removed labels to pass color contrast requirements
- added the used tokens to vscode-known-variables

* fixing margin-left

* update editor gutter colors for added and deleted resources, removed the previously added gitDecoration tokens from known variables

* update editor gutter colors for added and deleted lines in dark_modern and updated the fallback colors for editorGutterDeletedBackground

* undoing changes to editorGutterAddedBackground and editorGutterDeletedBackground

* add foreground colors for added and deleted lines in chat code blocks in chatColors.ts

* add chat foreground colors for added and deleted lines in vscode-known-variables.json

* rename chat color variables for added and removed lines in chat code block pill

---------

Co-authored-by: Justin Chen <54879025+justschen@users.noreply.github.com>
2025-06-05 16:17:46 -07:00
Martin Aeschlimann
b399f06c4b update known variables (#250723) 2025-06-05 01:46:43 -07:00
Martin Aeschlimann
c2c80e903f update known variables file (#250406) 2025-06-03 11:32:40 +02:00
Justin Chen
0ae5775b93 chat bubbles for requests (#249681)
* chat style update

* add back css accidentally deleted

* both in text bubbles

* with border and right aligned

* better css for bubbles

* better logic using toggle

* make margins better

* better css

* better scenarios for showing bubbles

* remove unused import

* better code blocks

* move some stuff around

* chat blocks but on right side only

* fix chat rendering code blocks

* pass on no bubbles in inline

* handle bubbles in not inline chat

* add new variables for chat bubbles

* cleanup
2025-05-27 10:45:59 -07:00
Benjamin Pasero
02a172d088 chat - tweak animated setup dialog to animate angle (#249887) 2025-05-27 15:38:51 +02:00
Benjamin Pasero
7f14821c2e chat - setup dialog tweaks (#249449) 2025-05-22 11:26:42 +02:00
Sandeep Somavarapu
6f5a7f83b8 implement mcp server gallery view (#248926)
* first cut

* change schema and types

* show mcp servers in extensions view

* implement install and uninstall mcp server

* move imports

* fix layer check
2025-05-14 07:54:41 -07:00
Ladislau Szomoru
5c6c9930b1 Engineering - add missing colors (#247827) 2025-04-30 10:44:11 +02:00
Ladislau Szomoru
7452464515 SCM - add secondary quick diff provider (#246707)
* WIP - initial implementation

* Add stagedQuickDiffProvider API

* Reduce the usage of `isSCM`

* Make unstage feel snappier

* Deduplicate diffs between primary and secondary

* Fix unstage selected ranges to work from the editor

* WIP - saving my work

* Fixed deduplication and commands

* Add pattern colors

* Rework the colors, and fix deleted glyph

* Got unstage commands working

* Update provider name

* Some improvements

* Cleaned up CSS

* Tweak decoration colors

* Update proposed API naming

* Contributed decorations will use the primary colors for the time being

* More cleanup
2025-04-16 12:52:36 +02:00
Megan Rogge
d06556da99 register terminal suggest colors/ icons (#244286) 2025-03-21 12:21:31 -07:00
Benjamin Christopher Simmonds
fc498c1ba6 First iteration of NES widget update (#243554)
* first iteration of NES widget changes

* 💄

* sidebyside

* word replacement view

* 💄
2025-03-18 17:28:46 +01:00
Simon Lamon
bdc8c07580 High contrast gutter items (#240906)
High contract gutter items
2025-03-12 10:07:22 +00:00
Daniel Imms
db9b899525 Fix new terminal suggest icon colors
Part of #241727

The rest of this issue will be fixed in March
2025-02-27 13:21:52 -08:00
Benjamin Pasero
c202fb0bcf ux - tweak status locations including copilot to be more aligned with our UX standards (#242154) 2025-02-27 10:14:21 +01:00