Skip to content

Commit

Permalink
fix: theme parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler committed Oct 19, 2024
1 parent 5f33f1c commit ebd1544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Theme/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public function parse(array $theme): ParsedTheme
$scopes = Arr::wrap($tokenColor['scope']);

return new TokenColor($scopes, new TokenSettings(
$tokenColors['settings']['background'] ?? null,
$tokenColors['settings']['foreground'] ?? null,
$tokenColors['settings']['fontStyle'] ?? null,
$tokenColor['settings']['background'] ?? null,
$tokenColor['settings']['foreground'] ?? null,
$tokenColor['settings']['fontStyle'] ?? null,
));
});

Expand Down

0 comments on commit ebd1544

Please sign in to comment.