{ "id": "176320", "key": "TIMOB-28566", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21249", "name": "Release 10.2.0", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-10-29T18:17:23.000+0000", "created": "2021-10-22T20:52:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "darkmode", "ios", "theme" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-10-29T18:17:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The two properties use the raw / low-level CGColor references natively, so we need to listen for trait collection updates to re-render them. This is a common best practive natively as well.\r\n\r\nExample:\r\n\r\napp.js:\r\n{code:js}\r\nconst win = Ti.UI.createWindow({ backgroundColor: 'backgroundColor' });\r\n\r\nwin.add(Ti.UI.createView({\r\n borderRadius: 100,\r\n width: 200,\r\n height: 200,\r\n backgroundColor: 'red',\r\n borderWidth: 5,\r\n borderColor: 'foregroundColor',\r\n viewShadowRadius: 50,\r\n viewShadowColor: 'foregroundColor'\r\n}));\r\n\r\nwin.open();\r\n{code}\r\n\r\nsemantic.colors.json:\r\n{code:json}\r\n{\r\n \"backgroundColor\": {\r\n \"light\": \"#ffffff\",\r\n \"dark\": \"#000000\"\r\n },\r\n \"foregroundColor\": {\r\n \"light\": \"#000000\",\r\n \"dark\": \"#ffffff\"\r\n }\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: \"borderRadius\" and \"viewShadowColor\" not updating when changing display mode", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "459132", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/13137", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-10-22T20:55:05.000+0000", "updated": "2021-10-22T20:55:05.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }