Skip to content

Commit

Permalink
SystemUI: theme: Override modulated dark QS background color
Browse files Browse the repository at this point in the history
Similar to how we handle other modulated surface colors, override our
new dark QS background color for performance (no need to modulate the
color when inflating views at runtime) and consistency (reduced
dependency on framework-side color code, which may not follow user
preferences).

Change-Id: I8e49084f31c95dfd1682ba9144ad543b9e08479e
  • Loading branch information
kdrag0n committed Jun 7, 2022
1 parent a566e9f commit 8b42956
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ class CustomThemeOverlayController @Inject constructor(

// surface highlight dark = neutral1 650 (L* 35)
colorsList[0][650]?.let { setColor("surface_highlight_dark", it) }

// surface_header_dark_sysui = neutral1 950 (L* 5)
colorsList[0][950]?.let { setColor("surface_header_dark_sysui", it) }
}

build()
Expand Down

0 comments on commit 8b42956

Please sign in to comment.