请问有界面黑色笔记内容白色的主题吗?

请问有界面黑色笔记白色的主题吗?我自己调了一个,发现很多笔记内元素和界面元素用的同一套颜色,很不好改。请问有类似这种外黑内白的主题吗?谢谢!20250531135511.png

  • 思源笔记

    思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。

    融合块、大纲和双向链接,重构你的思维。

    26084 引用 • 108298 回帖
  • Q&A

    提问之前请先看《提问的智慧》,好的问题比好的答案更有价值。

    10018 引用 • 45541 回帖 • 71 关注

相关帖子

被采纳的回答
  • 试试 CSS:

    :root { /* 主色 */ --b3-theme-primary: #3573f0; --b3-theme-primary-light: rgba(53, 115, 240, .72); --b3-theme-primary-lighter: rgba(53, 115, 240, .48); --b3-theme-primary-lightest: rgba(53, 115, 240, .24); --b3-theme-secondary: #f3a92f; --b3-theme-background: #1e1e1e; --b3-theme-background-light: rgba(255, 255, 255, .075); --b3-theme-surface: #262626; --b3-theme-surface-light: rgba(41, 42, 45, .86); --b3-theme-surface-lighter: rgba(230, 230, 230, .06); --b3-theme-error: #d23f31; --b3-theme-success: #65b84d; /* 文字颜色 */ --b3-theme-on-primary: #fff; --b3-theme-on-secondary: #fff; --b3-theme-on-background: #dadada; --b3-theme-on-surface: #9aa0a6; --b3-theme-on-surface-light: #bababa; --b3-theme-on-error: #fff; /* 字体 */ --b3-font-family: "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "Luxi Sans", "DejaVu Sans", arial, sans-serif, emojis; --b3-font-family-protyle: var(--b3-font-family); --b3-font-family-code: "Emojis Additional", "Emojis Reset", "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", var(--b3-font-family); --b3-font-family-graph: arial; --b3-font-family-emoji: "Emojis Additional", emojis; --b3-font-family-math: KaTeX_Math; --b3-font-size: 14px; /* 顶部工具栏 */ --b3-toolbar-background: var(--b3-theme-surface); --b3-toolbar-blur-background: var(--b3-border-color); --b3-toolbar-color: var(--b3-theme-on-surface); --b3-toolbar-hover: var(--b3-theme-background-light); --b3-toolbar-left-mac: 69px; /* 线条 */ --b3-border-color: #363636; --b3-border-radius: 6px; --b3-border-radius-s: 3px; --b3-border-radius-b: 12px; /* 滚动条 */ --b3-scroll-color: rgba(230, 230, 230, .2); /* 列表 */ --b3-list-hover: rgba(255, 255, 255, .075); --b3-list-icon-hover: rgba(201, 209, 217, .1); /* 菜单 */ --b3-menu-background: var(--b3-theme-surface); /* 提示 */ --b3-tooltips-background: #030303; --b3-tooltips-color: var(--b3-theme-on-surface-light); --b3-tooltips-second-color: #7d7c7a; --b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .3); /* 为空提示 */ --b3-empty-color: var(--b3-theme-on-surface); /* 遮罩 */ --b3-mask-background: rgba(10, 10, 10, .4); /* 卡片背景 */ --b3-card-error-color: rgb(243, 153, 147); --b3-card-error-background: #442724; --b3-card-warning-color: rgb(255, 213, 153); --b3-card-warning-background: #554636; --b3-card-info-color: rgb(166, 213, 250); --b3-card-info-background: #28405c; --b3-card-success-color: rgb(183, 223, 185); --b3-card-success-background: #425347; /* 自定义文字 */ --b3-font-color1: var(--b3-card-error-color); --b3-font-color2: var(--b3-card-warning-color); --b3-font-color3: var(--b3-card-info-color); --b3-font-color4: var(--b3-card-success-color); --b3-font-color5: var(--b3-theme-on-surface); --b3-font-color6: var(--b3-theme-primary); --b3-font-color7: var(--b3-theme-secondary); --b3-font-color8: var(--b3-theme-error); --b3-font-color9: #f5539e; --b3-font-color10: #00eeff; --b3-font-color11: #74ff00; --b3-font-color12: #fff200; --b3-font-color13: var(--b3-theme-background); --b3-font-background1: var(--b3-card-error-background); --b3-font-background2: var(--b3-card-warning-background); --b3-font-background3: var(--b3-card-info-background); --b3-font-background4: var(--b3-card-success-background); --b3-font-background5: #4c5257; --b3-font-background6: #08296c; --b3-font-background7: #593905; --b3-font-background8: #541812; --b3-font-background9: #843473; --b3-font-background10: #329096; --b3-font-background11: #568b2a; --b3-font-background12: #8d8829; --b3-font-background13: var(--b3-theme-on-background); /* 动画效果 */ --b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-background-transition: background 20ms ease-in 0s; /* 高亮 */ --b3-highlight-color: #222; --b3-highlight-background: #ffff00; --b3-highlight-current-background: #ff9632; /* 下拉菜单 */ --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(154, 160, 166, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background); /* switch */ --b3-switch-background: #444746; --b3-switch-border: var(--b3-theme-on-surface-light); --b3-switch-hover: rgba(253, 252, 251, .10); --b3-switch-checked: var(--b3-theme-primary); --b3-switch-checked-background: #a8c7fa; --b3-switch-checked-hover: var(--b3-theme-primary); --b3-switch-checked-hover2: rgba(253, 252, 251, .10); /* 阴影 */ --b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .04), 0 0 0 0 transparent; --b3-dialog-shadow: 0 8px 24px #010409; --b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12); /* 图表颜色 */ --b3-graph-p-point: #076f7e; --b3-graph-heading-point: hsl(254, 80%, 74.8%); --b3-graph-math-point: #80FFA5; --b3-graph-code-point: #00DDFF; --b3-graph-table-point: #37A2FF; --b3-graph-list-point: #FF0087; --b3-graph-todo-point: #FFBF00; --b3-graph-olist-point: #b3005f; --b3-graph-listitem-point: #f65b00; --b3-graph-bq-point: #8d48e3; --b3-graph-super-point: #dd79ff; --b3-graph-doc-point: #e8eaed; --b3-graph-tag-point: #dbf32f; --b3-graph-asset-point: #05c091; --b3-graph-line: #9aa0a6; --b3-graph-ref-line: #d23f31; --b3-graph-tag-line: #5f6b06; --b3-graph-tag-tag-line: #dbf32f; --b3-graph-asset-line: #037457; --b3-graph-hl-point: #f3a92f; --b3-graph-hl-line: #4285f4; /* 代码片段背景 */ --b3-protyle-code-background: rgba(240, 246, 252, .15); /* 所见即所得行内元素颜色 */ --b3-protyle-inline-strong-color: inherit; --b3-protyle-inline-em-color: inherit; --b3-protyle-inline-u-color: inherit; --b3-protyle-inline-s-color: inherit; --b3-protyle-inline-link-color: #8ab4f8; --b3-protyle-inline-mark-background: #b29100; --b3-protyle-inline-mark-color: var(--b3-theme-on-background); --b3-protyle-inline-tag-color: #9aa0a6; --b3-protyle-inline-blockref-color: #8957e5; --b3-protyle-inline-fileref-color: var(--b3-theme-secondary); /* PDF */ --b3-pdf-selection: #779170; --sidebar-width: 200px; --b3-pdf-offset: 0; --b3-pdf-background1: var(--b3-theme-error); --b3-pdf-background2: #f5822e; --b3-pdf-background3: #FACA5A; --b3-pdf-background4: #7CC868; --b3-pdf-background5: #FC5C88; --b3-pdf-background6: #69B0F2; --b3-pdf-background7: #C885DA; --b3-pdf-dark: #212224; /* 表格 */ --b3-table-even-background: rgba(255, 255, 255, .03); /* 嵌入块 */ --b3-embed-background: transparent; /* 引述块 */ --b3-bq-background: transparent; /* 父块颜色 */ --b3-parent-background: var(--b3-theme-background); } .layout__center .layout-tab-container { color: var(--b3-theme-on-background); /* 主色 */ --b3-theme-primary: #3575f0; --b3-theme-primary-light: rgba(53, 117, 240, .54); --b3-theme-primary-lighter: rgba(53, 117, 240, .38); --b3-theme-primary-lightest: rgba(53, 117, 240, .12); --b3-theme-secondary: #ff9200; --b3-theme-background: #fff; --b3-theme-background-light: #dfe0e1; --b3-theme-surface: #f6f6f6; --b3-theme-surface-light: rgba(243, 243, 243, .86); --b3-theme-surface-lighter: #e0e0e0; --b3-theme-error: #d23f31; --b3-theme-success: #65b84d; /* 文字颜色 */ --b3-theme-on-primary: #fff; --b3-theme-on-secondary: #fff; --b3-theme-on-background: #222; --b3-theme-on-surface: #5f6368; --b3-theme-on-surface-light: rgba(95, 99, 104, .68); --b3-theme-on-error: #fff; /* 字体 */ /* "Segoe UI" 和 Noto-COLRv1-2.047 冲突,故移除 */ --b3-font-family: "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "Luxi Sans", "DejaVu Sans", arial, sans-serif, emojis; --b3-font-family-protyle: var(--b3-font-family); --b3-font-family-code: "Emojis Additional", "Emojis Reset", "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", var(--b3-font-family); --b3-font-family-graph: arial; --b3-font-family-emoji: "Emojis Additional", emojis; --b3-font-family-math: KaTeX_Math; --b3-font-size: 14px; /* 顶部工具栏 */ --b3-toolbar-background: var(--b3-theme-surface); --b3-toolbar-blur-background: #fcfcfc; --b3-toolbar-color: var(--b3-theme-on-surface); --b3-toolbar-hover: var(--b3-theme-background-light); --b3-toolbar-left-mac: 69px; /* 线条 */ --b3-border-color: var(--b3-theme-surface-lighter); --b3-border-radius: 6px; --b3-border-radius-s: 3px; --b3-border-radius-b: 12px; /* 滚动条 */ --b3-scroll-color: rgba(0, 0, 0, .2); /* 列表 */ --b3-list-hover: rgba(0, 0, 0, .075); --b3-list-icon-hover: rgba(33, 34, 36, .1); /* 菜单 */ --b3-menu-background: var(--b3-theme-surface); /* 提示 */ --b3-tooltips-background: #312f35; --b3-tooltips-color: var(--b3-theme-background-light); --b3-tooltips-second-color: #7d7c7a; --b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .1); /* 为空提示 */ --b3-empty-color: var(--b3-theme-on-surface-light); /* 遮罩 */ --b3-mask-background: rgba(220, 220, 220, .4); /* 卡片背景 */ --b3-card-error-color: #790600; --b3-card-error-background: #f5d1cf; --b3-card-warning-color: #b16700; --b3-card-warning-background: #ffe8c8; --b3-card-info-color: #005599; --b3-card-info-background: #d6eaf9; --b3-card-success-color: #008606; --b3-card-success-background: #d7eed8; /* 自定义文字 */ --b3-font-color1: var(--b3-card-error-color); --b3-font-color2: var(--b3-card-warning-color); --b3-font-color3: var(--b3-card-info-color); --b3-font-color4: var(--b3-card-success-color); --b3-font-color5: var(--b3-theme-on-surface); --b3-font-color6: var(--b3-theme-primary); --b3-font-color7: var(--b3-theme-secondary); --b3-font-color8: var(--b3-theme-error); --b3-font-color9: #f5539e; --b3-font-color10: #00cdcd; --b3-font-color11: #00b853; --b3-font-color12: #9e9700; --b3-font-color13: var(--b3-theme-background); --b3-font-background1: var(--b3-card-error-background); --b3-font-background2: var(--b3-card-warning-background); --b3-font-background3: var(--b3-card-info-background); --b3-font-background4: var(--b3-card-success-background); --b3-font-background5: #e2e3e4; --b3-font-background6: #acd0fc; --b3-font-background7: #fddaab; --b3-font-background8: #ffb0a9; --b3-font-background9: #fdbfff; --b3-font-background10: #b1ffff; --b3-font-background11: #affad1; --b3-font-background12: #fff88f; --b3-font-background13: var(--b3-theme-on-background); /* 动画效果 */ --b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-background-transition: background 20ms ease-in 0s; /* 高亮 */ --b3-highlight-color: #222; --b3-highlight-background: #ffff00; --b3-highlight-current-background: #ff9632; /* 下拉菜单 */ --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(95, 99, 104, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background); /* switch */ --b3-switch-background: #e1e3e1; --b3-switch-border: var(--b3-theme-on-surface-light); --b3-switch-hover: rgba(31, 31, 31, 0.06); --b3-switch-checked: #fff; --b3-switch-checked-background: var(--b3-theme-primary); --b3-switch-checked-hover: #d3e3fd; --b3-switch-checked-hover2: rgba(31, 31, 31, .06); /* 阴影 */ --b3-point-shadow: 0 0 1px 0 rgba(0, 0, 0, .1), 0 0 2px 0 rgba(0, 0, 0, .2); --b3-dialog-shadow: 0 8px 24px rgba(0, 0, 0, .2); --b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12); /* 图表颜色 */ --b3-graph-p-point: #076f7e; --b3-graph-heading-point: #8250df; --b3-graph-math-point: #80FFA5; --b3-graph-code-point: #00DDFF; --b3-graph-table-point: #37A2FF; --b3-graph-list-point: #FF0087; --b3-graph-todo-point: #FFBF00; --b3-graph-olist-point: #b3005f; --b3-graph-listitem-point: #f65b00; --b3-graph-bq-point: #8d48e3; --b3-graph-super-point: #dd79ff; --b3-graph-doc-point: #202124; --b3-graph-tag-point: #dbf32f; --b3-graph-asset-point: #05c091; --b3-graph-line: #5f6368; --b3-graph-ref-line: #d23f31; --b3-graph-tag-line: #5f6b06; --b3-graph-tag-tag-line: #dbf32f; --b3-graph-asset-line: #037457; --b3-graph-hl-point: #f3a92f; --b3-graph-hl-line: #4285f4; /* 代码片段背景 */ --b3-protyle-code-background: rgba(27, 31, 35, .05); /* 所见即所得行内元素颜色 */ --b3-protyle-inline-strong-color: inherit; --b3-protyle-inline-em-color: inherit; --b3-protyle-inline-u-color: inherit; --b3-protyle-inline-s-color: inherit; --b3-protyle-inline-link-color: #4285f4; --b3-protyle-inline-mark-background: rgb(252, 212, 126); --b3-protyle-inline-mark-color: #202124; --b3-protyle-inline-tag-color: #5f6368; --b3-protyle-inline-blockref-color: #8957e5; --b3-protyle-inline-fileref-color: #21862e; /* PDF */ --b3-pdf-selection: #d0e9c8; --sidebar-width: 200px; --b3-pdf-offset: 0; --b3-pdf-background1: var(--b3-theme-error); --b3-pdf-background2: #f5822e; --b3-pdf-background3: #FACA5A; --b3-pdf-background4: #7CC868; --b3-pdf-background5: #FC5C88; --b3-pdf-background6: #69B0F2; --b3-pdf-background7: #C885DA; --b3-pdf-dark: #212224; /* 表格 */ --b3-table-even-background: rgba(0, 0, 0, .02); /* 嵌入块 */ --b3-embed-background: transparent; /* 引述块 */ --b3-bq-background: transparent; /* 父块颜色 */ --b3-parent-background: var(--b3-theme-background); }

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...
  • 试试 CSS:

    :root { /* 主色 */ --b3-theme-primary: #3573f0; --b3-theme-primary-light: rgba(53, 115, 240, .72); --b3-theme-primary-lighter: rgba(53, 115, 240, .48); --b3-theme-primary-lightest: rgba(53, 115, 240, .24); --b3-theme-secondary: #f3a92f; --b3-theme-background: #1e1e1e; --b3-theme-background-light: rgba(255, 255, 255, .075); --b3-theme-surface: #262626; --b3-theme-surface-light: rgba(41, 42, 45, .86); --b3-theme-surface-lighter: rgba(230, 230, 230, .06); --b3-theme-error: #d23f31; --b3-theme-success: #65b84d; /* 文字颜色 */ --b3-theme-on-primary: #fff; --b3-theme-on-secondary: #fff; --b3-theme-on-background: #dadada; --b3-theme-on-surface: #9aa0a6; --b3-theme-on-surface-light: #bababa; --b3-theme-on-error: #fff; /* 字体 */ --b3-font-family: "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "Luxi Sans", "DejaVu Sans", arial, sans-serif, emojis; --b3-font-family-protyle: var(--b3-font-family); --b3-font-family-code: "Emojis Additional", "Emojis Reset", "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", var(--b3-font-family); --b3-font-family-graph: arial; --b3-font-family-emoji: "Emojis Additional", emojis; --b3-font-family-math: KaTeX_Math; --b3-font-size: 14px; /* 顶部工具栏 */ --b3-toolbar-background: var(--b3-theme-surface); --b3-toolbar-blur-background: var(--b3-border-color); --b3-toolbar-color: var(--b3-theme-on-surface); --b3-toolbar-hover: var(--b3-theme-background-light); --b3-toolbar-left-mac: 69px; /* 线条 */ --b3-border-color: #363636; --b3-border-radius: 6px; --b3-border-radius-s: 3px; --b3-border-radius-b: 12px; /* 滚动条 */ --b3-scroll-color: rgba(230, 230, 230, .2); /* 列表 */ --b3-list-hover: rgba(255, 255, 255, .075); --b3-list-icon-hover: rgba(201, 209, 217, .1); /* 菜单 */ --b3-menu-background: var(--b3-theme-surface); /* 提示 */ --b3-tooltips-background: #030303; --b3-tooltips-color: var(--b3-theme-on-surface-light); --b3-tooltips-second-color: #7d7c7a; --b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .3); /* 为空提示 */ --b3-empty-color: var(--b3-theme-on-surface); /* 遮罩 */ --b3-mask-background: rgba(10, 10, 10, .4); /* 卡片背景 */ --b3-card-error-color: rgb(243, 153, 147); --b3-card-error-background: #442724; --b3-card-warning-color: rgb(255, 213, 153); --b3-card-warning-background: #554636; --b3-card-info-color: rgb(166, 213, 250); --b3-card-info-background: #28405c; --b3-card-success-color: rgb(183, 223, 185); --b3-card-success-background: #425347; /* 自定义文字 */ --b3-font-color1: var(--b3-card-error-color); --b3-font-color2: var(--b3-card-warning-color); --b3-font-color3: var(--b3-card-info-color); --b3-font-color4: var(--b3-card-success-color); --b3-font-color5: var(--b3-theme-on-surface); --b3-font-color6: var(--b3-theme-primary); --b3-font-color7: var(--b3-theme-secondary); --b3-font-color8: var(--b3-theme-error); --b3-font-color9: #f5539e; --b3-font-color10: #00eeff; --b3-font-color11: #74ff00; --b3-font-color12: #fff200; --b3-font-color13: var(--b3-theme-background); --b3-font-background1: var(--b3-card-error-background); --b3-font-background2: var(--b3-card-warning-background); --b3-font-background3: var(--b3-card-info-background); --b3-font-background4: var(--b3-card-success-background); --b3-font-background5: #4c5257; --b3-font-background6: #08296c; --b3-font-background7: #593905; --b3-font-background8: #541812; --b3-font-background9: #843473; --b3-font-background10: #329096; --b3-font-background11: #568b2a; --b3-font-background12: #8d8829; --b3-font-background13: var(--b3-theme-on-background); /* 动画效果 */ --b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-background-transition: background 20ms ease-in 0s; /* 高亮 */ --b3-highlight-color: #222; --b3-highlight-background: #ffff00; --b3-highlight-current-background: #ff9632; /* 下拉菜单 */ --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(154, 160, 166, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background); /* switch */ --b3-switch-background: #444746; --b3-switch-border: var(--b3-theme-on-surface-light); --b3-switch-hover: rgba(253, 252, 251, .10); --b3-switch-checked: var(--b3-theme-primary); --b3-switch-checked-background: #a8c7fa; --b3-switch-checked-hover: var(--b3-theme-primary); --b3-switch-checked-hover2: rgba(253, 252, 251, .10); /* 阴影 */ --b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .04), 0 0 0 0 transparent; --b3-dialog-shadow: 0 8px 24px #010409; --b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12); /* 图表颜色 */ --b3-graph-p-point: #076f7e; --b3-graph-heading-point: hsl(254, 80%, 74.8%); --b3-graph-math-point: #80FFA5; --b3-graph-code-point: #00DDFF; --b3-graph-table-point: #37A2FF; --b3-graph-list-point: #FF0087; --b3-graph-todo-point: #FFBF00; --b3-graph-olist-point: #b3005f; --b3-graph-listitem-point: #f65b00; --b3-graph-bq-point: #8d48e3; --b3-graph-super-point: #dd79ff; --b3-graph-doc-point: #e8eaed; --b3-graph-tag-point: #dbf32f; --b3-graph-asset-point: #05c091; --b3-graph-line: #9aa0a6; --b3-graph-ref-line: #d23f31; --b3-graph-tag-line: #5f6b06; --b3-graph-tag-tag-line: #dbf32f; --b3-graph-asset-line: #037457; --b3-graph-hl-point: #f3a92f; --b3-graph-hl-line: #4285f4; /* 代码片段背景 */ --b3-protyle-code-background: rgba(240, 246, 252, .15); /* 所见即所得行内元素颜色 */ --b3-protyle-inline-strong-color: inherit; --b3-protyle-inline-em-color: inherit; --b3-protyle-inline-u-color: inherit; --b3-protyle-inline-s-color: inherit; --b3-protyle-inline-link-color: #8ab4f8; --b3-protyle-inline-mark-background: #b29100; --b3-protyle-inline-mark-color: var(--b3-theme-on-background); --b3-protyle-inline-tag-color: #9aa0a6; --b3-protyle-inline-blockref-color: #8957e5; --b3-protyle-inline-fileref-color: var(--b3-theme-secondary); /* PDF */ --b3-pdf-selection: #779170; --sidebar-width: 200px; --b3-pdf-offset: 0; --b3-pdf-background1: var(--b3-theme-error); --b3-pdf-background2: #f5822e; --b3-pdf-background3: #FACA5A; --b3-pdf-background4: #7CC868; --b3-pdf-background5: #FC5C88; --b3-pdf-background6: #69B0F2; --b3-pdf-background7: #C885DA; --b3-pdf-dark: #212224; /* 表格 */ --b3-table-even-background: rgba(255, 255, 255, .03); /* 嵌入块 */ --b3-embed-background: transparent; /* 引述块 */ --b3-bq-background: transparent; /* 父块颜色 */ --b3-parent-background: var(--b3-theme-background); } .layout__center .layout-tab-container { color: var(--b3-theme-on-background); /* 主色 */ --b3-theme-primary: #3575f0; --b3-theme-primary-light: rgba(53, 117, 240, .54); --b3-theme-primary-lighter: rgba(53, 117, 240, .38); --b3-theme-primary-lightest: rgba(53, 117, 240, .12); --b3-theme-secondary: #ff9200; --b3-theme-background: #fff; --b3-theme-background-light: #dfe0e1; --b3-theme-surface: #f6f6f6; --b3-theme-surface-light: rgba(243, 243, 243, .86); --b3-theme-surface-lighter: #e0e0e0; --b3-theme-error: #d23f31; --b3-theme-success: #65b84d; /* 文字颜色 */ --b3-theme-on-primary: #fff; --b3-theme-on-secondary: #fff; --b3-theme-on-background: #222; --b3-theme-on-surface: #5f6368; --b3-theme-on-surface-light: rgba(95, 99, 104, .68); --b3-theme-on-error: #fff; /* 字体 */ /* "Segoe UI" 和 Noto-COLRv1-2.047 冲突,故移除 */ --b3-font-family: "Emojis Additional", "Emojis Reset", BlinkMacSystemFont, Helvetica, "Luxi Sans", "DejaVu Sans", arial, sans-serif, emojis; --b3-font-family-protyle: var(--b3-font-family); --b3-font-family-code: "Emojis Additional", "Emojis Reset", "JetBrainsMono-Regular", mononoki, Consolas, "Liberation Mono", var(--b3-font-family); --b3-font-family-graph: arial; --b3-font-family-emoji: "Emojis Additional", emojis; --b3-font-family-math: KaTeX_Math; --b3-font-size: 14px; /* 顶部工具栏 */ --b3-toolbar-background: var(--b3-theme-surface); --b3-toolbar-blur-background: #fcfcfc; --b3-toolbar-color: var(--b3-theme-on-surface); --b3-toolbar-hover: var(--b3-theme-background-light); --b3-toolbar-left-mac: 69px; /* 线条 */ --b3-border-color: var(--b3-theme-surface-lighter); --b3-border-radius: 6px; --b3-border-radius-s: 3px; --b3-border-radius-b: 12px; /* 滚动条 */ --b3-scroll-color: rgba(0, 0, 0, .2); /* 列表 */ --b3-list-hover: rgba(0, 0, 0, .075); --b3-list-icon-hover: rgba(33, 34, 36, .1); /* 菜单 */ --b3-menu-background: var(--b3-theme-surface); /* 提示 */ --b3-tooltips-background: #312f35; --b3-tooltips-color: var(--b3-theme-background-light); --b3-tooltips-second-color: #7d7c7a; --b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .1); /* 为空提示 */ --b3-empty-color: var(--b3-theme-on-surface-light); /* 遮罩 */ --b3-mask-background: rgba(220, 220, 220, .4); /* 卡片背景 */ --b3-card-error-color: #790600; --b3-card-error-background: #f5d1cf; --b3-card-warning-color: #b16700; --b3-card-warning-background: #ffe8c8; --b3-card-info-color: #005599; --b3-card-info-background: #d6eaf9; --b3-card-success-color: #008606; --b3-card-success-background: #d7eed8; /* 自定义文字 */ --b3-font-color1: var(--b3-card-error-color); --b3-font-color2: var(--b3-card-warning-color); --b3-font-color3: var(--b3-card-info-color); --b3-font-color4: var(--b3-card-success-color); --b3-font-color5: var(--b3-theme-on-surface); --b3-font-color6: var(--b3-theme-primary); --b3-font-color7: var(--b3-theme-secondary); --b3-font-color8: var(--b3-theme-error); --b3-font-color9: #f5539e; --b3-font-color10: #00cdcd; --b3-font-color11: #00b853; --b3-font-color12: #9e9700; --b3-font-color13: var(--b3-theme-background); --b3-font-background1: var(--b3-card-error-background); --b3-font-background2: var(--b3-card-warning-background); --b3-font-background3: var(--b3-card-info-background); --b3-font-background4: var(--b3-card-success-background); --b3-font-background5: #e2e3e4; --b3-font-background6: #acd0fc; --b3-font-background7: #fddaab; --b3-font-background8: #ffb0a9; --b3-font-background9: #fdbfff; --b3-font-background10: #b1ffff; --b3-font-background11: #affad1; --b3-font-background12: #fff88f; --b3-font-background13: var(--b3-theme-on-background); /* 动画效果 */ --b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms; --b3-background-transition: background 20ms ease-in 0s; /* 高亮 */ --b3-highlight-color: #222; --b3-highlight-background: #ffff00; --b3-highlight-current-background: #ff9632; /* 下拉菜单 */ --b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(95, 99, 104, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background); /* switch */ --b3-switch-background: #e1e3e1; --b3-switch-border: var(--b3-theme-on-surface-light); --b3-switch-hover: rgba(31, 31, 31, 0.06); --b3-switch-checked: #fff; --b3-switch-checked-background: var(--b3-theme-primary); --b3-switch-checked-hover: #d3e3fd; --b3-switch-checked-hover2: rgba(31, 31, 31, .06); /* 阴影 */ --b3-point-shadow: 0 0 1px 0 rgba(0, 0, 0, .1), 0 0 2px 0 rgba(0, 0, 0, .2); --b3-dialog-shadow: 0 8px 24px rgba(0, 0, 0, .2); --b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12); /* 图表颜色 */ --b3-graph-p-point: #076f7e; --b3-graph-heading-point: #8250df; --b3-graph-math-point: #80FFA5; --b3-graph-code-point: #00DDFF; --b3-graph-table-point: #37A2FF; --b3-graph-list-point: #FF0087; --b3-graph-todo-point: #FFBF00; --b3-graph-olist-point: #b3005f; --b3-graph-listitem-point: #f65b00; --b3-graph-bq-point: #8d48e3; --b3-graph-super-point: #dd79ff; --b3-graph-doc-point: #202124; --b3-graph-tag-point: #dbf32f; --b3-graph-asset-point: #05c091; --b3-graph-line: #5f6368; --b3-graph-ref-line: #d23f31; --b3-graph-tag-line: #5f6b06; --b3-graph-tag-tag-line: #dbf32f; --b3-graph-asset-line: #037457; --b3-graph-hl-point: #f3a92f; --b3-graph-hl-line: #4285f4; /* 代码片段背景 */ --b3-protyle-code-background: rgba(27, 31, 35, .05); /* 所见即所得行内元素颜色 */ --b3-protyle-inline-strong-color: inherit; --b3-protyle-inline-em-color: inherit; --b3-protyle-inline-u-color: inherit; --b3-protyle-inline-s-color: inherit; --b3-protyle-inline-link-color: #4285f4; --b3-protyle-inline-mark-background: rgb(252, 212, 126); --b3-protyle-inline-mark-color: #202124; --b3-protyle-inline-tag-color: #5f6368; --b3-protyle-inline-blockref-color: #8957e5; --b3-protyle-inline-fileref-color: #21862e; /* PDF */ --b3-pdf-selection: #d0e9c8; --sidebar-width: 200px; --b3-pdf-offset: 0; --b3-pdf-background1: var(--b3-theme-error); --b3-pdf-background2: #f5822e; --b3-pdf-background3: #FACA5A; --b3-pdf-background4: #7CC868; --b3-pdf-background5: #FC5C88; --b3-pdf-background6: #69B0F2; --b3-pdf-background7: #C885DA; --b3-pdf-dark: #212224; /* 表格 */ --b3-table-even-background: rgba(0, 0, 0, .02); /* 嵌入块 */ --b3-embed-background: transparent; /* 引述块 */ --b3-bq-background: transparent; /* 父块颜色 */ --b3-parent-background: var(--b3-theme-background); }
    2 操作
    JeffreyChen 在 2025-05-31 15:30:31 更新了该回帖
    JeffreyChen 在 2025-05-31 15:28:48 更新了该回帖
  • ihnfsa

    @JeffreyChen 你设置的好看多了。不过还有部分界面文字和图标是黑色,这个能调吗?

    20250531161330.png

    1 回复
  • 我这里不会,检查一下你用的其他代码片段吧

    image.png

    1 回复
  • ihnfsa

    确实,我的问题

  • 没看懂,你把主题调成暗色模式不就行了吗,而且主题集市多的是配色

    其他地方是暗黑主题,编辑器是明亮主题
    JeffreyChen 1 赞同
  • NorthCJ 1 赞同

    可以试下这款主题的 Red Graphite 配色

    image.png

请输入回帖内容 ...

推荐标签 标签

  • Lute

    Lute 是一款结构化的 Markdown 引擎,支持 Go 和 JavaScript。

    29 引用 • 202 回帖 • 28 关注
  • Netty

    Netty 是一个基于 NIO 的客户端-服务器编程框架,使用 Netty 可以让你快速、简单地开发出一个可维护、高性能的网络应用,例如实现了某种协议的客户、服务端应用。

    49 引用 • 33 回帖 • 38 关注
  • 支付宝

    支付宝是全球领先的独立第三方支付平台,致力于为广大用户提供安全快速的电子支付/网上支付/安全支付/手机支付体验,及转账收款/水电煤缴费/信用卡还款/AA 收款等生活服务应用。

    29 引用 • 347 回帖 • 1 关注
  • 代码片段

    代码片段分为 CSS 与 JS 两种代码,添加在 [设置 - 外观 - 代码片段] 中,这些代码会在思源笔记加载时自动执行,用于改善笔记的样式或功能。

    用户在该标签下分享代码片段时需在帖子标题前添加 [css] [js] 用于区分代码片段类型。

    191 引用 • 1356 回帖
  • 思源笔记

    思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。

    融合块、大纲和双向链接,重构你的思维。

    26084 引用 • 108298 回帖
  • 面试

    面试造航母,上班拧螺丝。多面试,少加班。

    326 引用 • 1395 回帖
  • Elasticsearch

    Elasticsearch 是一个基于 Lucene 的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于 RESTful 接口。Elasticsearch 是用 Java 开发的,并作为 Apache 许可条款下的开放源码发布,是当前流行的企业级搜索引擎。设计用于云计算中,能够达到实时搜索,稳定,可靠,快速,安装使用方便。

    117 引用 • 99 回帖 • 195 关注
  • Solidity

    Solidity 是一种智能合约高级语言,运行在 [以太坊] 虚拟机(EVM)之上。它的语法接近于 JavaScript,是一种面向对象的语言。

    3 引用 • 18 回帖 • 441 关注
  • Flutter

    Flutter 是谷歌的移动 UI 框架,可以快速在 iOS 和 Android 上构建高质量的原生用户界面。 Flutter 可以与现有的代码一起工作,它正在被越来越多的开发者和组织使用,并且 Flutter 是完全免费、开源的。

    39 引用 • 92 回帖 • 8 关注
  • Follow
    4 引用 • 12 回帖 • 2 关注
  • SEO

    发布对别人有帮助的原创内容是最好的 SEO 方式。

    36 引用 • 200 回帖 • 33 关注
  • Mobi.css

    Mobi.css is a lightweight, flexible CSS framework that focus on mobile.

    1 引用 • 6 回帖 • 766 关注
  • 游戏

    沉迷游戏伤身,强撸灰飞烟灭。

    187 引用 • 831 回帖
  • 小说

    小说是以刻画人物形象为中心,通过完整的故事情节和环境描写来反映社会生活的文学体裁。

    32 引用 • 108 回帖
  • Vim

    Vim 是类 UNIX 系统文本编辑器 Vi 的加强版本,加入了更多特性来帮助编辑源代码。Vim 的部分增强功能包括文件比较(vimdiff)、语法高亮、全面的帮助系统、本地脚本(Vimscript)和便于选择的可视化模式。

    29 引用 • 66 回帖
  • 创业

    你比 99% 的人都优秀么?

    82 引用 • 1395 回帖
  • 爬虫

    网络爬虫(Spider、Crawler),是一种按照一定的规则,自动地抓取万维网信息的程序。

    106 引用 • 275 回帖
  • ngrok

    ngrok 是一个反向代理,通过在公共的端点和本地运行的 Web 服务器之间建立一个安全的通道。

    7 引用 • 63 回帖 • 653 关注
  • Access
    1 引用 • 3 回帖 • 1 关注
  • BAE

    百度应用引擎(Baidu App Engine)提供了 PHP、Java、Python 的执行环境,以及云存储、消息服务、云数据库等全面的云服务。它可以让开发者实现自动地部署和管理应用,并且提供动态扩容和负载均衡的运行环境,让开发者不用考虑高成本的运维工作,只需专注于业务逻辑,大大降低了开发者学习和迁移的成本。

    19 引用 • 75 回帖 • 676 关注
  • 笔记

    好记性不如烂笔头。

    311 引用 • 794 回帖
  • MySQL

    MySQL 是一个关系型数据库管理系统,由瑞典 MySQL AB 公司开发,目前属于 Oracle 公司。MySQL 是最流行的关系型数据库管理系统之一。

    693 引用 • 537 回帖
  • 域名

    域名(Domain Name),简称域名、网域,是由一串用点分隔的名字组成的 Internet 上某一台计算机或计算机组的名称,用于在数据传输时标识计算机的电子方位(有时也指地理位置)。

    44 引用 • 208 回帖 • 1 关注
  • 国际化

    i18n(其来源是英文单词 internationalization 的首末字符 i 和 n,18 为中间的字符数)是“国际化”的简称。对程序来说,国际化是指在不修改代码的情况下,能根据不同语言及地区显示相应的界面。

    8 引用 • 26 回帖 • 4 关注
  • 阿里巴巴

    阿里巴巴网络技术有限公司(简称:阿里巴巴集团)是以曾担任英语教师的马云为首的 18 人,于 1999 年在中国杭州创立,他们相信互联网能够创造公平的竞争环境,让小企业通过创新与科技扩展业务,并在参与国内或全球市场竞争时处于更有利的位置。

    43 引用 • 221 回帖 • 58 关注
  • LaTeX

    LaTeX(音译“拉泰赫”)是一种基于 ΤΕΧ 的排版系统,由美国计算机学家莱斯利·兰伯特(Leslie Lamport)在 20 世纪 80 年代初期开发,利用这种格式,即使使用者没有排版和程序设计的知识也可以充分发挥由 TeX 所提供的强大功能,能在几天,甚至几小时内生成很多具有书籍质量的印刷品。对于生成复杂表格和数学公式,这一点表现得尤为突出。因此它非常适用于生成高印刷质量的科技和数学类文档。

    12 引用 • 59 回帖 • 3 关注
  • Ant-Design

    Ant Design 是服务于企业级产品的设计体系,基于确定和自然的设计价值观上的模块化解决方案,让设计者和开发者专注于更好的用户体验。

    17 引用 • 23 回帖 • 3 关注