material icon indicating copy to clipboard operation
material copied to clipboard

md-subheader should inherit hue unless provided explicitly

Open PezzerDev opened this issue 11 years ago • 1 comments

md-subheader elements are styled separately from their containing md-content. This means whenever a hue is specified on an md-content the same hue must also be specified on all contained md-subheader elements. I think md-subheader elements should inherit the hue specified on their parent md-content unless overridden explicitly by a hue class on the md-subheader itself.

Example:

<md-content class="md-hue-1">
    <!-- background color here is hue-1 -->

    <md-subheader>
        <!-- currently, the background color here is reset to default, -->
        <!-- and as a result does not match the content area -->
        <!-- it should inherit the 'md-hue-1' specification from parent -->
    </md-subheader>

</md-content>

PezzerDev avatar Oct 19 '15 12:10 PezzerDev

This issue is closed as part of our deprecation effort. For details, see our post Spring Cleaning 2016.

ThomasBurleson avatar Apr 28 '16 20:04 ThomasBurleson