@code-hike/lighter
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -173,4 +173,57 @@ type RawTheme = { | ||
}>; | ||
declare function getThemeColorsSync(themeOrThemeName: Theme): { | ||
colorScheme: string; | ||
foreground: string; | ||
background: string; | ||
lighter: { | ||
inlineBackground: string; | ||
}; | ||
editor: { | ||
background: string; | ||
foreground: string; | ||
lineHighlightBackground: string; | ||
rangeHighlightBackground: string; | ||
infoForeground: string; | ||
selectionBackground: string; | ||
}; | ||
focusBorder: string; | ||
tab: { | ||
activeBackground: string; | ||
activeForeground: string; | ||
inactiveBackground: string; | ||
inactiveForeground: string; | ||
border: string; | ||
activeBorder: string; | ||
}; | ||
editorGroup: { | ||
border: string; | ||
}; | ||
editorGroupHeader: { | ||
tabsBackground: string; | ||
}; | ||
editorLineNumber: { | ||
foreground: string; | ||
}; | ||
input: { | ||
background: string; | ||
foreground: string; | ||
border: string; | ||
}; | ||
icon: { | ||
foreground: string; | ||
}; | ||
sideBar: { | ||
background: string; | ||
foreground: string; | ||
border: string; | ||
}; | ||
list: { | ||
activeSelectionBackground: string; | ||
activeSelectionForeground: string; | ||
hoverBackground: string; | ||
hoverForeground: string; | ||
}; | ||
}; | ||
type LighterColors = ReturnType<typeof getThemeColors>; | ||
export { AnnotatedLighterResult, Annotation, LANG_NAMES, LanguageAlias, LighterColors, LighterResult, Line, LineGroup, Lines, RawTheme, StringTheme, THEME_NAMES, Theme, Token, TokenGroup, Tokens, UnknownLanguageError, UnknownThemeError, extractAnnotations, getThemeColors, highlight, highlightSync, preload }; | ||
export { AnnotatedLighterResult, Annotation, LANG_NAMES, LanguageAlias, LighterColors, LighterResult, Line, LineGroup, Lines, RawTheme, StringTheme, THEME_NAMES, Theme, Token, TokenGroup, Tokens, UnknownLanguageError, UnknownThemeError, extractAnnotations, getThemeColors, getThemeColorsSync, highlight, highlightSync, preload }; |
{ | ||
"name": "@code-hike/lighter", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10377491
263641