* 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>
* 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>
* 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>