Skip to content

Commit 16a53ee

Browse files
committed
fix: fix demo2 import
1 parent aea3f4e commit 16a53ee

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

demo/demo2.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ import {createElement as h} from 'react';
22
import styled from '../src/react/styled';
33
import {render} from 'react-dom';
44
import {Component} from 'react';
5-
import {theme} from '../../p4-ui/src/theme';
65
import css from '../src/react/css';
76
import {Toggle} from 'libreact/lib/Toggle';
87

8+
export const theme = {
9+
// Main site colors.
10+
smoke: ['#E0E6ED', '#D3DCE6', '#C0CCDA'],
11+
snow: ['#F9FAFC', '#EFF2F7', '#E5E9F2'],
12+
positive: '#13CE66',
13+
};
14+
915
interface ICheckboxProps {
1016
on: boolean,
1117
small?: boolean,

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
"react-dom": "*"
4545
},
4646
"dependencies": {
47-
"fast-extend": "1.0.2",
48-
"freestyler-renderer": "^1.3.6",
49-
"freestyler-util": "^1.3.6"
47+
"fast-extend": "1.0.2"
5048
},
5149
"devDependencies": {
5250
"@types/react": "16.0.38",

0 commit comments

Comments
 (0)