AAO-React-Native
AAO-React-Native copied to clipboard
Consolidate background and foreground colors for building hours
Niceties around foreground, background, and accent colors for buildings hours status badges.
- move background and foreground colors into
lib/color-helpers - colocate duplicate
BG_COLORSdefinition - rename symbols for clarity when importing, exporting, and invoking
Renamings
| old name | new name |
|---|---|
accentBg |
getAccentBackgroundColor |
accentText |
getAccentTextColor |
BG_COLORS |
hoursBackgroundColors |
FG_COLORS |
hoursForegroundColors |
Codecov Report
Merging #6610 (c733c22) into master (2845132) will decrease coverage by
0.00%. The diff coverage is0.00%.
Additional details and impacted files
@@ Coverage Diff @@
## master #6610 +/- ##
=========================================
- Coverage 8.09% 8.09% -0.01%
=========================================
Files 288 289 +1
Lines 5412 5413 +1
Branches 1405 1405
=========================================
Hits 438 438
- Misses 4974 4975 +1