diff --git a/biome.json b/biome.json deleted file mode 100644 index 004396a7..00000000 --- a/biome.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", - "formatter": { - "enabled": true, - "formatWithErrors": false, - "indentStyle": "space", - "indentWidth": 2, - "lineEnding": "lf", - "lineWidth": 80, - "attributePosition": "auto" - }, - "organizeImports": { - "enabled": true - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true - } - }, - "javascript": { - "formatter": { - "jsxQuoteStyle": "double", - "quoteProperties": "asNeeded", - "trailingCommas": "all", - "semicolons": "asNeeded", - "arrowParentheses": "always", - "bracketSpacing": true, - "bracketSameLine": false, - "quoteStyle": "single", - "attributePosition": "auto" - } - }, - "overrides": [ - { - "include": [ - "*.vue", - "*.ts", - "*.mts", - "*.js", - "*.mjs" - ], - "javascript": { - "formatter": { - "semicolons": "always", - "arrowParentheses": "asNeeded", - "quoteStyle": "single" - } - }, - "formatter": { - "indentWidth": 2, - "lineWidth": 100 - } - } - ] -} diff --git a/docs/services/ThemeService.ts b/docs/services/ThemeService.ts index b0a48b49..3701d458 100644 --- a/docs/services/ThemeService.ts +++ b/docs/services/ThemeService.ts @@ -29,6 +29,11 @@ class ThemeService implements IThemeService { highlighter; async register(theme: TextmateTheme): Promise { 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 {