We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx create-next-app@latest
import { withPigment, extendTheme } from '@pigment-css/nextjs-plugin'; const nextConfig = { output: "export", }; export default withPigment(nextConfig, { theme: extendTheme({ colors: { primary: 'tomato', secondary: 'cyan', }, spacing: { unit: 8, }, typography: { fontFamily: 'Inter, sans-serif', }, }), });
'use client' import styles from "./page.module.css"; import { css } from "@pigment-css/react"; const description = css` display: inherit; justify-content: inherit; align-items: inherit; font-size: 0.85rem; max-width: var(--max-width); width: 100%; z-index: 1; font-family: var(--font-mono); `; ...... export default function Home() { return ( ...... <div className={description}>Test</div> ...... } }
No response
System: OS: macOS 14.3 Binaries: Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm pnpm: 8.9.0 - ~/.nvm/versions/node/v20.12.2/bin/pnpm Browsers: Chrome: 124.0.6367.60 Edge: Not Found Safari: 17.3 npmPackages: @types/react: ^18 => 18.2.61 react: ^18 => 18.2.0 react-dom: ^18 => 18.2.0 typescript: ^5 => 5.3.3
Search keywords: @pigment-css/nextjs-plugin use client
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
npx create-next-app@latest
Current behavior
Expected behavior
No response
Context
No response
Your environment
System:
OS: macOS 14.3
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
pnpm: 8.9.0 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
Browsers:
Chrome: 124.0.6367.60
Edge: Not Found
Safari: 17.3
npmPackages:
@types/react: ^18 => 18.2.61
react: ^18 => 18.2.0
react-dom: ^18 => 18.2.0
typescript: ^5 => 5.3.3
Search keywords: @pigment-css/nextjs-plugin use client
The text was updated successfully, but these errors were encountered: