mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
Currently ASImageNode would initially load the correct asset from the asset catalog but would not respond to changes in trait collections that would require loading a different asset from the asset catalog. This change allows use to use `-[UIImage imageAsset]` to reference the asset catalog entry for the current image and load the appropriate version based on the current trait collection
52 lines
879 B
JSON
52 lines
879 B
JSON
{
|
|
"images" : [
|
|
{
|
|
"idiom" : "universal",
|
|
"filename" : "light.png",
|
|
"scale" : "1x"
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"filename" : "dark.png",
|
|
"appearances" : [
|
|
{
|
|
"appearance" : "luminosity",
|
|
"value" : "dark"
|
|
}
|
|
],
|
|
"scale" : "1x"
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"scale" : "2x"
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"scale" : "2x",
|
|
"appearances" : [
|
|
{
|
|
"appearance" : "luminosity",
|
|
"value" : "dark"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"scale" : "3x"
|
|
},
|
|
{
|
|
"idiom" : "universal",
|
|
"scale" : "3x",
|
|
"appearances" : [
|
|
{
|
|
"appearance" : "luminosity",
|
|
"value" : "dark"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"info" : {
|
|
"version" : 1,
|
|
"author" : "xcode"
|
|
}
|
|
} |