scottcorgan / contrast
Determine if the given hex color is light or dark. Helpful to determining foreground color against a background color.
☆61Updated 5 years ago
Related projects ⓘ
Alternatives and complementary repositories for contrast
- Kap plugin - Share on Cloudinary☆15Updated last year
- A tiny (255B) shim when Element.classList cannot be used~!☆62Updated 5 years ago
- Assigns the nodmodule attribute to script tags injected by Html Webpack Plugin☆45Updated last year
- Gatsby remark plugin to import code from a file into code blocks☆23Updated 4 years ago
- Automatically expand a <textarea> to fit its content, in a few bytes☆78Updated 3 years ago
- Handle `.mjs` files correctly within webpack☆71Updated 5 years ago
- Shorthands for opposite properties☆15Updated 8 years ago
- Use size properties in CSS☆20Updated 6 years ago
- PostCSS plugin to add will-change property after transition declarations☆16Updated 7 years ago
- This extension prevents scroll jacking whilst holding a meta key☆16Updated 5 years ago
- Another better `npm publish`☆47Updated 2 years ago
- A tiny Node.js microservice to detect the language of a code snippet☆21Updated 4 years ago
- Converts the css prop to a function call inside of className☆24Updated 6 years ago
- Practical, zero-config Webpack, until you need it.☆38Updated 6 years ago
- Calculate package sizes in various configurations☆17Updated 3 years ago
- Deploy to Now from GitHub Actions with useful aliases☆45Updated 5 years ago
- PostCSS plugin for size shortcut☆53Updated last year
- A tiny (350B) library to detect when images have loaded.☆39Updated 4 years ago
- Parcel plugin to support inline SVG☆62Updated 4 years ago
- Suggestion box for PostCSS plugins☆14Updated 8 years ago
- place-* shorthand for align-* and justify-*☆10Updated 2 years ago
- A babel preset that produces smallest possible code.☆40Updated 2 years ago
- A babel-macro for transforming mdx inline☆95Updated last year
- Simple and lightweight (~590 bytes gzip) progress bar component for Preact☆49Updated 7 years ago
- ✨ A pretty Stylelint formatter.☆32Updated 2 weeks ago
- Clearfix fallback for `display: flow-root`☆14Updated 7 years ago
- VS Code extension for automating JavaScript imports☆25Updated 5 years ago
- Rewrite `import` statements as `require()`s; via RegExp☆31Updated 3 years ago
- ☆11Updated 4 years ago