Skip to content

Font-stack not documented and applied to few elements only #175

@RamonvdW

Description

@RamonvdW

The font-family that is set in html body is not applied to input elements.
_variables.scss defines font-stack, but it is not in the materializecss documentation
_typography.scss applies font-stack to a few elements only: button, input, optgroup, select, textarea
_typography.scss applies font-family to html.

Effect: when overriding own font-family in body, it is inherited everywhere except the above elements, which will look different when the undocumented font-family has not been adjusted. This might be hard to spot and results in different looks on different operating systems and browsers.

Proposal: provide full support for setting font-family to groups of elements and document how to apply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    css/sassFor something that related to styling/viewdocumentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions