atmos_vsc_theme library

Parse VS Code / Cursor color themes (JSONC, include merge, hex colors).

ENG

Pure Dart — no Flutter dependency and no dart:io. Use VscThemeLoader to parse themes, then typed theme.colors.editor.background or raw theme['…']. Filesystem loading is package:atmos_vsc_theme/atmos_vsc_theme_io.dart. JSONC parsing is provided by package atmos_jsonc.

RU

Чистый Dart без Flutter и без dart:io. Разбор через VscThemeLoader, далее theme.colors.editor.background или сырой ключ через []. Файлы — package:atmos_vsc_theme/atmos_vsc_theme_io.dart. JSONC — пакет atmos_jsonc.

Classes

VscBundledTheme
One bundled theme JSON under lib/themes/.
VscBundledThemes
Paths to color themes shipped under lib/themes/.
VscColor
CSS-style hex color as used in VS Code / Cursor themes (#RGB … #RRGGBBAA).
VscColorTheme
Resolved VS Code / Cursor color theme after include merge.
VscSemanticTokenStyle
Style for one semantic token selector (semanticTokenColors entry).
VscThemeLoader
Parses and merges VS Code / Cursor color themes (JSONC + include).
VscTokenColor
One TextMate token coloring rule from a color theme.
VscWorkbenchActionBarColors
Workbench colors under actionBar.….
VscWorkbenchActivityBarBadgeColors
Workbench colors under activityBarBadge.….
VscWorkbenchActivityBarColors
Workbench colors under activityBar.….
VscWorkbenchActivityBarTopColors
Workbench colors under activityBarTop.….
VscWorkbenchActivityErrorBadgeColors
Workbench colors under activityErrorBadge.….
VscWorkbenchActivityWarningBadgeColors
Workbench colors under activityWarningBadge.….
VscWorkbenchAgentsBadgeColors
Workbench colors under agentsBadge.….
VscWorkbenchAgentsChatInputColors
Workbench colors under agentsChatInput.….
VscWorkbenchAgentsColors
Workbench colors under agents.….
VscWorkbenchAgentsGradientColors
Workbench colors under agentsGradient.….
VscWorkbenchAgentsNewSessionButtonColors
Workbench colors under agentsNewSessionButton.….
VscWorkbenchAgentsPanelColors
Workbench colors under agentsPanel.….
VscWorkbenchAgentStatusIndicatorColors
Workbench colors under agentStatusIndicator.….
VscWorkbenchAgentsUnreadBadgeColors
Workbench colors under agentsUnreadBadge.….
VscWorkbenchBadgeColors
Workbench colors under badge.….
VscWorkbenchBreadcrumbColors
Workbench colors under breadcrumb.….
VscWorkbenchBreadcrumbPickerColors
Workbench colors under breadcrumbPicker.….
VscWorkbenchButtonColors
Workbench colors under button.….
VscWorkbenchChartColors
Workbench colors under chart.….
VscWorkbenchChartsColors
Workbench colors under charts.….
VscWorkbenchChatColors
Workbench colors under chat.….
VscWorkbenchCheckboxColors
Workbench colors under checkbox.….
VscWorkbenchColors
Typed accessors for VS Code / Cursor workbench colors.
VscWorkbenchCommandCenterColors
Workbench colors under commandCenter.….
VscWorkbenchDebugExceptionWidgetColors
Workbench colors under debugExceptionWidget.….
VscWorkbenchDebugToolBarColors
Workbench colors under debugToolBar.….
VscWorkbenchDiffEditorColors
Workbench colors under diffEditor.….
VscWorkbenchDropdownColors
Workbench colors under dropdown.….
VscWorkbenchEditorBracketHighlightColors
Workbench colors under editorBracketHighlight.….
VscWorkbenchEditorBracketHighlightUnexpectedBracketColors
Workbench colors under editorBracketHighlight.unexpectedBracket.….
VscWorkbenchEditorBracketMatchColors
Workbench colors under editorBracketMatch.….
VscWorkbenchEditorCodeLensColors
Workbench colors under editorCodeLens.….
VscWorkbenchEditorColors
Workbench colors under editor.….
VscWorkbenchEditorCommentsWidgetColors
Workbench colors under editorCommentsWidget.….
VscWorkbenchEditorCursorColors
Workbench colors under editorCursor.….
VscWorkbenchEditorErrorColors
Workbench colors under editorError.….
VscWorkbenchEditorGroupColors
Workbench colors under editorGroup.….
VscWorkbenchEditorGroupHeaderColors
Workbench colors under editorGroupHeader.….
VscWorkbenchEditorGutterColors
Workbench colors under editorGutter.….
VscWorkbenchEditorHoverWidgetColors
Workbench colors under editorHoverWidget.….
VscWorkbenchEditorIndentGuideColors
Workbench colors under editorIndentGuide.….
VscWorkbenchEditorInlayHintColors
Workbench colors under editorInlayHint.….
VscWorkbenchEditorLineNumberColors
Workbench colors under editorLineNumber.….
VscWorkbenchEditorLinkColors
Workbench colors under editorLink.….
VscWorkbenchEditorMarkerNavigationColors
Workbench colors under editorMarkerNavigation.….
VscWorkbenchEditorMarkerNavigationErrorColors
Workbench colors under editorMarkerNavigationError.….
VscWorkbenchEditorMarkerNavigationWarningColors
Workbench colors under editorMarkerNavigationWarning.….
VscWorkbenchEditorOverviewRulerColors
Workbench colors under editorOverviewRuler.….
VscWorkbenchEditorRulerColors
Workbench colors under editorRuler.….
VscWorkbenchEditorStickyScrollColors
Workbench colors under editorStickyScroll.….
VscWorkbenchEditorStickyScrollHoverColors
Workbench colors under editorStickyScrollHover.….
VscWorkbenchEditorSuggestWidgetColors
Workbench colors under editorSuggestWidget.….
VscWorkbenchEditorUnnecessaryCodeColors
Workbench colors under editorUnnecessaryCode.….
VscWorkbenchEditorWarningColors
Workbench colors under editorWarning.….
VscWorkbenchEditorWhitespaceColors
Workbench colors under editorWhitespace.….
VscWorkbenchEditorWidgetColors
Workbench colors under editorWidget.….
VscWorkbenchExtensionButtonColors
Workbench colors under extensionButton.….
VscWorkbenchGitBlameColors
Workbench colors under git.blame.….
VscWorkbenchGitColors
Workbench colors under git.….
VscWorkbenchGitDecorationColors
Workbench colors under gitDecoration.….
VscWorkbenchGitlensColors
Workbench colors under gitlens.….
VscWorkbenchIconColors
Workbench colors under icon.….
VscWorkbenchInlineChatColors
Workbench colors under inlineChat.….
VscWorkbenchInputColors
Workbench colors under input.….
VscWorkbenchInputOptionColors
Workbench colors under inputOption.….
VscWorkbenchInputValidationColors
Workbench colors under inputValidation.….
VscWorkbenchKeybindingLabelColors
Workbench colors under keybindingLabel.….
VscWorkbenchListColors
Workbench colors under list.….
VscWorkbenchListFilterWidgetColors
Workbench colors under listFilterWidget.….
VscWorkbenchMenubarColors
Workbench colors under menubar.….
VscWorkbenchMenuColors
Workbench colors under menu.….
VscWorkbenchMergeColors
Workbench colors under merge.….
VscWorkbenchMinimapColors
Workbench colors under minimap.….
VscWorkbenchMinimapGutterColors
Workbench colors under minimapGutter.….
VscWorkbenchMinimapSliderColors
Workbench colors under minimapSlider.….
VscWorkbenchNotebookColors
Workbench colors under notebook.….
VscWorkbenchNotificationCenterColors
Workbench colors under notificationCenter.….
VscWorkbenchNotificationCenterHeaderColors
Workbench colors under notificationCenterHeader.….
VscWorkbenchNotificationLinkColors
Workbench colors under notificationLink.….
VscWorkbenchNotificationsColors
Workbench colors under notifications.….
VscWorkbenchNotificationsErrorIconColors
Workbench colors under notificationsErrorIcon.….
VscWorkbenchNotificationsInfoIconColors
Workbench colors under notificationsInfoIcon.….
VscWorkbenchNotificationsWarningIconColors
Workbench colors under notificationsWarningIcon.….
VscWorkbenchNotificationToastColors
Workbench colors under notificationToast.….
VscWorkbenchPanelColors
Workbench colors under panel.….
VscWorkbenchPanelInputColors
Workbench colors under panelInput.….
VscWorkbenchPanelSectionColors
Workbench colors under panelSection.….
VscWorkbenchPanelSectionHeaderColors
Workbench colors under panelSectionHeader.….
VscWorkbenchPanelStickyScrollColors
Workbench colors under panelStickyScroll.….
VscWorkbenchPanelTitleColors
Workbench colors under panelTitle.….
VscWorkbenchPeekViewColors
Workbench colors under peekView.….
VscWorkbenchPeekViewEditorColors
Workbench colors under peekViewEditor.….
VscWorkbenchPeekViewEditorGutterColors
Workbench colors under peekViewEditorGutter.….
VscWorkbenchPeekViewResultColors
Workbench colors under peekViewResult.….
VscWorkbenchPeekViewTitleColors
Workbench colors under peekViewTitle.….
VscWorkbenchPeekViewTitleDescriptionColors
Workbench colors under peekViewTitleDescription.….
VscWorkbenchPeekViewTitleLabelColors
Workbench colors under peekViewTitleLabel.….
VscWorkbenchPickerGroupColors
Workbench colors under pickerGroup.….
VscWorkbenchPortsColors
Workbench colors under ports.….
VscWorkbenchProblemsWarningIconColors
Workbench colors under problemsWarningIcon.….
VscWorkbenchProgressBarColors
Workbench colors under progressBar.….
VscWorkbenchQuickInputColors
Workbench colors under quickInput.….
VscWorkbenchQuickInputListColors
Workbench colors under quickInputList.….
VscWorkbenchQuickInputTitleColors
Workbench colors under quickInputTitle.….
VscWorkbenchSashColors
Workbench colors under sash.….
VscWorkbenchScrollbarColors
Workbench colors under scrollbar.….
VscWorkbenchScrollbarSliderColors
Workbench colors under scrollbarSlider.….
VscWorkbenchSearchEditorColors
Workbench colors under searchEditor.….
VscWorkbenchSelectionColors
Workbench colors under selection.….
VscWorkbenchSettingsColors
Workbench colors under settings.….
VscWorkbenchSideBarColors
Workbench colors under sideBar.….
VscWorkbenchSideBarSectionHeaderColors
Workbench colors under sideBarSectionHeader.….
VscWorkbenchSideBarStickyScrollColors
Workbench colors under sideBarStickyScroll.….
VscWorkbenchSideBarTitleColors
Workbench colors under sideBarTitle.….
VscWorkbenchStatusBarColors
Workbench colors under statusBar.….
VscWorkbenchStatusBarItemColors
Workbench colors under statusBarItem.….
VscWorkbenchSurfaceColors
Workbench colors under surface.….
VscWorkbenchTabColors
Workbench colors under tab.….
VscWorkbenchTerminalColors
Workbench colors under terminal.….
VscWorkbenchTerminalCursorColors
Workbench colors under terminalCursor.….
VscWorkbenchTerminalStickyScrollColors
Workbench colors under terminalStickyScroll.….
VscWorkbenchTerminalTabColors
Workbench colors under terminal.tab.….
VscWorkbenchTextBlockQuoteColors
Workbench colors under textBlockQuote.….
VscWorkbenchTextCodeBlockColors
Workbench colors under textCodeBlock.….
VscWorkbenchTextLinkColors
Workbench colors under textLink.….
VscWorkbenchTextPreformatColors
Workbench colors under textPreformat.….
VscWorkbenchTextSeparatorColors
Workbench colors under textSeparator.….
VscWorkbenchTitleBarColors
Workbench colors under titleBar.….
VscWorkbenchToolbarColors
Workbench colors under toolbar.….
VscWorkbenchTreeColors
Workbench colors under tree.….
VscWorkbenchWalkThroughColors
Workbench colors under walkThrough.….
VscWorkbenchWelcomePageColors
Workbench colors under welcomePage.….
VscWorkbenchWelcomePageProgressColors
Workbench colors under welcomePage.progress.….
VscWorkbenchWidgetColors
Workbench colors under widget.….

Enums

VscThemeType
Theme base kind (dark / light / high-contrast variants).

Functions

jsoncDecode(String source, {JsoncReviver? reviver}) → Object?
Decodes a JSONC String in one pass into a Dart value.
stripJsonc(String source) → String
Strips JSONC comments and trailing commas, leaving plain JSON text.

Typedefs

VscThemeIncludeResolver = String Function(String relativePath)
Resolves a relative include path to theme JSONC source text.
VscThemeIncludeResolverAsync = Future<String> Function(String relativePath)
Async variant of VscThemeIncludeResolver.
VscThemeUriReader = String Function(Uri fileUri)
Reads theme source for an absolute fileUri (after resolving include).
VscThemeUriReaderAsync = Future<String> Function(Uri fileUri)
Async VscThemeUriReader.