Skip to content

Commit 01383c2

Browse files
committed
fix(package.json): support react > 16.8
1 parent 823b0bb commit 01383c2

File tree

3 files changed

+47
-37
lines changed

3 files changed

+47
-37
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ import { createGlobalStyle, ThemeProvider } from 'styled-components';
4444

4545
import { styleReset, List, ListItem, Divider } from 'react95';
4646
// pick a theme of your choice
47-
import original from "react95/dist/themes/original";
47+
import original from 'react95/dist/themes/original';
4848
// original Windows95 font (optionally)
49-
import ms_sans_serif from "react95/dist/fonts/ms_sans_serif.woff2";
50-
import ms_sans_serif_bold from "react95/dist/fonts/ms_sans_serif_bold.woff2";
49+
import ms_sans_serif from 'react95/dist/fonts/ms_sans_serif.woff2';
50+
import ms_sans_serif_bold from 'react95/dist/fonts/ms_sans_serif_bold.woff2';
5151

5252
const GlobalStyles = createGlobalStyle`
53+
${styleReset}
5354
@font-face {
5455
font-family: 'ms_sans_serif';
5556
src: url('${ms_sans_serif}') format('woff2');
@@ -65,7 +66,6 @@ const GlobalStyles = createGlobalStyle`
6566
body {
6667
font-family: 'ms_sans_serif';
6768
}
68-
${styleReset}
6969
`;
7070

7171
const App = () => (
@@ -94,4 +94,3 @@ Apps built with React95 will be featured on the official React95 [website](https
9494
Any help from UI / UX designers would be EXTREMELY appreciated. The challenge is to come up with new component designs / layouts that are broadly used in modern UIs, that weren't present back in 95.
9595

9696
If you want to help with the project, feel free to open pull requests and submit issues or component proposals. Let's bring this UI back to life ♥️
97-

package-lock.json

+36-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"author": "Artur Bień <[email protected]> (https://www.linkedin.com/in/arturbien/)",
1313
"funding": [
1414
{
15-
"type" : "paypal",
16-
"url" : "https://www.paypal.me/react95"
15+
"type": "paypal",
16+
"url": "https://www.paypal.me/react95"
1717
},
1818
{
19-
"type" : "patreon",
20-
"url" : "https://www.patreon.com/arturbien"
19+
"type": "patreon",
20+
"url": "https://www.patreon.com/arturbien"
2121
}
2222
],
2323
"license": "MIT",
@@ -49,9 +49,9 @@
4949
"docs:build": "docz build"
5050
},
5151
"peerDependencies": {
52-
"react": "^16.8.2 || ^17.0.0",
53-
"react-dom": "^16.8.2 || ^17.0.0",
54-
"styled-components": "^5.0.0"
52+
"react": ">= 16.8.0",
53+
"react-dom": ">= 16.8.0",
54+
"styled-components": ">= 5.3.3"
5555
},
5656
"devDependencies": {
5757
"@babel/cli": "^7.17.0",

0 commit comments

Comments
 (0)