Skip to content

Commit

Permalink
grrr
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpchen committed Oct 4, 2024
1 parent 17b049e commit 71d1175
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 56 deletions.
56 changes: 0 additions & 56 deletions biome.json

This file was deleted.

5 changes: 5 additions & 0 deletions docs/services/ThemeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ class ThemeService implements IThemeService {
highlighter;
async register(theme: TextmateTheme): Promise<void> {
if (this.isThemeRegistered(theme.name as ThemeName)) return;
if (theme.name.includes('Eva')) {
theme.tokenColors.filter(x =>
x.scope.includes('punctuation.definition.comment'),
)[0].settings.fontStyle = 'italic';
}
this.innerThemeService.loadTheme(theme);
}
async getTheme(name: ThemeName): Promise<shiki.ThemeRegistration> {
Expand Down

0 comments on commit 71d1175

Please sign in to comment.