Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoLuglio committed Sep 26, 2024
1 parent bcaefa9 commit 96db521
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib/utils/export.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import type { UIColors, SyntaxColors, AnsiColors } from '@/lib/types/colors'
import type { ColorAliases } from './themeColors'
import type { SyntaxColors } from './syntaxColors'
import type { AnsiColors } from './ansiColors'

import Color from 'color'

export function generateSemanticThemeJSON(
colors: UIColors,
colors: ColorAliases,
syntaxColors: SyntaxColors,
ansiColors: AnsiColors
): string {
Expand Down Expand Up @@ -1830,7 +1832,7 @@ export function generateSemanticThemeJSON(
'type.defaultLibrary': syntaxColors.type, //type
typeParameter: syntaxColors.typeParameter, //typeParameter
interface: syntaxColors.type, //type
class: colors.class, //class
class: syntaxColors.class, //class
'class.declaration': syntaxColors.class, //class
enum: syntaxColors.class, //class,
enumMember: colors.FG2, //FG2
Expand Down

0 comments on commit 96db521

Please sign in to comment.