Skip to content

Preflights

Vous pouvez injecter du CSS brut comme preflights depuis la configuration. Le theme résolu est disponible pour personnaliser le CSS.

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

Released under the MIT License.