cherry-styled-components 0.1.0-13 → 0.1.0-15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Introduction
4
4
 
5
- The Cherry Design System is a versatile foundation for projects. It offers a white label base, ready-to-use Figma designs, React components, theming support and is open source. Explore the [documentation](https://cherry.design/) to create delightful user interfaces.
5
+ Cherry Design System is a versatile foundation for projects. It offers a white label base, ready-to-use Figma designs, open-source React components, theming support with dark mode. Explore the [docs](https://cherry.design/) to create delightful user interfaces.
6
6
 
7
7
  ---
8
8
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "cherry-styled-components",
3
- "version": "0.1.0-13",
3
+ "version": "0.1.0-15",
4
+ "description": "Cherry is a design system for the modern web. Designed in Figma, built in React using Typescript.",
4
5
  "private": false,
5
6
  "type": "module",
6
7
  "main": "./dist/cherry.umd.cjs",
@@ -13,7 +14,9 @@
13
14
  "keywords": [
14
15
  "cherry",
15
16
  "react",
17
+ "figma",
16
18
  "components",
19
+ "ui",
17
20
  "css",
18
21
  "framework",
19
22
  "design",
@@ -37,7 +40,7 @@
37
40
  "eslint": "^8.57.0",
38
41
  "eslint-plugin-react-hooks": "^4.6.0",
39
42
  "eslint-plugin-react-refresh": "^0.4.6",
40
- "next": "^14.1.3",
43
+ "next": "^14.1.4",
41
44
  "polished": "^4.3.1",
42
45
  "prettier": "^3.2.5",
43
46
  "styled-components": "^6.1.8",
package/src/main.tsx CHANGED
@@ -1,12 +1,17 @@
1
1
  import React from "react";
2
2
  import ReactDOM from "react-dom/client";
3
- import { CherryThemeProvider, StyledComponentsRegistry } from "./lib/index.js";
3
+ import {
4
+ CherryThemeProvider,
5
+ StyledComponentsRegistry,
6
+ theme,
7
+ themeDark,
8
+ } from "./lib/index.js";
4
9
  import App from "./App";
5
10
 
6
11
  ReactDOM.createRoot(document.getElementById("root")!).render(
7
12
  <React.StrictMode>
8
13
  <StyledComponentsRegistry>
9
- <CherryThemeProvider>
14
+ <CherryThemeProvider theme={theme} themeDark={themeDark}>
10
15
  <App />
11
16
  </CherryThemeProvider>
12
17
  </StyledComponentsRegistry>