Skip to content

A UnoCSS preset for creating gradient borders with rounded corners and text. This preset aims to be a comprehensive solution for most of your gradient needs, from borders to text effects and pre-defined gradient themes.

License

Notifications You must be signed in to change notification settings

itsmnthn/unocss-preset-advance-gradients

Repository files navigation

UnoCSS Preset Advance Gradients

A UnoCSS preset that provides advanced gradient utilities for borders and text.

Read the documentation for detailed usage examples and API reference.

Features

  • Border gradients with customizable angles and colors
  • Text gradients with multiple color stops
  • Compatible with UnoCSS v0.66+

Installation

In your project, you can install the unocss-preset-advance-gradients using:

pnpm add -D unocss-preset-advance-gradients

Usage

Add preset to your unocss.config.ts file under presets

import { defineConfig } from 'unocss'
import presetAdvanceGradients from 'unocss-preset-advance-gradients'

export default defineConfig({
  presets: [
    presetAdvanceGradients(),
  ],
})

About

A UnoCSS preset for creating gradient borders with rounded corners and text. This preset aims to be a comprehensive solution for most of your gradient needs, from borders to text effects and pre-defined gradient themes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published