.sprite files
image sprite generation files
| Type | object |
|---|---|
| File match |
*.sprite
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/sprite-files/latest.json |
| Source | https://www.schemastore.org/sprite.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Schema for image sprite generation files
Properties
images
Record<string, string>
required
An array of file paths relative to this document. The name must be unique.
customstyles
Record<string, string | number>
Define custom CSS declarations to inject into the generated stylesheet.
dpi
integer
The image resolution of the generated image sprite
optimize
enum
Optimizes the generated image either lossy or lossless. Requires the "Image Optimizer" extension for Visual Studio
orientation
enum
The orientation of the individual images inside the generated sprite.
output
enum
Output format of the generated image sprite.
padding
integer
The padding around each individual image in the sprite. The value is in pixels.
pathprefix
string
Add any path root in front of the generated. Example: "/images/"
stylesheet
enum
Define stylesheets (css, less, sass) to be generated as part of the sprite generation process.