Token name: A descriptive name for the color token and token sets.
Use an existing category name if there are already colors that are specific to the desired UI element, or group of UI elements. pkgdef files are deployed to Visual Studio searchable locations, processed at run time, and merged together to define themes.Ī color token is made up of four elements:Ĭategory name: A logical grouping for a set of colors. The colors themselves are stored in theme color. Package definition (.pkgdef) files are the files that define themes. vstheme files can be imported into a current. Visual Studio themes (.vstheme files) can be used with the Visual Studio Extension Color Editor by changing the file extension to. This tool is useful for making colors for a Visual Studio extension that supports theming. The tool can also generate theme resource keys so that the colors can be used in code.
The Visual Studio Extension Color Editor tool can create and edit custom colors for Visual Studio. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code