0.2.0 • Published 4 years ago

glow-css v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Glow

License: MIT glow-css on NPM

A small CSS utility to make glow text and images.

Installation

CSS quick start (easy)

<link
  rel="stylesheet"
  href="https://unpkg.com/glow-css@0.2.0/dist/css/glow.min.css"
/>

It's all set to go and your HTML elements will be given sensible default styling.

Styling

Colors

primary: #0050fd secondary: #a5a2a2 success: #00ff0d danger: #ff2600 warning: #fdec00 info: #5aa2ff light: #ffffff dark: #282828

Text

Add glow-{color} to glow the text with the specified colors

<p class="glow glow-primary">
  Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, vel.
</p>

Images

Add glow-img-{color} to glow the image. Recommended for images with transparent background

<img alt="mario" class="glow-img-dark" src="./mario.png" />

Contributing

Please feel free to fork, comment, critique, or submit a pull request.

License

This project is open source and available under the MIT License.