Add stencil on color
This commit is contained in:
4
Templates/Colors/swiftui_template
Normal file
4
Templates/Colors/swiftui_template
Normal file
@ -0,0 +1,4 @@
|
||||
/// Color {{ color.name }} is {{ color.light }} {{ color.light }} or {{ color.dark }} {{ color.dark }}"
|
||||
{% if isStatic %}static {% endif %}var {{ color.name }}: Color {
|
||||
Color("{{ color.name }}")
|
||||
}
|
Reference in New Issue
Block a user