UNPKG

alacritty-theme-switch

Version:
26 lines 761 B
import type { FilePath } from "../types.js"; type ThemeContent = Record<string, unknown> & { colors?: { primary?: { background?: string; }; }; }; /** * Theme represents a color theme for Alacritty. */ export declare class Theme { /** Path to the theme file */ path: FilePath; /** Whether the theme is currently active */ isCurrentlyActive: boolean | null; /** Parsed theme content */ themeContent: ThemeContent; constructor(path: FilePath, themeContent?: Record<string, unknown>, isCurrentlyActive?: boolean | null); /** Human-readable theme name */ get label(): string; /** Theme brightness */ get brightness(): "light" | "dark"; } export {}; //# sourceMappingURL=theme.d.ts.map