polished
polished copied to clipboard
A lightweight toolset for writing styles in JavaScript ✨
- `polished` version: ^4.2.2 - `JSS-in_CSS` library and version: styled-components ^5.1.1 - Any relevant JS library and version: React 17.0.2, nextjs 12.1.0 ## Mixin/Helper/Shorthand Usage ```javascript export const WelcomeContentTitle =...
`triangle()` currently expects height and width values that are a string value with a unit (e.g. `'12px'`) or a number (`12`). It throws an error otherwise. This prevents the use...
## Summary polished is a very powerful library to processing colors, but some enviroments only support the hex notation format. Therefore, is it possible to add new functions to format...
- `polished` version: 4.1.0 and 4.2.2 - `JSS-in_CSS` library and version: styled-components 5.2.1 - Any relevant JS library and version: React 16.0.0 ## Mixin/Helper/Shorthand Usage ```javascript mix(0.80, '#000000', '#A4A8B1') ```...
## Question Haven't been able to play with Polished via browser's console on [https://polished.js.org/](https://polished.js.org/) even though the site mentions "Open the console and play around with it!" ) In that spirit, it seems reasonable to me to add that algorithm...
## Summary **between mixin** returns a CSS calc formula for linear interpolation of a property between two values. The value of the calc formula will change when any relative value...
- `polished` version: - `JSS-in_CSS` library and version: - Any relevant JS library and version: ## Mixin/Helper/Shorthand Usage ```javascript ``` ## What You Are Seeing  ## What You Expected...