We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would appear to be an easy win to save some bytes. Colors and other style strings can be made smaller in the final bundle:
const HoverRow = styled(StyledRow, { ':hover': { backgroundColor: 'rgb(229, 229, 229)', }, })
Becomes:
const HoverRow = styled(StyledRow, { ':hover': { backgroundColor: '#e5e5e5', }, })
Even lowercasing and shorthand whenever possible: "#FFFFFF" -> "#fff"
The text was updated successfully, but these errors were encountered:
Yea, this would be a nice addition since styletron is performance oriented. Assuming it would not add too much to the styletron's bundle size.
Sorry, something went wrong.
0px can be set to 0. There's likely a whole set of rules that can be applied.
No branches or pull requests
This would appear to be an easy win to save some bytes.
Colors and other style strings can be made smaller in the final bundle:
Becomes:
Even lowercasing and shorthand whenever possible:
"#FFFFFF" -> "#fff"
The text was updated successfully, but these errors were encountered: