resgen.swift/Templates/Colors/swiftui_template
Loris Perret 3f64e9682c
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
PixeeBox/resgen.swift/pipeline/head There was a failure building this commit
Add stencil on color
2023-12-15 09:49:11 +01:00

5 lines
217 B
Plaintext

/// Color {{ color.name }} is {{ color.light }} {{ color.light }} or {{ color.dark }} {{ color.dark }}"
{% if isStatic %}static {% endif %}var {{ color.name }}: Color {
Color("{{ color.name }}")
}