Skip to content

Commit

Permalink
[Color] Added dimen resource for opacity of disabled background colors
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 369736358
  • Loading branch information
dsn5ft authored and leticiarossi committed Apr 22, 2021
1 parent b38a09f commit d2c7b71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<public name="material_emphasis_high_type" type="dimen" />
<public name="material_emphasis_medium" type="dimen"/>
<public name="material_emphasis_disabled" type="dimen"/>
<public name="material_emphasis_disabled_background" type="dimen"/>

<public name="useMaterialThemeColors" type="attr"/>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@
<item name="material_emphasis_medium" format="float" type="dimen">0.6</item>
<!-- Disabled emphasis of 38% is the same for type and icon. -->
<item name="material_emphasis_disabled" format="float" type="dimen">0.38</item>
<!-- Disabled emphasis of 12% for background containers. -->
<item name="material_emphasis_disabled_background" format="float" type="dimen">0.12</item>
</resources>

0 comments on commit d2c7b71

Please sign in to comment.