diff --git a/website/build-app/components/VersionSelector/index.tsx b/website/build-app/components/VersionSelector/index.tsx index e46a9c1529..a264a0554c 100644 --- a/website/build-app/components/VersionSelector/index.tsx +++ b/website/build-app/components/VersionSelector/index.tsx @@ -4,10 +4,11 @@ import { Select } from '@/components/Select' import lib from '../../../../lib/package.json' -const VERSION = 'v8' +const VERSION = 'v9' const versions = [ { label: `v${lib.version}`, value: VERSION }, + { label: 'v8', value: 'v8' }, { label: 'v7', value: 'v7' }, { label: 'v6', value: 'v6' }, { label: 'v5', value: 'v5' }, diff --git a/website/build-app/pages/foundations/getting-started.mdx b/website/build-app/pages/foundations/getting-started.mdx index b4759f5a23..df5adb432d 100644 --- a/website/build-app/pages/foundations/getting-started.mdx +++ b/website/build-app/pages/foundations/getting-started.mdx @@ -1,7 +1,5 @@ ## Installation -## Installation - 1 - Install the `welcome-ui` package and **peer dependencies** listed below: ```bash diff --git a/website/build-app/pages/foundations/theming/basics.mdx b/website/build-app/pages/foundations/theming/basics.mdx index efd26a624d..d7fba1ecb1 100644 --- a/website/build-app/pages/foundations/theming/basics.mdx +++ b/website/build-app/pages/foundations/theming/basics.mdx @@ -1,24 +1,7 @@ # Basics -We expose a [theme object](https://github.com/WTTJ/welcome-ui/tree/main/packages/Core/src/theme/core.ts) for our customizable design system. You can easily customize colors, typography, breakpoints, etc to match with your design. - ## Colors -Customize the color on the `theme.colors` object. Colors can be used for `color`, `borderColor`, `backgroundColor`, etc. Example of a color: `neutral-90`. [See more on github](https://github.com/WTTJ/welcome-ui/tree/main/packages/Core/src/theme/colors.ts) - -```jsx -export default { - colors: { - // ... - 'primary-40': '#FF0000', - 'neutral-30': '#333', - 'neutral-90': '#000', - custom: '#F12345', - // ... - }, -} -``` - ### Primary #### Neutral diff --git a/website/build-app/pages/foundations/upgrades/v9.mdx b/website/build-app/pages/foundations/upgrades/v9.mdx index 3b1f4f339a..4238fb7d5c 100644 --- a/website/build-app/pages/foundations/upgrades/v9.mdx +++ b/website/build-app/pages/foundations/upgrades/v9.mdx @@ -26,7 +26,7 @@ Remove file `styled.d.ts` ### 1. Upgrade your dependencies and add style files -[See documentation](lib/README.md) +[See documentation](https://welcome-ui.com/foundations/getting-started) ### 2. Script to migrate