9.4.0 • Published 12 months ago

@waystone/core v9.4.0

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

@waystone/core

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>
  );
};
9.4.0

12 months ago

9.3.3

12 months ago

9.3.2

12 months 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

4.0.0

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago