0.7.2 • Published 1 year ago

@cerberus-design/panda-preset v0.7.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Panda Preset

This is the official Panda-CSS preset for the Cerberus design system.

Installation

pnpm add -D @cerberus-design/panda-preset

Usage

import { defineConfig } from '@pandacss/dev'
import pandaPreset from '@pandacss/preset-panda'
import { cerberusPreset, cerberusConfig } from '@cerberus-design/panda-preset'

export default defineConfig({
  ...cerberusConfig,

  include: ['./src/**/*.{ts,tsx,js,jsx}'],
  exclude: [],

  presets: [pandaPreset, cerberusPreset],
})

Features

NextJS Font Features

If you use NextJS, we recommend the font and settings mentioned below. Unfortunately, NextJS enforces a rule of Font loader values must be explicitly written literals. which means you cannot use a variable to define the font settings or else we would also provide that. :sob:

const poppins = Poppins({
  display: 'swap',
  subsets: ['latin'],
  weight: ['400', '600', '700'],
})

Copyright (c) 2024 Digital University, All Rights Reserved

0.7.2

1 year ago

0.7.1

1 year ago

0.3.2

1 year ago

0.7.0

1 year ago

0.4.0

1 year ago

0.1.0

1 year ago

0.1.1

1 year ago

0.5.0

1 year ago

0.1.3

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.2.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago