Skip to content

Checkbox Label font-size And switch component #17

Description

@MROALI

Hello,
I think there is some amelioration that we can do to the checkbox :

  • the custom-control-label must have a font-size: 1rem. It looks too small in 0.875rem.
  • The Label must be aligned to the bottom of the checkbox.
  • The space between the checkbox and the label must be reduced.

image

1 rem font-size for the label give this :
image

Another thing that can be ameliorated is the color of the switch when validating the form. I think turn it all to green, which make us loose the visual info if the switch is on or off. Same thing if switch is disabled the visual color info is not shown. Do you have any idea what can we do ?

FYI : In the https://material.io/components/selection-controls if we put the switch to disable it conserves it's color. Because the information of activation is visible only by color..

https://material-components.github.io/material-components-web-components/demos/switch/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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