@typestyles/next 0.0.0-unstable.6c696fbd20ce → 0.0.0-unstable.82ebd9c88257

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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -266,9 +266,11 @@ import { tokens } from 'typestyles';
266
266
  import { getRegisteredCss } from '@typestyles/next';
267
267
 
268
268
  const darkTheme = tokens.createTheme('dark', {
269
- color: {
270
- background: '#1a1a1a',
271
- text: '#ffffff',
269
+ base: {
270
+ color: {
271
+ background: '#1a1a1a',
272
+ text: '#ffffff',
273
+ },
272
274
  },
273
275
  });
274
276
 
@@ -276,7 +278,7 @@ export default function RootLayout({ children }) {
276
278
  const css = getRegisteredCss();
277
279
 
278
280
  return (
279
- <html className={darkTheme}>
281
+ <html className={darkTheme.className}>
280
282
  <head>{css && <style dangerouslySetInnerHTML={{ __html: css }} />}</head>
281
283
  <body>{children}</body>
282
284
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typestyles/next",
3
- "version": "0.0.0-unstable.6c696fbd20ce",
3
+ "version": "0.0.0-unstable.82ebd9c88257",
4
4
  "description": "Next.js integration for typestyles SSR",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -77,7 +77,7 @@
77
77
  "react": "^18.0.0",
78
78
  "react-dom": "^18.0.0",
79
79
  "tsup": "^8.0.0",
80
- "typestyles": "0.0.0-unstable.6c696fbd20ce",
80
+ "typestyles": "0.0.0-unstable.82ebd9c88257",
81
81
  "typescript": "^5.4.0",
82
82
  "webpack": "^5.97.1"
83
83
  },