<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tool on elonnzhang</title><link>https://jiabin.dev/tags/tool/</link><description>Recent content in Tool on elonnzhang</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 25 Jul 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://jiabin.dev/tags/tool/index.xml" rel="self" type="application/rss+xml"/><item><title>VS Code Custom UI CSS 配置</title><link>https://jiabin.dev/blog/vscode-custom-ui/</link><pubDate>Sat, 25 Jul 2026 00:00:00 +0800</pubDate><guid>https://jiabin.dev/blog/vscode-custom-ui/</guid><description>&lt;p&gt;插件ID subframe7536.custom-ui-style&lt;/p&gt;&#10;&lt;p&gt;配置 settings.json&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt; &amp;#34;custom-ui-style.external.imports&amp;#34;: [&#10; &amp;#34;file:///Users/elon/.vscode/custom/vscode.css&amp;#34;&#10; ],&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;自定义样式&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;/* ============================================================&#10; VS Code 自定义样式（配合 Custom CSS and JS Loader 注入）&#10; 亮暗适配说明：VS Code 会在 .monaco-workbench 上挂主题类&#10; （亮色 .vs / 暗色 .vs-dark / 高对比 .hc-black .hc-light），&#10; 命令面板相关颜色按主题类分别定义，自动跟随主题切换。&#10; ============================================================ */&#10;&#10;/* 全局：垂直滚动条滑块瘦身（只限垂直，避免把水平滑块压成小方块） */&#10;.scrollbar.vertical .slider {&#10; background: #bc9abc80 !important;&#10; width: 6px !important;&#10;}&#10;&#10;/* 命令面板：输入框样式 */&#10;.quick-input-filter .monaco-inputbox {&#10; border-radius: 10px !important;&#10; padding: 12px !important;&#10; border: none !important;&#10; font-family: &amp;#34;腾讯体&amp;#34; !important;&#10; font-size: 20px !important;&#10; margin-bottom: 10px !important;&#10;}&#10;&#10;/* 命令面板：面板容器（与主题无关的形状/布局） */&#10;.quick-input-widget {&#10; transform: translateY(-50%) !important;&#10; top: 50% !important;&#10; padding: 10px 10px 18px 10px !important;&#10; backdrop-filter: blur(3px) !important;&#10; border-radius: 12px !important;&#10; font-size: larger;&#10;}&#10;&#10;/* 命令面板：亮色主题配色（保持原始样式） */&#10;.vs .quick-input-widget,&#10;.hc-light .quick-input-widget {&#10; box-shadow: 0px 4px 32px rgba(168, 147, 225, 0.851) !important;&#10; border: 1px solid rgba(168, 147, 225, 0.851) !important;&#10;}&#10;&#10;.vs .monaco-inputbox input::placeholder,&#10;.hc-light .monaco-inputbox input::placeholder {&#10; color: rgba(141, 167, 230, 0.78) !important;&#10;}&#10;&#10;/* 命令面板：暗色主题配色（同款紫色发光，透明度略降避免暗底过曝） */&#10;.vs-dark .quick-input-widget,&#10;.hc-black .quick-input-widget {&#10; box-shadow: 0px 4px 32px rgba(168, 147, 225, 0.851) !important;&#10; border: 1px solid rgba(168, 147, 225, 0.851) !important;&#10;}&#10;&#10;.vs-dark .monaco-inputbox input::placeholder,&#10;.hc-black .monaco-inputbox input::placeholder {&#10; color: rgba(141, 167, 230, 0.78) !important;&#10;}&#10;&#10;/* 列表项标签钉回 13px：抵消面板 font-size: larger 的继承，&#10; 否则命令面板/文件列表条目字体会跟着变大 */&#10;.monaco-list .monaco-list-row .monaco-icon-label .label-name {&#10; font-size: 13px !important;&#10; font-weight: 400 !important;&#10;}&#10;&#10;/* 命令面板：去掉顶部标题栏露出的那条横线（空标题栏自带背景色） */&#10;.quick-input-widget .quick-input-titlebar {&#10; background: transparent !important;&#10;}&#10;&#10;/* 编辑器：文本光标外观（紫色渐变 + 平滑移动） */&#10;.cursor.monaco-mouse-cursor-text {&#10; transition: all 0.1s ease-out !important;&#10; border-radius: 2px !important;&#10; background: radial-gradient(circle at right bottom, hsla(229, 18%, 83%, 0.606), hsl(287, 49%, 57%)) !important;&#10;}&#10;&#10;/* 树视图：隐藏展开箭头（影响所有 tree：资源管理器、大纲、调试等） */&#10;.codicon-tree-item-expanded:before {&#10; display: none !important;&#10;}&#10;&#10;/* 侧边栏标题（EXPLORER / SEARCH 等） */&#10;.composite.title h2 {&#10; font-weight: bold !important;&#10; font-size: 12px !important;&#10; text-transform: uppercase;&#10; color: #5b6eda !important;&#10; font-family: &amp;#34;腾讯体&amp;#34; !important;&#10;}&#10;&#10;/* 按钮：统一圆角 */&#10;.monaco-workbench .monaco-button,&#10;.monaco-workbench .monaco-button.primary {&#10; border-radius: 6px !important;&#10;}&#10;&#10;/* Command Center：项目名居中 */&#10;.actions-container .command-center-center .command-center-quick-pick {&#10; margin: auto !important;&#10; flex: none !important;&#10;}&#10;&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>