feat: add SSO workspace, named shares and Debian release tooling

This commit is contained in:
SantaSpeen committed 2026-10-21 20:57:44 +03:00
1 parent 833d908884
commit 87bc33e675
106 files changed
+4160 -5637

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import "ace-builds";
import { themesByName } from "ace-builds/src-noconflict/ext-themelist";
import { getTheme } from "./theme";
export const getEditorTheme = (themeName: string) => {
const key = themeName.replace(/^ace\/theme\//, "");
if (themesByName[key] !== undefined) return `ace/theme/${key}`;
return getTheme() === "dark" ? "ace/theme/twilight" : "ace/theme/chrome";
};