Skip to content

Commit

Permalink
Use CSS variable for 'ui.brand' and 'ui.borderFocus' colors (#23936)
Browse files Browse the repository at this point in the history
  • Loading branch information
Q authored and ellatrix committed Jul 20, 2020
1 parent 436373a commit 83cecf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/utils/colors-values.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ export const ALERT = {
export const UI = {
background: BASE.white,
backgroundDisabled: LIGHT_GRAY[ 200 ],
brand: BLUE.wordpress[ 700 ],
brand: `var( --wp-admin-theme-color, ${ BLUE.wordpress[ 700 ] })`,
border: G2.darkGray.primary,
borderFocus: BLUE.medium.focus,
borderFocus: `var( --wp-admin-theme-color-darker-10, ${ BLUE.medium.focus })`,
borderDisabled: DARK_GRAY[ 700 ],
borderLight: LIGHT_GRAY[ 600 ],
label: DARK_GRAY[ 500 ],
Expand Down

0 comments on commit 83cecf0

Please sign in to comment.