mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-26 11:56:25 -08:00
remove legacyids parsing
This commit is contained in:
1 file changed
-8
@@ -9,7 +9,6 @@ export type SableThemeMetadata = {
|
||||
kind: ThemeKind;
|
||||
contrast: SableThemeContrast;
|
||||
tags: string[];
|
||||
legacyIds: string[];
|
||||
fullThemeUrl?: string;
|
||||
};
|
||||
|
||||
@@ -66,13 +65,6 @@ export function parseSableThemeMetadata(cssText: string): Partial<SableThemeMeta
|
||||
.map((t) => t.trim())
|
||||
.filter(Boolean);
|
||||
break;
|
||||
case 'legacyids':
|
||||
case 'legacy_ids':
|
||||
out.legacyIds = value
|
||||
.split(',')
|
||||
.map((t) => t.trim())
|
||||
.filter(Boolean);
|
||||
break;
|
||||
case 'fullthemeurl':
|
||||
case 'full_theme_url':
|
||||
out.fullThemeUrl = value;
|
||||
|
||||
Reference in new issue
Block a user