Files
mtdb_movie/common/resources/client/ui/themes/utils/set-theme-value.ts
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

10 lines
240 B
TypeScript
Executable File

import {themeEl} from '@common/core/root-el';
export function setThemeValue(key: string, value: string) {
themeEl?.style.setProperty(key, value);
}
export function removeThemeValue(key: string) {
themeEl?.style.removeProperty(key);
}