File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ About Colors
4
4
R.swift can parse .clr color palette files and generate structs in ` R.colors.* ` .
5
5
This is useful if you're using .clr color palettes as the source of colors in your project.
6
6
7
+ _ NOTE: Make sure the .clr file is part of the project, and a member of the target, for R.swift to pick it up._
8
+
7
9
A potential work flow is this:
8
10
> A designer maintains a color palette called ` App Colors.clr ` , a developer refers to colors like so: ` R.colors.appColors.errorColor() ` .
9
11
>
@@ -19,6 +21,6 @@ The above points are not resolved by R.swift, so keep these in mind when using c
19
21
20
22
### Further reading
21
23
24
+ - Discussion on using [ other file formats] ( https://github.com/mac-cain13/R.swift/issues/204 )
22
25
- R.swift issue: [ Add support for R.colors from .clr files] ( https://github.com/mac-cain13/R.swift/issues/169 )
23
26
- Natasha The Robot: [ Xcode Tip: Color palette] ( http://natashatherobot.com/xcode-color-palette/ )
24
-
You can’t perform that action at this time.
0 commit comments