
基于微软 Fluent 2 Design System(Fluent UI v9 与 Windows 11 WinUI 3)打造的 Obsidian 主题。完整还原微软官方设计令牌与 Windows 11 材质层级,并深度适配 Windows 11 原生云母材质与系统主题色体验。
配套原生插件:Fluent 2 Windows Native(提供 Windows 11 原生 Mica / Mica Alt / Acrylic 材质与 7 阶系统主题色自动同步)。
云母材质与系统强调色会随 Windows 11 桌面壁纸与个性化配色自动变化:
| 浅色模式(暖棕壁纸与系统强调色) | 深色模式(暖棕壁纸与系统强调色) |
|---|---|
![]() |
![]() |
| 浅色模式(青绿壁纸与系统强调色) | 深色模式(青绿壁纸与系统强调色) |
![]() |
![]() |
| Windows 11 风格独立设置窗口与 Style Settings 面板 |
|---|
![]() |
@fluentui/tokens 的 webLightTheme 与 webDarkTheme(colorNeutralBackground1–6、colorNeutralForeground1–4、colorNeutralStroke1–3、brandWeb 10–160 色阶)。shadow2 至 shadow64)、Fluent 2 标准圆角标尺与贝塞尔缓动曲线(curveDecelerateMid、curveEasyEase 等),自动遵循系统「减弱动态效果」设置。Segoe UI Variable(支持光学字号自适应)与 Microsoft YaHei UI 中文协调回退;行内代码与代码块统一遵循 Obsidian「外观 → 等宽字体」设置(默认回退至 Cascadia Code)。0%–100% 不透明度(也可随时关闭切换回高不透明度卡片);表格表头、引用块、代码块与属性卡片自动采用统一的微透明内嵌层次。| Windows 11 特性 | 纯主题 CSS 支持 | 实现方式与说明 |
|---|---|---|
| Mica / Mica Alt / Acrylic 原生云母材质 | 需搭配插件或 DWM 工具 | 纯 CSS 无法直接调用 Electron 窗口材质接口。搭配 Fluent 2 Windows Native 插件可为主窗口及 Obsidian 1.15+ 独立设置窗口启用原生云母;未安装插件时自动回退为纯 CSS 拟真云母(Simulated Mica)。 |
| Windows 11 系统个性化主题色 | 需搭配插件或手动拾色 | Windows 下 Electron 内核的纯 CSS AccentColor 通常回退为默认蓝。安装 Fluent 2 Windows Native 可直接读取系统注册表 AccentPalette 完整 7 阶色板并实时同步;也可在 Style Settings 中使用自定义品牌色拾色器自动推导全套色阶。 |
| Segoe UI Variable 与 Cascadia Code | 原生支持(纯 CSS) | 自动调用 Windows 11 内置可变字体与等宽字体,支持光学字号自适应。 |
| Windows 对比度主题(High Contrast) | 原生支持(纯 CSS) | 通过 @media (forced-colors: active) 完整兼容 Windows 水生、沙漠、黄昏、夜空等对比度主题。 |
| 系统「减弱动态效果」 | 原生支持(纯 CSS) | 通过 @media (prefers-reduced-motion: reduce) 自动关闭过渡与入场动效。 |
| 窗口控制按钮与 Snap Layouts | 依赖窗口边框设置 | 隐藏标题栏模式下还原 Windows 11 经典三键(含 #c42b1c 红色关闭悬停);如需悬停最大化按钮触发原生 Snap Layouts,可在「设置 → 界面 → 窗口边框样式」切换为原生边框。 |
.obsidian/themes/Fluent 2/ 目录下(文件夹名需与 manifest.json 中的 "name": "Fluent 2" 一致):git clone https://github.com/zyraxi21/Fluent-2-Obsidian.git "Fluent 2"
随后在 设置 → 外观 → 主题 中选择 Fluent 2。setBackgroundMaterial(Mica / Mica Alt / Acrylic)时,页面内的 CSS backdrop-filter 高斯模糊会整体失效。为保证文字清晰可读,主题在检测到原生云母开启时,会自动将右键菜单、命令面板、悬浮预览与弹窗切换为接近不透明的亚克力回退底色(与 Windows 关闭透明效果时的系统表现一致);关闭原生云母(使用拟真云母或纯色模式)时,右键菜单与浮层仍正常显示高斯模糊效果。An Obsidian theme built on Microsoft's Fluent 2 Design System (Fluent UI v9 and Windows 11 WinUI 3). It faithfully maps official Fluent 2 design tokens, elevation shadows, motion curves, and layered material hierarchy, with deep support for native Windows 11 Mica and system accent colors.
Companion plugin: Fluent 2 Windows Native (enables native Windows 11 Mica, Mica Alt, and Acrylic window materials plus live 7-shade Windows 11 system accent color synchronization).
Mica backdrops and accent ramps adapt dynamically to your Windows 11 desktop wallpaper and system accent color:
| Light Mode (Warm Amber Wallpaper & Accent) | Dark Mode (Warm Amber Wallpaper & Accent) |
|---|---|
![]() |
![]() |
| Light Mode (Olive Green Wallpaper & Accent) | Dark Mode (Olive Green Wallpaper & Accent) |
![]() |
![]() |
| Windows 11 Standalone Settings Window & Style Settings |
|---|
![]() |
webLightTheme and webDarkTheme tokens from @fluentui/tokens (neutral surfaces 1–6, foregrounds, strokes, brandWeb color ramp 10–160, dual-layer ambient/key shadows shadow2–shadow64, corner radii, and physical Bezier motion curves).y = 0) Fitts's Law click support when maximized.body.is-translucent) is enabled via Fluent 2 Windows Native.0%–100%) in Style Settings, paired with harmonized translucent tables, blockquotes, code blocks, and properties.@media (forced-colors: active)) and OS Reduced Motion (@media (prefers-reduced-motion: reduce))..obsidian/themes/Fluent 2/):git clone https://github.com/zyraxi21/Fluent-2-Obsidian.git "Fluent 2"
setBackgroundMaterial (Mica / Mica Alt / Acrylic) disables CSS backdrop-filter blur across the window. To keep menus and flyouts legible, Fluent 2 automatically switches context menus, the Command Palette, popovers, and dialogs to a near-opaque acrylic fallback whenever native Mica is active (matching Windows behavior when transparency effects are unavailable). When native Mica is off (Simulated Mica or Solid mode), standard CSS Gaussian blur works normally.@fluentui/tokens)