Add script to generate all ressources
This commit is contained in:
21
SampleFiles/Colors/Generated/UIColor+ColorGenAllScript.swift
Normal file
21
SampleFiles/Colors/Generated/UIColor+ColorGenAllScript.swift
Normal file
@ -0,0 +1,21 @@
|
||||
// Generated from ColorToolCore at 2021-12-22 09:32:10 +0000
|
||||
|
||||
import UIKit
|
||||
|
||||
extension UIColor {
|
||||
|
||||
/// Color red is #FF0000 (light) or #FF0000 (dark)"
|
||||
static var red: UIColor {
|
||||
UIColor(named: "red")!
|
||||
}
|
||||
|
||||
/// Color green_alpha_50 is #A000FF00 (light) or #A000FF00 (dark)"
|
||||
static var green_alpha_50: UIColor {
|
||||
UIColor(named: "green_alpha_50")!
|
||||
}
|
||||
|
||||
/// Color blue_light_dark is #0000FF (light) or #0000AA (dark)"
|
||||
static var blue_light_dark: UIColor {
|
||||
UIColor(named: "blue_light_dark")!
|
||||
}
|
||||
}
|
@ -23,7 +23,7 @@
|
||||
"color-space": "srgb",
|
||||
"components": {
|
||||
"alpha": "0xFF",
|
||||
"blue": "0xFF",
|
||||
"blue": "0xAA",
|
||||
"green": "0x00",
|
||||
"red": "0x00",
|
||||
}
|
||||
|
Reference in New Issue
Block a user