Skip to content

Preflights

You can inject raw CSS as preflights from the configuration. The resolved theme is available to customize the CSS.

ts
preflights: [
  {
    getCSS: ({ theme }) => `
      * {
        color: ${theme.colors.gray?.[700] ?? '#333'};
        padding: 0;
        margin: 0;
      }
    `,
  },
]

Released under the MIT License.