naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
15 lines • 443 B
JavaScript
import { c, cB } from "../../../_utils/cssr/index.mjs";
// vars:
// --n-bezier
// --n-font-size
// --n-line-height
// --n-margin
// --n-text-color
export default cB('p', `
box-sizing: border-box;
transition: color .3s var(--n-bezier);
margin: var(--n-margin);
font-size: var(--n-font-size);
line-height: var(--n-line-height);
color: var(--n-text-color);
`, [c('&:first-child', 'margin-top: 0;'), c('&:last-child', 'margin-bottom: 0;')]);