AAO-React-Native icon indicating copy to clipboard operation
AAO-React-Native copied to clipboard

Consolidate background and foreground colors for building hours

Open drewvolz opened this issue 3 years ago • 1 comments

Niceties around foreground, background, and accent colors for buildings hours status badges.

  • move background and foreground colors into lib/color-helpers
  • colocate duplicate BG_COLORS definition
  • rename symbols for clarity when importing, exporting, and invoking

Renamings

old name new name
accentBg getAccentBackgroundColor
accentText getAccentTextColor
BG_COLORS hoursBackgroundColors
FG_COLORS hoursForegroundColors

drewvolz avatar Nov 28 '22 04:11 drewvolz

Codecov Report

Merging #6610 (c733c22) into master (2845132) will decrease coverage by 0.00%. The diff coverage is 0.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     

codecov[bot] avatar Nov 28 '22 04:11 codecov[bot]