UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

24 lines (23 loc) 618 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const cssr_1 = require("../../../_utils/cssr"); // vars: // --n-font-weight // --n-rotate // --n-bezier // --n-color-start // --n-color-end exports.default = (0, cssr_1.cB)('gradient-text', ` display: inline-block; font-weight: var(--n-font-weight); -webkit-background-clip: text; background-clip: text; color: #0000; white-space: nowrap; background-image: linear-gradient(var(--n-rotate), var(--n-color-start) 0%, var(--n-color-end) 100%); transition: --n-color-start .3s var(--n-bezier), --n-color-end .3s var(--n-bezier); `);