Introduction#
Using createGlobalStyle allows you to create styles that are injected globally. The usage of this method is almost identical to styled-component, but it is implemented based on @emotion/react and @emotion/serialize.
Default Usage#
Using with antd tokens#
By utilizing the token system in antd v5, we can organize and implement a Button style that does not exist in Ant Design.