Skip to content
/ zint Public

Modern, pre-built CSS gradients for text, using the OKLCH color model

License

Notifications You must be signed in to change notification settings

NARKOZ/zint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zint

Modern, ready-to-use CSS gradients for text, built entirely with the OKLCH color model.

Live Demo

Installation

Install the package from the npm registry:

npm install zint

Usage

You can include the CSS in your project using multiple methods:

  • Import the compiled CSS directly in your stylesheet or JavaScript file.
  • Use the Sass source to customize or extend styles in your own Sass/SCSS files.
  • Load the CSS from a CDN for quick integration without installing the package.

Choose the method that best fits your workflow and project needs.

Compiled CSS

Import the compiled CSS in your main stylesheet or directly in your JavaScript/TypeScript entry file:

@import "~zint/dist/zint.css";

or, with webpack/Vite/Parcel, directly in JS:

import 'zint/dist/zint.css';

Sass Source

If you want to customize variables or use mixins, import the main Sass file in your Sass/SCSS entry:

@use "zint/src/zint";

CDN

Link the stylesheet in your HTML:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zint@1.0.0/dist/zint.min.css">

Then, apply the gradient classes to your text elements:

<h1 class="zint-supernova-burst">Hello, World!</h1>

Available Gradients

  • zint-aqua-flora
  • zint-azure-tide
  • zint-coral-glow
  • zint-deep-sea-mist
  • zint-dreamy-haze
  • zint-forest-stream
  • zint-fuchsia-flash
  • zint-galactic-beam
  • zint-glacial-ice
  • zint-graphite-sheen
  • zint-liquid-gold
  • zint-meadow-spring
  • zint-neon-fusion
  • zint-pastel-morning
  • zint-phoenix-fire
  • zint-solar-flare
  • zint-starlit-abyss
  • zint-supernova-burst
  • zint-tropical-zest
  • zint-volcanic-sunset

License

Released under the BSD 2-clause license. See LICENSE.txt for details.

About

Modern, pre-built CSS gradients for text, using the OKLCH color model

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Languages