// ==UserScript== // @name Bing Latte // @namespace custom-light-theme // @version 2.0.0 // @description Bing 搜索页 Catppuccin Latte 浅色主题 // @tag bing 网页美化 // @author deran // @grant GM_addStyle // @run-at document-start // @license MIT // @match *://*.bing.com/search* // ==/UserScript== (() => { 'use strict'; /* Catppuccin Latte,只取用到的明度阶梯 */ const latte = { base: '#eff1f5', // 画布 mantle: '#e6e9ef', // 下沉表面:卡片、搜索框 crust: '#dce0e8', // 再下一层:折叠标题、次要按钮、描边 surface0: '#ccd0da', // 悬停 surface1: '#bcc0cc', // 按下 / 选中 overlay1: '#8c8fa1', // 最弱的辅助文字 subtext0: '#6c6f85', // 摘要、脚注 subtext1: '#5c5f77', text: '#4c4f69', // 标题、正文 blue: '#1e66f5', // 链接 }; // 搜索页的颜色几乎都由 html 上的这些变量驱动,值全是 Bing 混淆过的名字。 // 清单按「实测被样式表引用」筛选,改一处等于整类组件一起换色。 // Bing 会在页面中部用