github vanilla-extract-css/vanilla-extract @vanilla-extract/css@0.2.0

latest releases: @vanilla-extract/vite-plugin@4.0.9, @vanilla-extract/webpack-plugin@2.3.8, @vanilla-extract/vite-plugin@4.0.8...
3 years ago

Minor Changes

  • #20 3311914 Thanks @mattcompiles! - Ensure generated hashes are scoped by package

    vanilla-extract uses file path to ensure unique identifier (e.g. class names, CSS Variables, keyframes, etc) hashes across your application. This information is added to your *.css.ts files at build time. The issue with this approach is it meant *.css.ts files couldn't be pre-compiled when being published to npm.

    This change adds support for pre-compilation of packages by adding package name information to identifier hashes.

  • #25 c4bedd5 Thanks @markdalgleish! - The createInlineTheme function has now moved to the @vanilla-extract/dynamic package.

    -import { createInlineTheme } from '@vanilla-extract/css/createInlineTheme';
    +import { createInlineTheme } from '@vanilla-extract/dynamic';

Don't miss a new vanilla-extract release

NewReleases is sending notifications on new releases.