Skip to content

Commit 93206b7

Browse files
committed
Update Colors.md
1 parent 5d0acac commit 93206b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/Colors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ About Colors
44
R.swift can parse .clr color palette files and generate structs in `R.colors.*`.
55
This is useful if you're using .clr color palettes as the source of colors in your project.
66

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+
79
A potential work flow is this:
810
> A designer maintains a color palette called `App Colors.clr`, a developer refers to colors like so: `R.colors.appColors.errorColor()`.
911
>
@@ -19,6 +21,6 @@ The above points are not resolved by R.swift, so keep these in mind when using c
1921

2022
### Further reading
2123

24+
- Discussion on using [other file formats](https://github.com/mac-cain13/R.swift/issues/204)
2225
- R.swift issue: [Add support for R.colors from .clr files](https://github.com/mac-cain13/R.swift/issues/169)
2326
- Natasha The Robot: [Xcode Tip: Color palette](http://natashatherobot.com/xcode-color-palette/)
24-

0 commit comments

Comments
 (0)