solorice/vscodium/extensions/bceskavich.theme-dracula-at-night-2.6.0/src/settings/tokens/languages/toml.ts
2022-04-28 21:17:01 +03:00

32 lines
649 B
TypeScript

import { Colors } from '../../Theme';
import TokenSettings from '../TokenSettings';
export default (colors: Colors): TokenSettings[] => [
punctuation(colors),
keys(colors)
];
function punctuation({ base }: Colors): TokenSettings {
return {
name: 'TOML separators',
scope: ['meta.group.double.toml', 'meta.group.toml'],
settings: {
foreground: base.pink
}
};
}
function keys({ base }: Colors): TokenSettings {
return {
name: 'TOML keys',
scope: [
'entity.name.section.toml',
'entity.name.tag.yaml',
'variable.other.key.toml'
],
settings: {
foreground: base.cyan
}
};
}