Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ataulm
Created May 6, 2020 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ataulm/0cc3d9750de931b02892f348d18b2b0e to your computer and use it in GitHub Desktop.
Save ataulm/0cc3d9750de931b02892f348d18b2b0e to your computer and use it in GitHub Desktop.
<style name="Widget.Monzo.CompoundButton.CheckBox" parent="Widget.MaterialComponents.CompoundButton.CheckBox">
<item name="android:textColor">?attr/mdsColorContentPrimary</item>
<item name="materialThemeOverlay">@style/ThemeOverlay.Monzo.CompoundButton.CheckBox</item>
</style>
<style name="ThemeOverlay.Monzo.CompoundButton.CheckBox" parent="">
<item name="colorSecondary">?attr/mdsColorPrimary</item>
<item name="colorControlHighlight">@color/mds_content_primary_12</item>
</style>
<style name="Widget.Monzo.CompoundButton.CheckBox.OnLight">
<item name="materialThemeOverlay">@style/ThemeOverlay.Monzo.CompoundButton.CheckBox.OnLight</item>
</style>
<style name="ThemeOverlay.Monzo.CompoundButton.CheckBox.OnLight">
<item name="colorControlHighlight">@color/navy_12</item>
</style>
<style name="Widget.Monzo.CompoundButton.CheckBox.OnDark">
<item name="materialThemeOverlay">@style/ThemeOverlay.Monzo.CompoundButton.CheckBox.OnDark</item>
</style>
<style name="ThemeOverlay.Monzo.CompoundButton.CheckBox.OnDark">
<item name="colorControlHighlight">@color/white_12</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment