meta-theme color matches UI Background

This commit is contained in:
RossAscends
2025-05-21 21:01:28 +09:00
parent 356dafd954
commit 1aa7d1d5a5

View File

@ -1124,7 +1124,9 @@ function applyThemeColor(type) {
document.documentElement.style.setProperty('--SmartThemeFastUIBGColor', power_user.fastui_bg_color);
} */
if (type === 'blurTint') {
let metaThemeColor = document.querySelector('meta[name=theme-color]');
document.documentElement.style.setProperty('--SmartThemeBlurTintColor', power_user.blur_tint_color);
metaThemeColor.setAttribute('content', power_user.blur_tint_color);
}
if (type === 'chatTint') {
document.documentElement.style.setProperty('--SmartThemeChatTintColor', power_user.chat_tint_color);