Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete migration to CSS modules #58

Open
2 tasks
ksiabani opened this issue Dec 23, 2021 · 0 comments
Open
2 tasks

Complete migration to CSS modules #58

ksiabani opened this issue Dec 23, 2021 · 0 comments
Milestone

Comments

@ksiabani
Copy link
Collaborator

The following items are pending for completing migration to CSS modules:

  • Select

    // TODO: Haven't been able to apply this
    // placeholder: {
    // color: palette.grey[200],
    // },
    .input {
    border-radius: 2px;
    position: relative;
    font-size: 0.875rem;
    padding: 8px 16px;
    height: 17px;
    // TODO: Haven't been able to apply this
    &:focus {
    border-radius: 2px;
    // borderColor: '#80bdff', // primary
    background-color: transparent;
    }
    // TODO: Haven't been able to apply this
    // '.Mui-error &': {
    // borderColor: '#FF3366', //error
    // },

  • TextField

    // TODO: find a prettier way for this to work
    // The only way for this to work under .textField:
    //
    // &.Mui-focused .MuiOutlinedInput-notchedOutline {
    // border-width: 1px;
    // }
    //
    // is this:
    :global {
    :local(.textField) {
    &.Mui-focused .MuiOutlinedInput-notchedOutline {
    border-width: 1px;
    }
    }
    }
    // see: https://github.com/css-modules/css-modules/issues/295

@ksiabani ksiabani added this to the Version 1.0 milestone Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant