mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-03-18 08:09:40 +00:00
28 lines
577 B
TypeScript
28 lines
577 B
TypeScript
import { Colors } from '../../Theme';
|
|
import TokenSettings from '../TokenSettings';
|
|
|
|
export default (colors: Colors): TokenSettings[] => [
|
|
punctuation(colors),
|
|
types(colors)
|
|
];
|
|
|
|
function punctuation({ base }: Colors): TokenSettings {
|
|
return {
|
|
name: 'C# punctuation bounds',
|
|
scope: ['punctuation.definition.tag.cs'],
|
|
settings: {
|
|
foreground: base.fg
|
|
}
|
|
};
|
|
}
|
|
|
|
function types({ base }: Colors): TokenSettings {
|
|
return {
|
|
name: 'C# Types',
|
|
scope: ['keyword.type.cs', 'storage.type.cs'],
|
|
settings: {
|
|
foreground: base.cyan
|
|
}
|
|
};
|
|
}
|