mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
refactor(editor): Dark theme improvements (no-changelog) (#7574)
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ff279ab411
commit
100291e109
@@ -33,13 +33,6 @@ export function sanitizeHtml(dirtyHtml: string) {
|
||||
return sanitizedHtml;
|
||||
}
|
||||
|
||||
export function getStyleTokenValue(name: string, cssVariable = false): string {
|
||||
if (cssVariable) return `var(${name})`;
|
||||
|
||||
const style = getComputedStyle(document.body);
|
||||
return style.getPropertyValue(name);
|
||||
}
|
||||
|
||||
export function setPageTitle(title: string) {
|
||||
window.document.title = title;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user