Skip to content

Forms items inherit text color while background stays the same. #339

@victor-yarema

Description

@victor-yarema

Commit 0b5badd fixed issue gh-157.
After that forms items inherit text color while background stays the same.
Before that all text in forms items always had adequate text and bg colors contrast from user agents default styles.
Now if we specify white text on black background for ancestor we will be able to read simple text but unable to see text in forms.
Test: http://codepen.io/anon/pen/FyhsL (forked from http://codepen.io/mattbrundage/pen/hFHoi).
Proposed solution: simply specify some color explicitly, e.g. "color: black;".
General proposal for further changes: text color should be modified with background to ensure that it doesn't break readability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions