@wooorm/starry-night
Version:
Syntax highlighting, like GitHub
39 lines • 928 B
TypeScript
/**
* List of classes.
* Their index is important.
*/
export const classes: string[];
/**
* There is a single grandchild selector:
*
* ```css
* .pl-s .pl-pse .pl-s1 // string punctuation.section.embedded source
* ```
*
* …which is needed to “revert” the color of code when embedded in strings.
*
* We currently encode grandparents in `fontStyle`, which is a tiny space.
* But that’s fine for 1 value.
* On the receiving end (`parse`), any `fontStyle` is treated as
* `grandparents[0]`.
*/
export const grandparents: string[];
/**
* The color we ignore.
*/
export const transparent: "#FFFFFF";
export namespace theme {
let name: string;
let settings: ({
scope: string[];
settings: {
[]: string;
};
} | {
settings: {
background: string;
foreground: string;
};
})[];
}
//# sourceMappingURL=theme.d.ts.map