Skip to content

Commit

Permalink
Use watchOS color example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Nov 8, 2020
1 parent b6ceb71 commit d000f4e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
"colors" : [
{
"color" : {
"platform" : "ios",
"reference" : "systemRedColor"
"color-space" : "extended-srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.188",
"green" : "0.187",
"red" : "1.000"
}
},
"idiom" : "universal"
},
Expand All @@ -15,8 +20,13 @@
}
],
"color" : {
"platform" : "ios",
"reference" : "systemTealColor"
"color-space" : "extended-srgb",
"components" : {
"alpha" : "1.000",
"blue" : "1.000",
"green" : "0.838",
"red" : "0.392"
}
},
"idiom" : "universal"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class InterfaceController: WKInterfaceController {
super.awake(withContext: context)

label.setText(R.string.localizable.quote(11))
label.setTextColor(R.color.myColor())
}

override func willActivate() {
Expand Down

0 comments on commit d000f4e

Please sign in to comment.