taishinaritomi / kaze-style

Kaze [風] zero-runtime CSS in JS
https://npmjs.com/package/@kaze-style/core
MIT License
25 stars 1 forks source link

remove create prefix #109

Closed taishinaritomi closed 1 year ago

taishinaritomi commented 1 year ago

Migration

change createStyle & createGlobalStyle to style & globalStyle

// import { createStyle, createGlobalStyle } from '@kaze-style/core';
import { style, globalStyle } from '@kaze-style/core';

// createGlobalStyle({});
globalStyle({});
// const classes = createStyle({});
const classes = style({});