12.0.2 • Published 6 months ago

@waystone/utils v12.0.2

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

@waystone/utils

This is an internal dependency of @waystone/ui

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 theme-ui
yarnyarn add @waystone/ui@latest @emotion/react theme-ui
pnpmpnpm i @waystone/ui@latest @emotion/react theme-ui

Usage

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

export const App = () => {
  return (
    <StrictMode>
      <Waystone>
        <YourAppHere />
      </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',
          },
        }}
      >
        <YourApp />
      </Waystone>
    </StrictMode>
  );
};
12.0.2

6 months ago

12.0.1

7 months ago

12.0.0

1 year ago

9.4.0

1 year ago

9.3.2

1 year ago

9.3.1

1 year ago

9.3.0

1 year ago

9.2.1

1 year ago

9.2.0

1 year ago

9.1.0

2 years ago

9.0.1

2 years ago

9.0.0

2 years ago

8.0.1

2 years ago

7.0.0

2 years ago

6.0.0

2 years ago

5.0.0

2 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago