feat(Theme): Use dynamic system accents for Material You colors

Co-authored-by: ILoveOpenSourceApplications <117499019+iloveopensourceapplications@users.noreply.github.com>
This commit is contained in:
oSumAtrIX 2026-03-19 18:58:43 +01:00
parent 14545c874d
commit 3514039e8a
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 8 additions and 2 deletions

View file

@ -62,7 +62,10 @@ internal val darkThemeBackgroundColorOption = stringOption(
default = "@android:color/black", default = "@android:color/black",
values = mapOf( values = mapOf(
"Pure black" to "@android:color/black", "Pure black" to "@android:color/black",
"Material You" to "@android:color/system_neutral1_900", "Material You (Neutral)" to "@android:color/system_neutral1_900",
"Material You - Primary" to "@android:color/system_accent1_800",
"Material You - Secondary" to "@android:color/system_accent2_800",
"Material You - Tertiary" to "@android:color/system_accent3_800",
"Classic (old YouTube)" to "#212121", "Classic (old YouTube)" to "#212121",
"Catppuccin (Mocha)" to "#181825", "Catppuccin (Mocha)" to "#181825",
"Dark pink" to "#290025", "Dark pink" to "#290025",

View file

@ -48,7 +48,10 @@ val themePatch = baseThemePatch(
default = "@android:color/white", default = "@android:color/white",
values = mapOf( values = mapOf(
"White" to "@android:color/white", "White" to "@android:color/white",
"Material You" to "@android:color/system_neutral1_50", "Material You (Neutral)" to "@android:color/system_neutral1_100",
"Material You - Primary" to "@android:color/system_accent1_200",
"Material You - Secondary" to "@android:color/system_accent2_200",
"Material You - Tertiary" to "@android:color/system_accent3_200",
"Catppuccin (Latte)" to "#E6E9EF", "Catppuccin (Latte)" to "#E6E9EF",
"Light pink" to "#FCCFF3", "Light pink" to "#FCCFF3",
"Light blue" to "#D1E0FF", "Light blue" to "#D1E0FF",