Skip to content

Commit

Permalink
fix: custom theme detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev committed Dec 18, 2024
1 parent c4eb55c commit a5fc7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/base/src/theming/getThemeDesignerTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const processThemeMetadata = (metadata: ThemeMetadata): ThemeDescriptor | undefi
let baseThemeName;

try {
themeName = metadata.Path.match(/\.([^.]+)\.css_variables$/)![1];
themeName = metadata.Path.split(".")![2];
baseThemeName = metadata.Extends[0];
} catch (ex) {
if (!warnings.has("object")) {
Expand Down

0 comments on commit a5fc7c3

Please sign in to comment.