Pollen
GithubShare on Twitter
  • Introducing Pollen
  • Basics
    • Getting started
    • Configuration
      • Configuring Modules
      • Extending Pollen
      • Media & Supports
    • Javascript
  • Modules
    • Typography
    • Layout
    • UI
    • Grid
    • Colors
  • Utils
    • defineConfig
    • fluid
    • shimmie
  • Misc
    • Motivations
    • Contributing
  • Migration Guide
    • v4 -> v5
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Utils

defineConfig

Pollen exports a configuration helper function to give full typescript support in any file, including plain JS config files.

pollen.config.js
const { defineConfig } = require('pollen-css/utils');

module.exports = defineConfig(pollen => ({ ... }));
PreviousColorsNextfluid

Last updated 2 years ago

Was this helpful?