github vanilla-extract-css/vanilla-extract @vanilla-extract/css@1.12.0

latest releases: @vanilla-extract/vite-plugin@4.0.17, @vanilla-extract/webpack-plugin@2.3.14, @vanilla-extract/integration@7.1.10...
16 months ago

Minor Changes

  • #1114 001be83 Thanks @taylorfsteele! - Supports passing multiple font face rules to fontFace

    Example usage

    import { fontFace, style } from '@vanilla-extract/css';
    
    const gentium = fontFace([
      {
        src: 'local("Gentium")',
        fontWeight: 'normal',
      },
      {
        src: 'local("Gentium Bold")',
        fontWeight: 'bold',
      },
    ]);
    
    export const font = style({
      fontFamily: gentium,
    });

Don't miss a new vanilla-extract release

NewReleases is sending notifications on new releases.