chore(themes): move theme libs into /theme
This commit is contained in:
1 parent
cfb6ec8cce
commit
83b007818d
57 files changed
+117
-103
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ezpplauncher",
|
"name": "ezpplauncher",
|
||||||
"version": "3.2.7",
|
"version": "3.3.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
import { THEME_ICON_NAMES, type ThemeIconName, type ThemeIconSet } from '../src/lib/themeIcons';
|
import {
|
||||||
|
THEME_ICON_NAMES,
|
||||||
|
type ThemeIconName,
|
||||||
|
type ThemeIconSet,
|
||||||
|
} from '../src/lib/theme/themeIcons';
|
||||||
import { readFileSync, writeFileSync } from 'node:fs';
|
import { readFileSync, writeFileSync } from 'node:fs';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
|
|
||||||
@@ -135,7 +139,7 @@ export const THEME_ICON_BODIES: Record<ThemeIconSet, Record<ThemeIconName, Theme
|
|||||||
)};
|
)};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const outputPath = fileURLToPath(new URL('../src/lib/themeIconData.ts', import.meta.url));
|
const outputPath = fileURLToPath(new URL('../src/lib/theme/themeIconData.ts', import.meta.url));
|
||||||
writeFileSync(outputPath, output);
|
writeFileSync(outputPath, output);
|
||||||
console.log(
|
console.log(
|
||||||
`Generated ${THEME_ICON_NAMES.length} semantic icons for ${Object.keys(collectionPaths).length} sets.`
|
`Generated ${THEME_ICON_NAMES.length} semantic icons for ${Object.keys(collectionPaths).length} sets.`
|
||||||
|
|||||||
Generated
+1
-1
@@ -1266,7 +1266,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ezpplauncher"
|
name = "ezpplauncher"
|
||||||
version = "3.2.7"
|
version = "3.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-gcm",
|
"aes-gcm",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ezpplauncher"
|
name = "ezpplauncher"
|
||||||
version = "3.2.7"
|
version = "3.3.0"
|
||||||
description = "EZPPLauncher redefined."
|
description = "EZPPLauncher redefined."
|
||||||
authors = ["HorizonCode"]
|
authors = ["HorizonCode"]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "EZPPLauncher",
|
"productName": "EZPPLauncher",
|
||||||
"version": "3.2.7",
|
"version": "3.3.0",
|
||||||
"identifier": "farm.EZPPFarm.Launcher",
|
"identifier": "farm.EZPPFarm.Launcher",
|
||||||
"mainBinaryName": "ezpplauncher",
|
"mainBinaryName": "ezpplauncher",
|
||||||
"build": {
|
"build": {
|
||||||
@@ -30,7 +30,10 @@
|
|||||||
"csp": {
|
"csp": {
|
||||||
"default-src": "'self' tauri: customprotocol: asset:",
|
"default-src": "'self' tauri: customprotocol: asset:",
|
||||||
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' asset: http://asset.localhost https://asset.localhost http://127.0.0.1:* https://analytics.ez-pp.farm",
|
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' asset: http://asset.localhost https://asset.localhost http://127.0.0.1:* https://analytics.ez-pp.farm",
|
||||||
"worker-src": ["'self'", "blob:"],
|
"worker-src": [
|
||||||
|
"'self'",
|
||||||
|
"blob:"
|
||||||
|
],
|
||||||
"style-src": "'self' 'unsafe-inline' asset: http://asset.localhost https://asset.localhost http://127.0.0.1:*",
|
"style-src": "'self' 'unsafe-inline' asset: http://asset.localhost https://asset.localhost http://127.0.0.1:*",
|
||||||
"img-src": "'self' asset: http://asset.localhost https://asset.localhost blob: data: http://127.0.0.1:* https://assets.ppy.sh https://a.ez-pp.farm https://git.ez-pp.farm https://osu.direct https://themes.ez-pp.farm",
|
"img-src": "'self' asset: http://asset.localhost https://asset.localhost blob: data: http://127.0.0.1:* https://assets.ppy.sh https://a.ez-pp.farm https://git.ez-pp.farm https://osu.direct https://themes.ez-pp.farm",
|
||||||
"connect-src": "'self' ipc: http://ipc.localhost asset: http://asset.localhost https://asset.localhost http://127.0.0.1:* https://ez-pp.farm https://api.ez-pp.farm https://c.ez-pp.farm https://analytics.ez-pp.farm https://git.ez-pp.farm https://osu.direct https://osu.ppy.sh https://api.fontsource.org https://cdn.jsdelivr.net https://themes.ez-pp.farm",
|
"connect-src": "'self' ipc: http://ipc.localhost asset: http://asset.localhost https://asset.localhost http://127.0.0.1:* https://ez-pp.farm https://api.ez-pp.farm https://c.ez-pp.farm https://analytics.ez-pp.farm https://git.ez-pp.farm https://osu.direct https://osu.ppy.sh https://api.fontsource.org https://cdn.jsdelivr.net https://themes.ez-pp.farm",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import DefaultThemePreview from '$assets/default_preview.png';
|
import DefaultThemePreview from '$assets/default_preview.png';
|
||||||
import { activeThemeDownloads, themeDownloadProgress } from '$lib/communityThemeDownloads';
|
import { activeThemeDownloads, themeDownloadProgress } from '$lib/theme/communityThemeDownloads';
|
||||||
import {
|
import {
|
||||||
fetchCommunityTags,
|
fetchCommunityTags,
|
||||||
fetchCommunityThemes,
|
fetchCommunityThemes,
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
type ThemeReportCategory,
|
type ThemeReportCategory,
|
||||||
type ThemeReportQuery,
|
type ThemeReportQuery,
|
||||||
type ThemeReportStatus,
|
type ThemeReportStatus,
|
||||||
} from '$lib/communityThemes';
|
} from '$lib/theme/communityThemes';
|
||||||
import * as AlertDialog from '$lib/components/ui/alert-dialog';
|
import * as AlertDialog from '$lib/components/ui/alert-dialog';
|
||||||
import Badge from '$lib/components/ui/badge/badge.svelte';
|
import Badge from '$lib/components/ui/badge/badge.svelte';
|
||||||
import { Button } from '$lib/components/ui/button';
|
import { Button } from '$lib/components/ui/button';
|
||||||
@@ -47,9 +47,9 @@
|
|||||||
import * as Tooltip from '$lib/components/ui/tooltip';
|
import * as Tooltip from '$lib/components/ui/tooltip';
|
||||||
import { active_custom_theme, custom_themes } from '$lib/global';
|
import { active_custom_theme, custom_themes } from '$lib/global';
|
||||||
import { sendSystemAnnouncement } from '$lib/notifications';
|
import { sendSystemAnnouncement } from '$lib/notifications';
|
||||||
import { isThemeTrusted } from '$lib/themeTrust';
|
import { isThemeTrusted } from '$lib/theme/themeTrust';
|
||||||
import { normalizeThemeTags } from '$lib/themeV2';
|
import { normalizeThemeTags } from '$lib/theme/themeV2';
|
||||||
import { reloadThemes, updateInstalledThemeTags, type Theme } from '$lib/themes';
|
import { reloadThemes, updateInstalledThemeTags, type Theme } from '$lib/theme/themes';
|
||||||
import { currentUser } from '$lib/userAuthentication';
|
import { currentUser } from '$lib/userAuthentication';
|
||||||
import { reduceAnimations } from '$lib/userSettings';
|
import { reduceAnimations } from '$lib/userSettings';
|
||||||
import WorkshopTooltip from './WorkshopTooltip.svelte';
|
import WorkshopTooltip from './WorkshopTooltip.svelte';
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
import Input from '$lib/components/ui/input/input.svelte';
|
import Input from '$lib/components/ui/input/input.svelte';
|
||||||
import Label from '$lib/components/ui/label/label.svelte';
|
import Label from '$lib/components/ui/label/label.svelte';
|
||||||
import * as Select from '$lib/components/ui/select';
|
import * as Select from '$lib/components/ui/select';
|
||||||
import { isThemeClockVariable, THEME_CLOCK_VARIABLE_NAMES } from '$lib/themeClock';
|
import { isThemeClockVariable, THEME_CLOCK_VARIABLE_NAMES } from '$lib/theme/themeClock';
|
||||||
import {
|
import {
|
||||||
themeBehaviorTargetLabel,
|
themeBehaviorTargetLabel,
|
||||||
themeElementLabel,
|
themeElementLabel,
|
||||||
themeGroupInteractiveCount,
|
themeGroupInteractiveCount,
|
||||||
themeGroupLabel,
|
themeGroupLabel,
|
||||||
} from '$lib/themeLogic';
|
} from '$lib/theme/themeLogic';
|
||||||
import {
|
import {
|
||||||
formatThemeScriptError,
|
formatThemeScriptError,
|
||||||
parseThemeScript,
|
parseThemeScript,
|
||||||
themeScriptProgramCanLeaveLauncher,
|
themeScriptProgramCanLeaveLauncher,
|
||||||
} from '$lib/themeScriptLang';
|
} from '$lib/theme/themeScriptLang';
|
||||||
import type {
|
import type {
|
||||||
ThemeV2Behavior,
|
ThemeV2Behavior,
|
||||||
ThemeV2BehaviorAction,
|
ThemeV2BehaviorAction,
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
ThemeV2Group,
|
ThemeV2Group,
|
||||||
ThemeV2ScriptScreen,
|
ThemeV2ScriptScreen,
|
||||||
ThemeV2ScriptValue,
|
ThemeV2ScriptValue,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import { Link2, Plus, Trash2 } from '@lucide/svelte';
|
import { Link2, Plus, Trash2 } from '@lucide/svelte';
|
||||||
import { SvelteSet } from 'svelte/reactivity';
|
import { SvelteSet } from 'svelte/reactivity';
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
analyzeThemeSvelteSource,
|
analyzeThemeSvelteSource,
|
||||||
type ThemeSvelteAnalysis,
|
type ThemeSvelteAnalysis,
|
||||||
type ThemeSvelteDiagnostic,
|
type ThemeSvelteDiagnostic,
|
||||||
} from '$lib/themeSvelte';
|
} from '$lib/theme/themeSvelte';
|
||||||
import {
|
import {
|
||||||
THEME_SVELTE_COMPONENT_PLACEHOLDER,
|
THEME_SVELTE_COMPONENT_PLACEHOLDER,
|
||||||
THEME_SVELTE_COMPONENT_SKELETON,
|
THEME_SVELTE_COMPONENT_SKELETON,
|
||||||
} from '$lib/themeSvelteSnippets';
|
} from '$lib/theme/themeSvelteSnippets';
|
||||||
import { Component, CircleAlert, Maximize2, Minimize2, X } from '@lucide/svelte';
|
import { Component, CircleAlert, Maximize2, Minimize2, X } from '@lucide/svelte';
|
||||||
import type * as Monaco from 'monaco-editor';
|
import type * as Monaco from 'monaco-editor';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import Button from '$lib/components/ui/button/button.svelte';
|
import Button from '$lib/components/ui/button/button.svelte';
|
||||||
import Input from '$lib/components/ui/input/input.svelte';
|
import Input from '$lib/components/ui/input/input.svelte';
|
||||||
import Label from '$lib/components/ui/label/label.svelte';
|
import Label from '$lib/components/ui/label/label.svelte';
|
||||||
import { themeClassTokens } from '$lib/themeV2';
|
import { themeClassTokens } from '$lib/theme/themeV2';
|
||||||
import { Code2, RotateCcw } from '@lucide/svelte';
|
import { Code2, RotateCcw } from '@lucide/svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { compileThemeSvelte } from '$lib/themeSvelte';
|
import { compileThemeSvelte } from '$lib/theme/themeSvelte';
|
||||||
import { themeAssetUrl, type ThemeV2ScriptValue } from '$lib/themeV2';
|
import { themeAssetUrl, type ThemeV2ScriptValue } from '$lib/theme/themeV2';
|
||||||
import { TriangleAlert } from '@lucide/svelte';
|
import { TriangleAlert } from '@lucide/svelte';
|
||||||
import { mount, unmount } from 'svelte';
|
import { mount, unmount } from 'svelte';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Logo from '$assets/logo.png';
|
import Logo from '$assets/logo.png';
|
||||||
import { fetchCommunityThemeDetails, publishThemeToWorkshop } from '$lib/communityThemes';
|
import { fetchCommunityThemeDetails, publishThemeToWorkshop } from '$lib/theme/communityThemes';
|
||||||
import FontPreview from '$lib/components/theme/FontPreview.svelte';
|
import FontPreview from '$lib/components/theme/FontPreview.svelte';
|
||||||
import ThemeBehaviorInspector from '$lib/components/theme/ThemeBehaviorInspector.svelte';
|
import ThemeBehaviorInspector from '$lib/components/theme/ThemeBehaviorInspector.svelte';
|
||||||
import ThemeElementInspector from '$lib/components/theme/ThemeElementInspector.svelte';
|
import ThemeElementInspector from '$lib/components/theme/ThemeElementInspector.svelte';
|
||||||
@@ -44,31 +44,31 @@
|
|||||||
THEME_CLOCK_VARIABLE_NAMES,
|
THEME_CLOCK_VARIABLE_NAMES,
|
||||||
isThemeClockVariable,
|
isThemeClockVariable,
|
||||||
themeClockValues,
|
themeClockValues,
|
||||||
} from '$lib/themeClock';
|
} from '$lib/theme/themeClock';
|
||||||
import {
|
import {
|
||||||
BUNDLED_THEME_FONTS,
|
BUNDLED_THEME_FONTS,
|
||||||
bundledThemeFontFamily,
|
bundledThemeFontFamily,
|
||||||
fontStack,
|
fontStack,
|
||||||
type ThemeFontChoice,
|
type ThemeFontChoice,
|
||||||
} from '$lib/themeFonts';
|
} from '$lib/theme/themeFonts';
|
||||||
import { THEME_ICON_PREVIEW_NAMES, THEME_ICON_SETS } from '$lib/themeIcons';
|
import { THEME_ICON_PREVIEW_NAMES, THEME_ICON_SETS } from '$lib/theme/themeIcons';
|
||||||
import {
|
import {
|
||||||
themeBehaviorSummary,
|
themeBehaviorSummary,
|
||||||
themeBehaviorTargetLabel,
|
themeBehaviorTargetLabel,
|
||||||
themeElementLabel,
|
themeElementLabel,
|
||||||
themeGroupContainsElement,
|
themeGroupContainsElement,
|
||||||
themeGroupInteractiveCount,
|
themeGroupInteractiveCount,
|
||||||
} from '$lib/themeLogic';
|
} from '$lib/theme/themeLogic';
|
||||||
import { themeParallax } from '$lib/themeParallax';
|
import { themeParallax } from '$lib/theme/themeParallax';
|
||||||
import { renderThemePreview } from '$lib/themePreview';
|
import { renderThemePreview } from '$lib/theme/themePreview';
|
||||||
import { themeScriptInitialVariables, themeScriptVariableNames } from '$lib/themeScript';
|
import { themeScriptInitialVariables, themeScriptVariableNames } from '$lib/theme/themeScript';
|
||||||
import {
|
import {
|
||||||
formatThemeScriptError,
|
formatThemeScriptError,
|
||||||
parseThemeScript,
|
parseThemeScript,
|
||||||
themeScriptProgramCanLeaveLauncher,
|
themeScriptProgramCanLeaveLauncher,
|
||||||
themeScriptProgramReferences,
|
themeScriptProgramReferences,
|
||||||
} from '$lib/themeScriptLang';
|
} from '$lib/theme/themeScriptLang';
|
||||||
import { analyzeThemeSvelteSource } from '$lib/themeSvelte';
|
import { analyzeThemeSvelteSource } from '$lib/theme/themeSvelte';
|
||||||
import {
|
import {
|
||||||
createDefaultThemeV2,
|
createDefaultThemeV2,
|
||||||
createThemeV2Behavior,
|
createThemeV2Behavior,
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
type ThemeV2VideoElement,
|
type ThemeV2VideoElement,
|
||||||
type ThemeV2WidgetElement,
|
type ThemeV2WidgetElement,
|
||||||
type ThemeV2WidgetKind,
|
type ThemeV2WidgetKind,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import {
|
import {
|
||||||
exportThemeFolder,
|
exportThemeFolder,
|
||||||
markThemeSynced,
|
markThemeSynced,
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
themesDirectory,
|
themesDirectory,
|
||||||
toSafeName,
|
toSafeName,
|
||||||
updateInstalledThemeWorkshopId,
|
updateInstalledThemeWorkshopId,
|
||||||
} from '$lib/themes';
|
} from '$lib/theme/themes';
|
||||||
import type { EZPPUser, EZPPUserInfo } from '$lib/types';
|
import type { EZPPUser, EZPPUserInfo } from '$lib/types';
|
||||||
import { currentUser } from '$lib/userAuthentication';
|
import { currentUser } from '$lib/userAuthentication';
|
||||||
import { osuInstallationPath } from '$lib/userSettings';
|
import { osuInstallationPath } from '$lib/userSettings';
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
import * as Select from '$lib/components/ui/select';
|
import * as Select from '$lib/components/ui/select';
|
||||||
import Slider from '$lib/components/ui/slider/slider.svelte';
|
import Slider from '$lib/components/ui/slider/slider.svelte';
|
||||||
import Textarea from '$lib/components/ui/textarea/textarea.svelte';
|
import Textarea from '$lib/components/ui/textarea/textarea.svelte';
|
||||||
import { getThemeDataSampleValue, resolveThemeDataValue, themeGlobalData } from '$lib/themeData';
|
import { getThemeDataSampleValue, resolveThemeDataValue, themeGlobalData } from '$lib/theme/themeData';
|
||||||
import type { ThemeFontChoice } from '$lib/themeFonts';
|
import type { ThemeFontChoice } from '$lib/theme/themeFonts';
|
||||||
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/themeIcons';
|
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/theme/themeIcons';
|
||||||
import {
|
import {
|
||||||
THEME_DATA_FIELDS,
|
THEME_DATA_FIELDS,
|
||||||
THEME_PARTICLE_PRESETS,
|
THEME_PARTICLE_PRESETS,
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
type ThemeV2MaskShape,
|
type ThemeV2MaskShape,
|
||||||
type ThemeV2WidgetKind,
|
type ThemeV2WidgetKind,
|
||||||
type ThemeV2WidgetVariant,
|
type ThemeV2WidgetVariant,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import { openURL } from '$lib/utils';
|
import { openURL } from '$lib/utils';
|
||||||
import {
|
import {
|
||||||
CircleUser,
|
CircleUser,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import ThemeSection from '$lib/components/theme/ThemeSection.svelte';
|
import ThemeSection from '$lib/components/theme/ThemeSection.svelte';
|
||||||
import Button from '$lib/components/ui/button/button.svelte';
|
import Button from '$lib/components/ui/button/button.svelte';
|
||||||
import Slider from '$lib/components/ui/slider/slider.svelte';
|
import Slider from '$lib/components/ui/slider/slider.svelte';
|
||||||
import type { ThemeV2Filters } from '$lib/themeV2';
|
import type { ThemeV2Filters } from '$lib/theme/themeV2';
|
||||||
import { SlidersHorizontal } from '@lucide/svelte';
|
import { SlidersHorizontal } from '@lucide/svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
type ThemeV2Element,
|
type ThemeV2Element,
|
||||||
type ThemeV2Group,
|
type ThemeV2Group,
|
||||||
type ThemeV2MaskShape,
|
type ThemeV2MaskShape,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import { Boxes, Layers, RefreshCw, Scan, Ungroup } from '@lucide/svelte';
|
import { Boxes, Layers, RefreshCw, Scan, Ungroup } from '@lucide/svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getThemeIconBody } from '$lib/themeIconCatalog';
|
import { getThemeIconBody } from '$lib/theme/themeIconCatalog';
|
||||||
import { DEFAULT_THEME_ICON_SET, type ThemeIconName, type ThemeIconSet } from '$lib/themeIcons';
|
import {
|
||||||
|
DEFAULT_THEME_ICON_SET,
|
||||||
|
type ThemeIconName,
|
||||||
|
type ThemeIconSet,
|
||||||
|
} from '$lib/theme/themeIcons';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
name,
|
name,
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
getFullIconCatalog,
|
getFullIconCatalog,
|
||||||
type IconPackKey,
|
type IconPackKey,
|
||||||
type ThemeIconCatalogItem,
|
type ThemeIconCatalogItem,
|
||||||
} from '$lib/themeIconCatalog';
|
} from '$lib/theme/themeIconCatalog';
|
||||||
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/themeIcons';
|
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/theme/themeIcons';
|
||||||
import ThemeIcon from './ThemeIcon.svelte';
|
import ThemeIcon from './ThemeIcon.svelte';
|
||||||
import { Check, ChevronsUpDown, LayoutGrid, List, Search, X } from '@lucide/svelte';
|
import { Check, ChevronsUpDown, LayoutGrid, List, Search, X } from '@lucide/svelte';
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import ThemeBehaviorInspector from '$lib/components/theme/ThemeBehaviorInspector.svelte';
|
import ThemeBehaviorInspector from '$lib/components/theme/ThemeBehaviorInspector.svelte';
|
||||||
import Button from '$lib/components/ui/button/button.svelte';
|
import Button from '$lib/components/ui/button/button.svelte';
|
||||||
import { themeEditorSectionOpen } from '$lib/themeEditorUiState';
|
import { themeEditorSectionOpen } from '$lib/theme/themeEditorUiState';
|
||||||
import { themeBehaviorSummary, themeGroupInteractiveCount } from '$lib/themeLogic';
|
import { themeBehaviorSummary, themeGroupInteractiveCount } from '$lib/theme/themeLogic';
|
||||||
import type {
|
import type {
|
||||||
ThemeV2Behavior,
|
ThemeV2Behavior,
|
||||||
ThemeV2BehaviorTarget,
|
ThemeV2BehaviorTarget,
|
||||||
ThemeV2Element,
|
ThemeV2Element,
|
||||||
ThemeV2Group,
|
ThemeV2Group,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import { AlertTriangle, ChevronDown, Plus, Zap } from '@lucide/svelte';
|
import { AlertTriangle, ChevronDown, Plus, Zap } from '@lucide/svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
|
||||||
reportCommunityTheme,
|
|
||||||
type CommunityTheme,
|
|
||||||
type ThemeReportCategory,
|
|
||||||
} from '$lib/communityThemes';
|
|
||||||
import { Button } from '$lib/components/ui/button';
|
import { Button } from '$lib/components/ui/button';
|
||||||
import * as Dialog from '$lib/components/ui/dialog';
|
import * as Dialog from '$lib/components/ui/dialog';
|
||||||
import { Label } from '$lib/components/ui/label';
|
import { Label } from '$lib/components/ui/label';
|
||||||
import * as Select from '$lib/components/ui/select';
|
import * as Select from '$lib/components/ui/select';
|
||||||
import Textarea from '$lib/components/ui/textarea/textarea.svelte';
|
import Textarea from '$lib/components/ui/textarea/textarea.svelte';
|
||||||
|
import {
|
||||||
|
reportCommunityTheme,
|
||||||
|
type CommunityTheme,
|
||||||
|
type ThemeReportCategory,
|
||||||
|
} from '$lib/theme/communityThemes';
|
||||||
import { Flag, LoaderCircle, X } from '@lucide/svelte';
|
import { Flag, LoaderCircle, X } from '@lucide/svelte';
|
||||||
import { sileo } from 'sileo';
|
import { sileo } from 'sileo';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { isThemeClockVariable, THEME_CLOCK_VARIABLE_NAMES } from '$lib/themeClock';
|
import { isThemeClockVariable, THEME_CLOCK_VARIABLE_NAMES } from '$lib/theme/themeClock';
|
||||||
import { parseThemeScript } from '$lib/themeScriptLang';
|
import { parseThemeScript } from '$lib/theme/themeScriptLang';
|
||||||
import type { ThemeV2Element, ThemeV2Group, ThemeV2ScriptScreen } from '$lib/themeV2';
|
import type { ThemeV2Element, ThemeV2Group, ThemeV2ScriptScreen } from '$lib/theme/themeV2';
|
||||||
import { Braces, CircleAlert, Maximize2, Minimize2, X } from '@lucide/svelte';
|
import { Braces, CircleAlert, Maximize2, Minimize2, X } from '@lucide/svelte';
|
||||||
import type * as Monaco from 'monaco-editor';
|
import type * as Monaco from 'monaco-editor';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { themeEditorSectionOpen } from '$lib/themeEditorUiState';
|
import { themeEditorSectionOpen } from '$lib/theme/themeEditorUiState';
|
||||||
import { ChevronDown } from '@lucide/svelte';
|
import { ChevronDown } from '@lucide/svelte';
|
||||||
import { untrack } from 'svelte';
|
import { untrack } from 'svelte';
|
||||||
import type { Component, Snippet } from 'svelte';
|
import type { Component, Snippet } from 'svelte';
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
import ThemeV2Elements from '$lib/components/theme/ThemeV2Elements.svelte';
|
import ThemeV2Elements from '$lib/components/theme/ThemeV2Elements.svelte';
|
||||||
import * as Avatar from '$lib/components/ui/avatar';
|
import * as Avatar from '$lib/components/ui/avatar';
|
||||||
import { currentUserInfo } from '$lib/data';
|
import { currentUserInfo } from '$lib/data';
|
||||||
import { scopeThemeCss } from '$lib/themeCssScope';
|
import { scopeThemeCss } from '$lib/theme/themeCssScope';
|
||||||
import { fontStack, monoFontStack } from '$lib/themeFonts';
|
import { fontStack, monoFontStack } from '$lib/theme/themeFonts';
|
||||||
import { DEFAULT_THEME_ICON_SET } from '$lib/themeIcons';
|
import { DEFAULT_THEME_ICON_SET } from '$lib/theme/themeIcons';
|
||||||
import {
|
import {
|
||||||
normalizeChrome,
|
normalizeChrome,
|
||||||
readableTextColor,
|
readableTextColor,
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
type ThemeV2Group,
|
type ThemeV2Group,
|
||||||
type ThemeV2ScriptValue,
|
type ThemeV2ScriptValue,
|
||||||
type ThemeV2WidgetKind,
|
type ThemeV2WidgetKind,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import { currentUser } from '$lib/userAuthentication';
|
import { currentUser } from '$lib/userAuthentication';
|
||||||
import { countryCodeToEmoji } from '$lib/utils';
|
import { countryCodeToEmoji } from '$lib/utils';
|
||||||
import { Clock, Trophy } from '@lucide/svelte';
|
import { Clock, Trophy } from '@lucide/svelte';
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
import Input from '$lib/components/ui/input/input.svelte';
|
import Input from '$lib/components/ui/input/input.svelte';
|
||||||
import Label from '$lib/components/ui/label/label.svelte';
|
import Label from '$lib/components/ui/label/label.svelte';
|
||||||
import * as Select from '$lib/components/ui/select';
|
import * as Select from '$lib/components/ui/select';
|
||||||
import type { ThemeV2TextDecoration, ThemeV2TextStyle, ThemeV2TextTransform } from '$lib/themeV2';
|
import type {
|
||||||
|
ThemeV2TextDecoration,
|
||||||
|
ThemeV2TextStyle,
|
||||||
|
ThemeV2TextTransform,
|
||||||
|
} from '$lib/theme/themeV2';
|
||||||
import { Bold, Italic, RotateCcw, Strikethrough, Type, Underline } from '@lucide/svelte';
|
import { Bold, Italic, RotateCcw, Strikethrough, Type, Underline } from '@lucide/svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
import Input from '$lib/components/ui/input/input.svelte';
|
import Input from '$lib/components/ui/input/input.svelte';
|
||||||
import Label from '$lib/components/ui/label/label.svelte';
|
import Label from '$lib/components/ui/label/label.svelte';
|
||||||
import Slider from '$lib/components/ui/slider/slider.svelte';
|
import Slider from '$lib/components/ui/slider/slider.svelte';
|
||||||
import type { ThemeV2Transform } from '$lib/themeV2';
|
import type { ThemeV2Transform } from '$lib/theme/themeV2';
|
||||||
import { FlipHorizontal2, FlipVertical2, RotateCcw, RotateCw } from '@lucide/svelte';
|
import { FlipHorizontal2, FlipVertical2, RotateCcw, RotateCw } from '@lucide/svelte';
|
||||||
|
|
||||||
type TransformTarget = ThemeV2Transform & { offsetX?: number; offsetY?: number };
|
type TransformTarget = ThemeV2Transform & { offsetX?: number; offsetY?: number };
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { custom_theme_volume } from '$lib/global';
|
import { custom_theme_volume } from '$lib/global';
|
||||||
import { playThemeMedia, themeMediaSource, themeVideoLifecycle } from '$lib/themeMedia';
|
import { playThemeMedia, themeMediaSource, themeVideoLifecycle } from '$lib/theme/themeMedia';
|
||||||
import { themeParallax } from '$lib/themeParallax';
|
import { themeParallax } from '$lib/theme/themeParallax';
|
||||||
import type { ThemeV2Definition } from '$lib/themeV2';
|
import type { ThemeV2Definition } from '$lib/theme/themeV2';
|
||||||
import { themeAssetUrl } from '$lib/themeV2';
|
import { themeAssetUrl } from '$lib/theme/themeV2';
|
||||||
import { reduceAnimations } from '$lib/userSettings';
|
import { reduceAnimations } from '$lib/userSettings';
|
||||||
import { trackMediaContainer } from '$lib/utils';
|
import { trackMediaContainer } from '$lib/utils';
|
||||||
import { onDestroy } from 'svelte';
|
import { onDestroy } from 'svelte';
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
import DownloadButton from '$lib/components/ui/download-button/DownloadButton.svelte';
|
import DownloadButton from '$lib/components/ui/download-button/DownloadButton.svelte';
|
||||||
import { currentUserInfo } from '$lib/data';
|
import { currentUserInfo } from '$lib/data';
|
||||||
import { launching as launchingStore } from '$lib/global';
|
import { launching as launchingStore } from '$lib/global';
|
||||||
import { getThemeDataSampleValue, resolveThemeDataValue, themeGlobalData } from '$lib/themeData';
|
import { getThemeDataSampleValue, resolveThemeDataValue, themeGlobalData } from '$lib/theme/themeData';
|
||||||
import { fontStack } from '$lib/themeFonts';
|
import { fontStack } from '$lib/theme/themeFonts';
|
||||||
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/themeIcons';
|
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/theme/themeIcons';
|
||||||
import {
|
import {
|
||||||
themeArcGeometry,
|
themeArcGeometry,
|
||||||
themeClockDate,
|
themeClockDate,
|
||||||
@@ -16,9 +16,9 @@
|
|||||||
themeCountdownText,
|
themeCountdownText,
|
||||||
themeParticleSeeds,
|
themeParticleSeeds,
|
||||||
themeSvgGradientVector,
|
themeSvgGradientVector,
|
||||||
} from '$lib/themeLayers';
|
} from '$lib/theme/themeLayers';
|
||||||
import { themeMediaSource, themeVideoLifecycle } from '$lib/themeMedia';
|
import { themeMediaSource, themeVideoLifecycle } from '$lib/theme/themeMedia';
|
||||||
import { interpolateThemeText } from '$lib/themeTextVariables';
|
import { interpolateThemeText } from '$lib/theme/themeTextVariables';
|
||||||
import {
|
import {
|
||||||
themeAssetUrl,
|
themeAssetUrl,
|
||||||
themeClassNames,
|
themeClassNames,
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
type ThemeV2Group,
|
type ThemeV2Group,
|
||||||
type ThemeV2Point,
|
type ThemeV2Point,
|
||||||
type ThemeV2ScriptValue,
|
type ThemeV2ScriptValue,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import { currentUser } from '$lib/userAuthentication';
|
import { currentUser } from '$lib/userAuthentication';
|
||||||
import { countryCodeToEmoji, formatRelativeTime, openURL } from '$lib/utils';
|
import { countryCodeToEmoji, formatRelativeTime, openURL } from '$lib/utils';
|
||||||
import { Boxes, ChevronRight, Clock, Move, RotateCw, Trophy } from '@lucide/svelte';
|
import { Boxes, ChevronRight, Clock, Move, RotateCw, Trophy } from '@lucide/svelte';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import ThemeSection from '$lib/components/theme/ThemeSection.svelte';
|
import ThemeSection from '$lib/components/theme/ThemeSection.svelte';
|
||||||
import Button from '$lib/components/ui/button/button.svelte';
|
import Button from '$lib/components/ui/button/button.svelte';
|
||||||
import Input from '$lib/components/ui/input/input.svelte';
|
import Input from '$lib/components/ui/input/input.svelte';
|
||||||
import type { ThemeV2ScriptValue } from '$lib/themeV2';
|
import type { ThemeV2ScriptValue } from '$lib/theme/themeV2';
|
||||||
import { Braces, RotateCcw } from '@lucide/svelte';
|
import { Braces, RotateCcw } from '@lucide/svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import ThemeIcon from '$lib/components/theme/ThemeIcon.svelte';
|
import ThemeIcon from '$lib/components/theme/ThemeIcon.svelte';
|
||||||
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/themeIcons';
|
import { DEFAULT_THEME_ICON_SET, type ThemeIconSet } from '$lib/theme/themeIcons';
|
||||||
|
|
||||||
const prop: {
|
const prop: {
|
||||||
downloading: boolean;
|
downloading: boolean;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
custom_theme_volume,
|
custom_theme_volume,
|
||||||
platform,
|
platform,
|
||||||
} from '$lib/global';
|
} from '$lib/global';
|
||||||
import { DEFAULT_THEME_ICON_SET } from '$lib/themeIcons';
|
import { DEFAULT_THEME_ICON_SET } from '$lib/theme/themeIcons';
|
||||||
import { reduceAnimations } from '$lib/userSettings';
|
import { reduceAnimations } from '$lib/userSettings';
|
||||||
import Minimize from '@lucide/svelte/icons/minus';
|
import Minimize from '@lucide/svelte/icons/minus';
|
||||||
import Close from '@lucide/svelte/icons/x';
|
import Close from '@lucide/svelte/icons/x';
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import { browser } from '$app/environment';
|
import { browser } from '$app/environment';
|
||||||
import { ezppfarm } from './api/ezpp';
|
import { ezppfarm } from './api/ezpp';
|
||||||
import type { Theme } from './themes';
|
import type { Theme } from './theme/themes';
|
||||||
import type { Release } from './types';
|
import type { Release } from './types';
|
||||||
import { setGlobalVolume } from './utils';
|
import { setGlobalVolume } from './utils';
|
||||||
import type { Component } from 'svelte';
|
import type { Component } from 'svelte';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { getAuthHeaders, getThemesServiceUrl } from './communityThemes';
|
import { getAuthHeaders, getThemesServiceUrl } from './theme/communityThemes';
|
||||||
|
|
||||||
export type NotificationType =
|
export type NotificationType =
|
||||||
| 'theme_hidden'
|
| 'theme_hidden'
|
||||||
|
|||||||
File renamed without changes.
@@ -1,4 +1,4 @@
|
|||||||
import { config } from './config';
|
import { config } from '../config';
|
||||||
import { normalizeThemeVersion } from './themeV2';
|
import { normalizeThemeVersion } from './themeV2';
|
||||||
import {
|
import {
|
||||||
markThemeSynced,
|
markThemeSynced,
|
||||||
File renamed without changes.
File renamed without changes.
@@ -1,8 +1,8 @@
|
|||||||
import { currentUserInfo } from './data';
|
import { currentUserInfo } from '../data';
|
||||||
import { launcherVersion, onlineFriends, osuBuild, osuStream, serverPing } from './global';
|
import { launcherVersion, onlineFriends, osuBuild, osuStream, serverPing } from '../global';
|
||||||
|
import { currentUser } from '../userAuthentication';
|
||||||
import { themeClockValues } from './themeClock';
|
import { themeClockValues } from './themeClock';
|
||||||
import type { ThemeV2DataField, ThemeV2DataMode } from './themeV2';
|
import type { ThemeV2DataField, ThemeV2DataMode } from './themeV2';
|
||||||
import { currentUser } from './userAuthentication';
|
|
||||||
import { derived } from 'svelte/store';
|
import { derived } from 'svelte/store';
|
||||||
|
|
||||||
export type ThemeDataStats = {
|
export type ThemeDataStats = {
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -13,7 +13,7 @@
|
|||||||
* theme videos and videos picked in the editor (served as /preview/ URLs) are
|
* theme videos and videos picked in the editor (served as /preview/ URLs) are
|
||||||
* transcoded to a cached H.264 copy by the Rust backend before playback.
|
* transcoded to a cached H.264 copy by the Rust backend before playback.
|
||||||
*/
|
*/
|
||||||
import { custom_theme_volume } from './global';
|
import { custom_theme_volume } from '../global';
|
||||||
import { invoke } from '@tauri-apps/api/core';
|
import { invoke } from '@tauri-apps/api/core';
|
||||||
import { listen } from '@tauri-apps/api/event';
|
import { listen } from '@tauri-apps/api/event';
|
||||||
import { get, writable } from 'svelte/store';
|
import { get, writable } from 'svelte/store';
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
|
|||||||
import type { Theme } from '$lib/themes';
|
import type { Theme } from '$lib/theme/themes';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* API 1.0 themes are executable bundles: loading one imports its entry script
|
* API 1.0 themes are executable bundles: loading one imports its entry script
|
||||||
File renamed without changes.
@@ -1,7 +1,7 @@
|
|||||||
import { active_custom_theme, custom_theme_audio_playing, custom_themes } from './global';
|
import { active_custom_theme, custom_theme_audio_playing, custom_themes } from '../global';
|
||||||
|
import { disableMediaControls, setGlobalVolume } from '../utils';
|
||||||
import { clearThemeMediaCache, playThemeMedia } from './themeMedia';
|
import { clearThemeMediaCache, playThemeMedia } from './themeMedia';
|
||||||
import { isThemeV2, normalizeThemeV2, type ThemeV2Asset, type ThemeV2Definition } from './themeV2';
|
import { isThemeV2, normalizeThemeV2, type ThemeV2Asset, type ThemeV2Definition } from './themeV2';
|
||||||
import { disableMediaControls, setGlobalVolume } from './utils';
|
|
||||||
import { betterFetch } from '@better-fetch/fetch';
|
import { betterFetch } from '@better-fetch/fetch';
|
||||||
import { convertFileSrc, invoke } from '@tauri-apps/api/core';
|
import { convertFileSrc, invoke } from '@tauri-apps/api/core';
|
||||||
import { listen } from '@tauri-apps/api/event';
|
import { listen } from '@tauri-apps/api/event';
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
import { custom_theme_audio_playing } from './global';
|
import { custom_theme_audio_playing } from './global';
|
||||||
import { playThemeMedia } from './themeMedia';
|
import { playThemeMedia } from './theme/themeMedia';
|
||||||
import { invoke } from '@tauri-apps/api/core';
|
import { invoke } from '@tauri-apps/api/core';
|
||||||
import { type ClassValue, clsx } from 'clsx';
|
import { type ClassValue, clsx } from 'clsx';
|
||||||
import * as crypto from 'crypto-js';
|
import * as crypto from 'crypto-js';
|
||||||
|
|||||||
@@ -42,11 +42,10 @@
|
|||||||
themeMediaStatus,
|
themeMediaStatus,
|
||||||
themeMediaSuspended,
|
themeMediaSuspended,
|
||||||
themeMediaSuspension,
|
themeMediaSuspension,
|
||||||
} from '$lib/themeMedia';
|
} from '$lib/theme/themeMedia';
|
||||||
import { themeParallax } from '$lib/themeParallax';
|
import { themeParallax } from '$lib/theme/themeParallax';
|
||||||
import { isThemeTrusted } from '$lib/themeTrust';
|
import { isThemeTrusted } from '$lib/theme/themeTrust';
|
||||||
import { themeV2Css } from '$lib/themeV2';
|
import { getThemes, loadTheme } from '$lib/theme/themes';
|
||||||
import { getThemes, loadTheme } from '$lib/themes';
|
|
||||||
import { currentUser } from '$lib/userAuthentication';
|
import { currentUser } from '$lib/userAuthentication';
|
||||||
import {
|
import {
|
||||||
cursorSmoothening,
|
cursorSmoothening,
|
||||||
|
|||||||
+12
-12
@@ -2,12 +2,6 @@
|
|||||||
import DefaultThemePreview from '$assets/default_preview.png';
|
import DefaultThemePreview from '$assets/default_preview.png';
|
||||||
import Logo from '$assets/logo.png';
|
import Logo from '$assets/logo.png';
|
||||||
import { ezppfarm } from '$lib/api/ezpp';
|
import { ezppfarm } from '$lib/api/ezpp';
|
||||||
import {
|
|
||||||
downloadAndInstallCommunityTheme,
|
|
||||||
fetchCommunityThemeDetails,
|
|
||||||
fetchCommunityThemes,
|
|
||||||
type CommunityTheme,
|
|
||||||
} from '$lib/communityThemes';
|
|
||||||
import NotificationHub from '$lib/components/notifications/NotificationHub.svelte';
|
import NotificationHub from '$lib/components/notifications/NotificationHub.svelte';
|
||||||
import ThemeIcon from '$lib/components/theme/ThemeIcon.svelte';
|
import ThemeIcon from '$lib/components/theme/ThemeIcon.svelte';
|
||||||
import ThemeReportDialog from '$lib/components/theme/ThemeReportDialog.svelte';
|
import ThemeReportDialog from '$lib/components/theme/ThemeReportDialog.svelte';
|
||||||
@@ -97,8 +91,14 @@
|
|||||||
stopOpenTabletDriver,
|
stopOpenTabletDriver,
|
||||||
} from '$lib/osuUtil';
|
} from '$lib/osuUtil';
|
||||||
import * as presence from '$lib/presence';
|
import * as presence from '$lib/presence';
|
||||||
import { DEFAULT_THEME_ICON_SET } from '$lib/themeIcons';
|
import {
|
||||||
import { themeMediaSuspended } from '$lib/themeMedia';
|
downloadAndInstallCommunityTheme,
|
||||||
|
fetchCommunityThemeDetails,
|
||||||
|
fetchCommunityThemes,
|
||||||
|
type CommunityTheme,
|
||||||
|
} from '$lib/theme/communityThemes';
|
||||||
|
import { DEFAULT_THEME_ICON_SET } from '$lib/theme/themeIcons';
|
||||||
|
import { themeMediaSuspended } from '$lib/theme/themeMedia';
|
||||||
import {
|
import {
|
||||||
loadThemeScript,
|
loadThemeScript,
|
||||||
setThemeScriptHandlers,
|
setThemeScriptHandlers,
|
||||||
@@ -106,8 +106,8 @@
|
|||||||
stopThemeScript,
|
stopThemeScript,
|
||||||
themeScriptState,
|
themeScriptState,
|
||||||
triggerThemeScriptElement,
|
triggerThemeScriptElement,
|
||||||
} from '$lib/themeScript';
|
} from '$lib/theme/themeScript';
|
||||||
import { isThemeTrusted, themeCodeKind, trustTheme } from '$lib/themeTrust';
|
import { isThemeTrusted, themeCodeKind, trustTheme } from '$lib/theme/themeTrust';
|
||||||
import {
|
import {
|
||||||
normalizeChrome,
|
normalizeChrome,
|
||||||
normalizeThemeVersion,
|
normalizeThemeVersion,
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
type ThemeV2Chrome,
|
type ThemeV2Chrome,
|
||||||
type ThemeV2Definition,
|
type ThemeV2Definition,
|
||||||
type ThemeV2ScriptScreen,
|
type ThemeV2ScriptScreen,
|
||||||
} from '$lib/themeV2';
|
} from '$lib/theme/themeV2';
|
||||||
import {
|
import {
|
||||||
checkThemeFromFile,
|
checkThemeFromFile,
|
||||||
deleteTheme,
|
deleteTheme,
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
type Theme,
|
type Theme,
|
||||||
type ThemeBackup,
|
type ThemeBackup,
|
||||||
type ThemeInfo,
|
type ThemeInfo,
|
||||||
} from '$lib/themes';
|
} from '$lib/theme/themes';
|
||||||
import { EZPPActionStatus, type LaunchView } from '$lib/types';
|
import { EZPPActionStatus, type LaunchView } from '$lib/types';
|
||||||
import { currentUser } from '$lib/userAuthentication';
|
import { currentUser } from '$lib/userAuthentication';
|
||||||
import {
|
import {
|
||||||
|
|||||||
Reference in new issue
Block a user