refactor: normalize custom data attributes

This commit is contained in:
Erzbir
2026-08-17 01:36:51 +08:00
parent 52acc4636a
commit b6e84de616
10 changed files with 54 additions and 63 deletions
-2
View File
@@ -4,8 +4,6 @@ export const PREFERENCE_KEYS = Object.freeze({
pixelStyle: "pixel-style"
});
export const PIXEL_STYLE_ATTRIBUTE = "pixel_style";
export function getStoredPreference(key) {
return window.TerminalTheme?.storage
? window.TerminalTheme.storage.get(key)