12.1.3 • Published 7 months ago

@waystone/ui v12.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@waystone/ui

@waystone/ui is the design system of Draekien-Industries.

Docs

Click the badge below to view the components in storybook.

Storybook Enabled

Installation

Run the relevant script for your package manager

Package managerScript
npmnpm i @waystone/ui@latest @emotion/react@11 theme-ui@0.6
yarnyarn add @waystone/ui@latest @emotion/react@11 theme-ui@0.16
pnpmpnpm i @waystone/ui@latest @emotion/react@11 theme-ui@0.16

Usage

Import the Waystone component and use it inside your App.tsx

export const App = () => {
  return (
    <StrictMode>
      <Waystone>
        <MyApp />
      </Waystone>
    </StrictMode>
  );
};

Customizing the theme

Provide your custom theme into the theme prop of the Waystone component. The default theme will be merged with the one you provide.

export const App = () => {
  return (
    <StrictMode>
      <Waystone
        theme={{
          colors: {
            primary: 'blue',
          },
        }}
      >
        <MyApp />
      </Waystone>
    </StrictMode>
  );
};
12.1.3

7 months ago

12.1.2

7 months ago

12.1.1

7 months ago

12.1.0

1 year ago

12.0.0

1 year ago

11.0.0

1 year ago

10.0.1

1 year ago

10.0.0

1 year ago

9.1.4

1 year ago

9.1.3

1 year ago

9.1.2

1 year ago

9.1.1

1 year ago

9.1.0

2 years ago

9.0.0

2 years ago