Repository navigation
Releases
Releases · neoalex11/prism-glass
0.2.5
PrismGlass 0.2.5
Dedicated Mobile Adaptation (iOS / iPadOS / Android)
- Frosted Mobile Chrome & Drawers (
styles.css):- Restored high-legibility semantic surfaces and added frosted glass styling to mobile slide-out drawers (
.workspace-drawer,.workspace-drawer-header,.workspace-drawer-vault-switcher), bottom navigation bar (.mobile-navbar), keyboard editing toolbar (.mobile-toolbar), tab switcher (.mobile-tab-switcher), and top mobile note header (.view-header) to eliminate transparent text bleed-through on phones and tablets.
- Restored high-legibility semantic surfaces and added frosted glass styling to mobile slide-out drawers (
- Mobile GPU & Battery Optimization (
src/style-engine.ts,styles.css):- Added scoped
pg-mobiletagging (cleanly removed on unload) and disabled redundant fullscreenfilter: blur()and continuous transform drift animation on mobile devices while keeping smooth single-hue radial glows and optical prism sheen (and omitting3pxmicro-grain dots in mobile Light Mode).
- Added scoped
- Touch-Friendly Narrow-Screen Settings (
src/settings-tab.ts,styles.css):- Automatically hid desktop-only controls (
backdropOpacity,glowBlur,ambientShimmer,autoHideRibbon) on mobile so only active settings appear. - Added flex-wrap header layout, symmetrical 2-column touch swatch cards, single-column typography cards, and disabled sticky touch hover lifts (
@media (hover: none)).
- Automatically hid desktop-only controls (
Assets Included
main.jsmanifest.jsonstyles.css
0.2.4
PrismGlass 0.2.4
Bug Fixes: Modal/Notice Legibility & Third-Party Theme Compatibility (Phycat / macOS 26.5 / Obsidian 1.15+)
- Fixed Invisible Light-Mode Update Notices (
.notice): Explicitly applied high-contrast text color (#161f2ein Light Mode,#eef4fcin Dark Mode) on frosted.noticepopups so Obsidian's default white notice text is no longer invisible on light frosted glass when checking for theme or plugin updates. - Fixed Settings & Update Modal Washout / Bleed-Through: Scoped solid, high-legibility
--background-primary,--background-secondary,--modal-background,--setting-items-background, and--text-normalvariables inside.modal-container,.modal,.prompt,.menu,.popover, and.noticeso workspace transparency never leaks into Settings, Community Plugin/Theme modals, or Update dialogs. - macOS Translucent / macOS 26.5 Stacked-Modal Protection: Disabled conflicting nested
backdrop-filterblur on.modal-bg,.modal,.prompt,.menu, and.noticein macOS native translucency mode to prevent double-blur washout overNSVisualEffectView. - Fixed Backdrop Glass Preset Switching with Community Themes (e.g. Phycat): Raised specificity of workspace shell transparency and cleared
--background-card(zero!importantrules) so community themes with opaque card layouts no longer cover PrismGlass's single-hue frosted glass backdrop.
Assets Included
main.jsmanifest.jsonstyles.css
0.2.3
PrismGlass 0.2.3
Bug Fix: macOS Translucent Light Mode Scroll Text Ghosting
- macOS Native Vibrancy Compositor Guard (
styles.css,src/style-engine.ts):- Added scoped
pg-macosplatform tagging (cleanly removed on unload) and aligned backdrop opacity handling when Obsidian's native Translucent window (body.is-translucent) is enabled. - Disabled redundant fullscreen
filter: blur()+will-change: transform+ continuous transform drift animation onbody::beforewhen macOS nativeNSVisualEffectViewtranslucency is active. - Removed nested CSS
backdrop-filter: blur()on active tabs and sidebar hover rows inside macOS translucent windows to prevent Chromium compositor readback trails. - Enabled grayscale font smoothing (
-webkit-font-smoothing: antialiased) andcontain: layout style paint; isolation: isolateon scrolling text viewports (.cm-scroller,.markdown-preview-view,.nav-files-container). - In macOS Light Mode translucency, omitted the
3px × 3pxdark micro-grain overlay and balanced the frosted base wash seamlessly acrossbody::beforeand non-overlapping scrolling panes so scrolling layers always clear cleanly on every frame while preserving desktop see-through.
- Added scoped
- Window Material Stability (
src/window-material.ts,src/main.ts):- Cached applied native window material state (
setVibrancy/setBackgroundMaterial) to avoid redundantNSVisualEffectViewrebuilds on settings/theme refreshes, and observedis-translucentbody class changes live.
- Cached applied native window material state (
Assets Included
main.jsmanifest.jsonstyles.css
0.2.2
PrismGlass 0.2.2
Obsidian Community Directory Automated Review Fixes
src/i18n.ts: Switched locale detection to Obsidian's officialgetLanguage()API instead oflocalStorage.getItem("language").src/settings-tab.ts: MigratedPrismGlassSettingTabto Obsidian 1.13+ declarativegetSettingDefinitions(),getControlValue(),setControlValue(), andrefreshDomState()/update()APIs — removing deprecateddisplay()calls and making all settings natively searchable in Obsidian Settings Search (minAppVersionupdated to1.13.0).styles.css: Removed all 24!importantrules in favor of scoped high-specificity selectors and standard Obsidian CSS variables.README.md/README.zh-CN.md: Set English as the primaryREADME.mdfor the Obsidian Community Directory, with full Chinese documentation maintained inREADME.zh-CN.md.
New Velocity-Inspired Colorways & Paired Typography
- Added 10 Velocity-inspired glass presets (5 Dark: Velocity Gray, Obsidian Gray, Jet Black Matte, British Racing Green, Nordblau Metallic; 5 Light: Velocity Silver, Obsidian White, Utopia Gray, Touring Beige, Jet Blue Metallic) and removed Warm Charcoal.
- Added 5 dual-mode Velocity typography palettes (Velocity Cobalt, Obsidian Violet, Matte Crimson, Racing Emerald, Nordblau Cyan) that auto-link when selecting their matching Velocity glass theme while remaining freely overridable.
Assets Included
main.jsmanifest.jsonstyles.css
0.2.1
PrismGlass 0.2.1
Marketplace Readiness & Quality Improvements / 官方社区插件预检修复与优化
- Obsidian Official ESLint Compliance (
eslint-plugin-obsidianmd):- Replaced global
documentreferences withactiveDocumentand added multi-window (window-open/window-close) style lifecycle support for popout windows. - Replaced inline
.style.*assignments in Settings UI with CSS custom properties (setCssProps) and scoped utility classes. - Replaced deprecated Obsidian UI helpers (
setDynamicTooltip,setWarning), removed redundant top-level plugin heading in settings tab, and usedModal.setTitle()&createSpan(). - Fixed async click handler promise handling and strict JSON parsing types (
0ESLint errors,0TypeScript errors).
- Replaced global
- Manifest & Metadata:
- Updated plugin author to
neoand alignedmanifest.jsondescription with Obsidian Community Plugin guidelines.
- Updated plugin author to
Assets Included
main.jsmanifest.jsonstyles.css
PrismGlass 0.2.0
PrismGlass 0.2.0 — 首次公开发布 / Initial Public Release
一站式 Obsidian macOS 统一磨砂玻璃与多层级字体可读性配色插件,零外部依赖。
主要特性 / Highlights
- 9 套单色系棱镜磨砂主题 + 自定义单色:HSL 同色系动态亮度阶梯 + 斜向棱镜流光 + 顶部天光高光,支持深浅模式自动同步 Obsidian 原生外观。
- 4 层字体可读性配色体系:清晰区分文件夹标题、侧栏笔记标题、笔记大标题、H1–H6、正文、加粗、斜体、链接与行内代码;内置 6 套双模字体主题 + 13 项自定义取色器与预设一键克隆。
- 跨平台原生窗口透视:Windows 11(Acrylic / Mica / Mica Alt)与 macOS(Vibrancy)原生窗口材质支持,底色透明度与氛围柔光解耦,全屏自动保护。
- 内置可视化设置中心:自带中英双语界面、可视化色卡、实时微缩预览、快捷切换命令与 JSON 配置导出/导入。
安装方式 / Installation
- BRAT:添加 https://github.com/neoalex11/prism-glass 即可一键安装。
- 手动安装:下载本页附件 main.js、manifest.json、styles.css,放入 /.obsidian/plugins/prism-glass/ 后重启 Obsidian 并启用。