{"id":28446574,"url":"https://github.com/chakra-ui/pro-theme","last_synced_at":"2025-08-14T08:37:40.742Z","repository":{"id":173115148,"uuid":"645033288","full_name":"chakra-ui/pro-theme","owner":"chakra-ui","description":"Chakra UI Pro Theme","archived":false,"fork":false,"pushed_at":"2024-12-13T05:27:36.000Z","size":1143,"stargazers_count":22,"open_issues_count":9,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-06T11:07:28.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pro-theme.chakra-ui.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chakra-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-24T19:19:44.000Z","updated_at":"2025-06-01T08:38:54.000Z","dependencies_parsed_at":"2024-01-29T10:10:36.972Z","dependency_job_id":null,"html_url":"https://github.com/chakra-ui/pro-theme","commit_stats":null,"previous_names":["chakra-ui/pro-theme"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/chakra-ui/pro-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fpro-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fpro-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fpro-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fpro-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chakra-ui","download_url":"https://codeload.github.com/chakra-ui/pro-theme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fpro-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262693255,"owners_count":23349705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-06T11:07:28.876Z","updated_at":"2025-06-30T01:32:23.587Z","avatar_url":"https://github.com/chakra-ui.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Chakra UI Pro Theme\n\nThe Chakra UI Pro Theme extends the base Chakra UI theme by introducing additional component variants, sizes, and a collection of semantic tokens and text layer styles.\nMade to fit perfectly with the original Chakra UI theme, the Pro Theme makes your user interface look even better, and it won't mess up your current setup. Just a heads up though - if your custom variants have the same names as ours, you might see a few changes. For the best experience with the Pro Theme, you might want to check out our comparison [here](https://pro-theme.chakra-ui.com).\n\n## Installation\n\nEnsure Chakra UI is installed in your project. If not, you can follow the [installation guide on Chakra UI's website](https://chakra-ui.com/docs/getting-started).\nTo install Chakra UI Pro Theme, you can use yarn:\n\n```bash\nyarn add install @chakra-ui/pro-theme\n```\n\nAlternatively, if you prefer using npm:\n\n```bash\nnpm install @chakra-ui/pro-theme\n```\n\n## Setting up the Pro Theme\n\nSetting up the Pro Theme is a straightforward process.\n\n### 1. Import Required Themes\n\nFirstly, you'll need to import the `theme` from the pro theme package nd the `extendTheme` function provided by Chakra UI. Use the following code snippet:\n\n```typescript\nimport { theme } from '@chakra-ui/pro-theme'\nimport { extendTheme, ChakraProvider } from '@chakra-ui/react'\n```\n\n### 2. Create the Extended Theme\n\nNext, create a new theme that combines the Pro Theme with your custom settings.\n\n```javascript\nconst proTheme = extendTheme(theme)\nconst extendedConfig = {\n  colors: { ...proTheme.colors, brand: proTheme.colors.teal },\n}\nconst myTheme = extendTheme(extendedConfig, proTheme)\n```\n\n### 3. Integrate your Theme in Your Application\n\nFinally, wrap your application within the `ChakraProvider` and apply the custom theme.\n\n```javascript\nreturn (\n  \u003cChakraProvider theme={myTheme}\u003e\n    \u003cApp /\u003e\n  \u003c/ChakraProvider\u003e\n)\n```\n\n## Font Configuration\n\nChakra UI Pro Theme uses `Spline Sans` as `heading` font family and `Open Sans` as `body` font family by default. To include this, first, you need to install the font:\n\n```bash\nyarn add @fontsource-variable/spline-sans @fontsource-variable/open-sans\n```\n\nThen, you can import it in your theme setup:\n\n```javascript\nimport '@fontsource-variable/open-sans'\nimport '@fontsource-variable/spline-sans'\n```\n\n\u003e Note: Depending on the platform/framework, the best way to install fonts may differ.\n\n### Using a Different Font\n\nTo use a different font, such as `Inter`, you first need to install the font:\n\n```bash\nyarn add @fontsource-variable/inter\n```\n\nThen, import the font and adjust the `fonts` key in your theme configuration:\n\n```javascript\nimport { theme } from '@chakra-ui/pro-theme'\nimport { extendTheme } from '@chakra-ui/react'\nimport '@fontsource-variable/inter'\n\nconst proTheme = extendTheme(theme)\nconst extenstion = {\n  colors: { ...proTheme.colors, brand: proTheme.colors.teal },\n  fonts: {\n    heading: \"'Inter Variable', -apple-system, system-ui, sans-serif\",\n    body: \"'Inter Variable', -apple-system, system-ui, sans-serif\",\n  },\n}\nconst myTheme = extendTheme(extenstion, proTheme)\n```\n\n## Generating Theme Typings\n\nWith Chakra UI Pro Theme, you can enhance your development experience by generating theme typings. This makes the theme tokens used in the Pro Theme available to your IDE's intellisense, aiding in faster and more accurate development.\n\nTo generate the theme typings, follow these steps:\n\nFirst, install the Chakra CLI as a dev dependency:\n\n```bash\nyarn add --dev @chakra-ui/cli\n```\n\nNext, generate the theme typings using the following command. Replace `'./path-to-theme.ts'` with the actual path to your theme file:\n\n```bash\nyarn chakra-cli tokens ./path-to-theme.ts\n```\n\nOnce this is completed, you may need to \"Restart the TS Server\" in VSCode to see the changes.\n\nFor further information about the Chakra CLI and theme typings, check out the [Chakra CLI documentation](https://chakra-ui.com/docs/styled-system/advanced-theming#theme-typings).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchakra-ui%2Fpro-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchakra-ui%2Fpro-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchakra-ui%2Fpro-theme/lists"}