## Problem When scrolling quickly, a distracting background color was appearing in the scrollbar area, as shown below: <img src="https://github.com/user-attachments/assets/c9ebe200-a6b2-47ca-992d-ceaa5ed3db04"> ## Root Cause Several theme files had scrollbar background colors configured with partial transparency (alpha values like `33`, `44`, `80`, etc.) instead of full transparency (`00`). This caused a semi-transparent background to become visible during fast scrolling, creating an unwanted visual artifact. ## Solution Updated all `scrollbar.background` color values to use full transparency by setting the alpha channel to `00`. This ensures the scrollbar background is completely invisible across all themes, with only the scrollbar thumb (the draggable indicator) remaining visible. ## Changes Modified 7 theme files with non-transparent scrollbar backgrounds: - **alduin.json**: `#28282833` → `#28282800` - **hybrid.json**: `#E0E0E044` → `#E0E0E000`, `#1D1F2144` → `#1D1F2100` - **jellybeans.json**: `#26262633` → `#26262600` - **mellifluous.json**: `#fafafa33` → `#fafafa00` - **molokai.json**: `#FEFAF933` → `#FEFAF900` - **solarized.json**: `#EEE8D533` → `#EEE8D500`, `#002b3633` → `#002b3600` - **default-theme.json**: `#fafafa80` → `#fafafa00`, `#17171780` → `#17171700` All other themes already had transparent scrollbar backgrounds and remain unchanged. ## Impact - Eliminates the visual glitch where a background color appears during fast scrolling - Provides a consistent, clean scrollbar appearance across all 20 themes plus the default theme - No functional changes to scrollbar behavior - only visual appearance - Total of 37 scrollbar.background entries now fully transparent Fixes the issue reported by @huacnlee in the comments. <issue_title>A different background color appears when the scroll bar scrolls quickly</issue_title> ><issue_description>A different background color appears when the scroll bar scrolls quickly > ><img src="https://github.com/user-attachments/assets/c9ebe200-a6b2-47ca-992d-ceaa5ed3db04"></issue_description> > ><agent_instructions>Make change to update scrollbar background color to transparent for all themes.</agent_instructions> > > ## Comments on the Issue (you are @copilot in this section) > ><comments> ><comment_new><author>@huacnlee</author> > That is the scrollbar background color. I am still on to consider removing that color.</comment_new> ></comments> > Fixes longbridge/gpui-component#1402 <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>A different background color appears when the scroll bar scrolls quickly</issue_title> > <issue_description>A different background color appears when the scroll bar scrolls quickly > > <img width="1338" height="387" alt="Image" src="https://github.com/user-attachments/assets/c9ebe200-a6b2-47ca-992d-ceaa5ed3db04" /></issue_description> > > <agent_instructions>Make change to update scrollbar background color to transparent for all themes.</agent_instructions> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > <comment_new><author>@huacnlee</author><body> > That is the scrollbar background color. I am still on to consider removing that color.</body></comment_new> > </comments> > </details> Fixes longbridge/gpui-component#1402 <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: huacnlee <5518+huacnlee@users.noreply.github.com>
146 lines
4.2 KiB
JSON
146 lines
4.2 KiB
JSON
{
|
|
"$schema": "https://github.com/longbridge/gpui-component/raw/refs/heads/main/.theme-schema.json",
|
|
"name": "Jellybeans",
|
|
"author": "nanotech",
|
|
"url": "https://github.com/nanotech/jellybeans.vim",
|
|
"themes": [
|
|
{
|
|
"name": "Jellybeans",
|
|
"mode": "dark",
|
|
"colors": {
|
|
"accent.background": "#232323",
|
|
"accent.foreground": "#e8e8e8",
|
|
"background": "#151515",
|
|
"border": "#2e2e2e",
|
|
"danger.foreground": "#151515",
|
|
"foreground": "#E8E8D3",
|
|
"input.border": "#4E4847",
|
|
"link.active.foreground": "#97bedc",
|
|
"link.foreground": "#97bedc",
|
|
"link.hover.foreground": "#97bedc",
|
|
"list.active.background": "#97bedc11",
|
|
"list.active.border": "#97bedc44",
|
|
"list.even.background": "#1C1C1C",
|
|
"muted.background": "#3a3a3a",
|
|
"muted.foreground": "#767676",
|
|
"panel.background": "#151515",
|
|
"popover.background": "#151515",
|
|
"popover.foreground": "#e8e8e8",
|
|
"primary.background": "#97bedc",
|
|
"primary.foreground": "#151515",
|
|
"scrollbar.background": "#26262600",
|
|
"scrollbar.thumb.background": "#6e6e6e",
|
|
"secondary.background": "#2a2a2a",
|
|
"secondary.active.background": "#252525",
|
|
"secondary.foreground": "#e8e8e8",
|
|
"secondary.hover.background": "#303030",
|
|
"tab.active.background": "#151515",
|
|
"tab.active.foreground": "#e8e8e8",
|
|
"tab.background": "#10101000",
|
|
"tab.foreground": "#969696",
|
|
"tab_bar.background": "#101010",
|
|
"title_bar.background": "#101010",
|
|
"title_bar.border": "#2e2e2e",
|
|
"base.red": "#e27373",
|
|
"base.red.light": "#ffa1a1",
|
|
"base.green": "#94b979",
|
|
"base.green.light": "#bddeab",
|
|
"base.yellow": "#ffba7b",
|
|
"base.yellow.light": "#ffdca0",
|
|
"base.blue": "#97bedc",
|
|
"base.blue.light": "#b1d8f6",
|
|
"base.magenta": "#B294BB",
|
|
"base.magenta.light": "#fbdaff",
|
|
"base.cyan": "#00988e",
|
|
"base.cyan.light": "#1ab2a8"
|
|
},
|
|
"highlight": {
|
|
"editor.foreground": "#DDDDDD",
|
|
"editor.background": "#000000",
|
|
"editor.active_line.background": "#131313",
|
|
"editor.line_number": "#8F8F8F",
|
|
"editor.active_line_number": "#DDDDDD",
|
|
"conflict": "#D2602D",
|
|
"created": "#3f72e2",
|
|
"hidden": "#9E9E9E",
|
|
"hint": "#b283f8",
|
|
"modified": "#B0A878",
|
|
"predictive": "#5D5945",
|
|
"syntax": {
|
|
"attribute": {
|
|
"color": "#be9a52"
|
|
},
|
|
"boolean": {
|
|
"color": "#E1D797"
|
|
},
|
|
"comment": {
|
|
"color": "#9E9E9E"
|
|
},
|
|
"comment.doc": {
|
|
"color": "#9E9E9E"
|
|
},
|
|
"constant": {
|
|
"color": "#E1D797"
|
|
},
|
|
"constructor": {
|
|
"color": "#b5af9a"
|
|
},
|
|
"embedded": {
|
|
"color": "#CACCCA"
|
|
},
|
|
"function": {
|
|
"color": "#E1D797"
|
|
},
|
|
"keyword": {
|
|
"color": "#E19773"
|
|
},
|
|
"link_text": {
|
|
"color": "#A86D3B",
|
|
"font_style": "normal"
|
|
},
|
|
"link_uri": {
|
|
"color": "#6F6D66",
|
|
"font_style": "italic"
|
|
},
|
|
"number": {
|
|
"color": "#E19773"
|
|
},
|
|
"string": {
|
|
"color": "#76BA53"
|
|
},
|
|
"string.escape": {
|
|
"color": "#76BA53"
|
|
},
|
|
"string.regex": {
|
|
"color": "#76BA53"
|
|
},
|
|
"string.special": {
|
|
"color": "#E1D797"
|
|
},
|
|
"string.special.symbol": {
|
|
"color": "#E1D797"
|
|
},
|
|
"tag": {
|
|
"color": "#b5af9a"
|
|
},
|
|
"text.literal": {
|
|
"color": "#E1D797"
|
|
},
|
|
"title": {
|
|
"color": "#A76D3B",
|
|
"font_weight": 600
|
|
},
|
|
"type": {
|
|
"color": "#A86D3B"
|
|
},
|
|
"property": {
|
|
"color": "#CACCCA"
|
|
},
|
|
"variable.special": {
|
|
"color": "#E19773"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|