Skip to content

Instantly share code, notes, and snippets.

@afirdousi
Created July 8, 2017 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afirdousi/a1509f0272d832e17b8af39eaa43d457 to your computer and use it in GitHub Desktop.
Save afirdousi/a1509f0272d832e17b8af39eaa43d457 to your computer and use it in GitHub Desktop.
/* Styles here can easily be cleaned up using SCSS */
:host-context(.light) input {
border:1px solid #0080ff;
background-color:#fff;
color:#0080ff;
}
:host-context(.light) input:disabled,
:host-context(.light) input[disabled]{
border:1px solid #d3d3d3;
background-color:#fafafa;
}
:host-context(.light) .failure input{
background-color:#ffe5e5;
border:1px solid red;
}
:host-context(.light) .success input {
background-color:#e5ffe5;
border:1px solid green;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment