Skip to content

Commit 611d7a3

Browse files
author
Manu
committed
changed colors back to primary
1 parent 17c6483 commit 611d7a3

File tree

8 files changed

+66
-16
lines changed

8 files changed

+66
-16
lines changed

.babelrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": ["es2015"],
3+
"plugins": [
4+
"transform-class-properties",
5+
"transform-react-jsx",
6+
"transform-object-rest-spread",
7+
["module-resolver", {
8+
"root": ["./src"],
9+
}],
10+
["import-rename", {"^(.*)\\.jsx$": "$1"}]
11+
]
12+
}

bower.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "material-dashboard-react",
3+
"homepage": "https://github.com/creativetimofficial/material-dashboard-react",
4+
"authors": [
5+
"creative-tim"
6+
],
7+
"description": "A Badass Material-UI Kit based on Material Design",
8+
"main": "public/index.html",
9+
"keywords": [
10+
"material",
11+
"design",
12+
"material-ui",
13+
"material",
14+
"design",
15+
"google",
16+
"twitter"
17+
],
18+
"license": "Creative TIM License",
19+
"ignore": [
20+
"**/.*",
21+
"node_modules",
22+
"bower_components",
23+
"test",
24+
"tests",
25+
"build"
26+
],
27+
"private": true
28+
}

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.4.0",
44
"description": "Material Dashboard React. Coded by Creative Tim",
55
"private": false,
6-
"main": "index.js",
6+
"main": "dist/index.js",
77
"dependencies": {
88
"@material-ui/core": "1.4.1",
99
"@material-ui/icons": "2.0.0",
@@ -28,7 +28,9 @@
2828
"test": "react-scripts test --env=jsdom",
2929
"eject": "react-scripts eject",
3030
"lint:check": "eslint . --ext=js,jsx; exit 0",
31-
"lint:fix": "eslint . --ext=js,jsx --fix; exit 0"
31+
"lint:fix": "eslint . --ext=js,jsx --fix; exit 0",
32+
"build-package-css": "node-sass-chokidar src/assets/scss/material-kit-react.scss dist/material-kit-react.css",
33+
"build-package": "npm run build-package-css && babel src --out-dir dist"
3234
},
3335
"repository": {
3436
"type": "git",
@@ -48,5 +50,13 @@
4850
"eslint-plugin-prettier": "^2.6.2",
4951
"eslint-plugin-react": "^7.10.0",
5052
"prettier": "^1.13.7"
53+
},
54+
"devDependencies": {
55+
"babel-cli": "^6.26.0",
56+
"babel-plugin-module-resolver": "^3.1.1",
57+
"babel-plugin-import-rename": "^1.0.1",
58+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
59+
"babel-plugin-transform-react-jsx": "^6.24.1",
60+
"babel-preset-es2015": "^6.24.1"
5161
}
5262
}

src/views/Icons/Icons.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Icons(props) {
1818
<GridContainer>
1919
<GridItem xs={12} sm={12} md={12}>
2020
<Card plain>
21-
<CardHeader plain color="info">
21+
<CardHeader plain color="primary">
2222
<h4 className={classes.cardTitleWhite}>Material Design Icons</h4>
2323
<p className={classes.cardCategoryWhite}>
2424
Handcrafted by our friends from{" "}

src/views/Notifications/Notifications.jsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Notifications extends React.Component {
8282
const { classes } = this.props;
8383
return (
8484
<Card>
85-
<CardHeader color="info">
85+
<CardHeader color="primary">
8686
<h4 className={classes.cardTitleWhite}>Notifications</h4>
8787
<p className={classes.cardCategoryWhite}>
8888
Handcrafted by our friends from{" "}
@@ -177,7 +177,7 @@ class Notifications extends React.Component {
177177
<GridItem xs={12} sm={12} md={4}>
178178
<Button
179179
fullWidth
180-
color="info"
180+
color="primary"
181181
onClick={() => this.showNotification("tl")}
182182
>
183183
Top Left
@@ -195,7 +195,7 @@ class Notifications extends React.Component {
195195
<GridItem xs={12} sm={12} md={4}>
196196
<Button
197197
fullWidth
198-
color="info"
198+
color="primary"
199199
onClick={() => this.showNotification("tc")}
200200
>
201201
Top Center
@@ -213,7 +213,7 @@ class Notifications extends React.Component {
213213
<GridItem xs={12} sm={12} md={4}>
214214
<Button
215215
fullWidth
216-
color="info"
216+
color="primary"
217217
onClick={() => this.showNotification("tr")}
218218
>
219219
Top Right
@@ -237,7 +237,7 @@ class Notifications extends React.Component {
237237
<GridItem xs={12} sm={12} md={4}>
238238
<Button
239239
fullWidth
240-
color="info"
240+
color="primary"
241241
onClick={() => this.showNotification("bl")}
242242
>
243243
Bottom Left
@@ -255,7 +255,7 @@ class Notifications extends React.Component {
255255
<GridItem xs={12} sm={12} md={4}>
256256
<Button
257257
fullWidth
258-
color="info"
258+
color="primary"
259259
onClick={() => this.showNotification("bc")}
260260
>
261261
Bottom Center
@@ -273,7 +273,7 @@ class Notifications extends React.Component {
273273
<GridItem xs={12} sm={12} md={4}>
274274
<Button
275275
fullWidth
276-
color="info"
276+
color="primary"
277277
onClick={() => this.showNotification("br")}
278278
>
279279
Bottom Right

src/views/TableList/TableList.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function TableList(props) {
4545
<GridContainer>
4646
<GridItem xs={12} sm={12} md={12}>
4747
<Card>
48-
<CardHeader color="info">
48+
<CardHeader color="primary">
4949
<h4 className={classes.cardTitleWhite}>Simple Table</h4>
5050
<p className={classes.cardCategoryWhite}>
5151
Here is a subtitle for this table
@@ -69,7 +69,7 @@ function TableList(props) {
6969
</GridItem>
7070
<GridItem xs={12} sm={12} md={12}>
7171
<Card plain>
72-
<CardHeader plain color="info">
72+
<CardHeader plain color="primary">
7373
<h4 className={classes.cardTitleWhite}>
7474
Table on Plain Background
7575
</h4>

src/views/Typography/Typography.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function TypographyPage(props) {
5353
const { classes } = props;
5454
return (
5555
<Card>
56-
<CardHeader color="info">
56+
<CardHeader color="primary">
5757
<h4 className={classes.cardTitleWhite}>Material Dashboard Heading</h4>
5858
<p className={classes.cardCategoryWhite}>
5959
Created using Roboto Font Family

src/views/UserProfile/UserProfile.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function UserProfile(props) {
4141
<GridContainer>
4242
<GridItem xs={12} sm={12} md={8}>
4343
<Card>
44-
<CardHeader color="info">
44+
<CardHeader color="primary">
4545
<h4 className={classes.cardTitleWhite}>Edit Profile</h4>
4646
<p className={classes.cardCategoryWhite}>Complete your profile</p>
4747
</CardHeader>
@@ -145,7 +145,7 @@ function UserProfile(props) {
145145
</GridContainer>
146146
</CardBody>
147147
<CardFooter>
148-
<Button color="info">Update Profile</Button>
148+
<Button color="primary">Update Profile</Button>
149149
</CardFooter>
150150
</Card>
151151
</GridItem>
@@ -164,7 +164,7 @@ function UserProfile(props) {
164164
human foundation in truth And I love you like Kanye loves Kanye
165165
I love Rick Owens’ bed design but the back is...
166166
</p>
167-
<Button color="info" round>
167+
<Button color="primary" round>
168168
Follow
169169
</Button>
170170
</CardBody>

0 commit comments

Comments
 (0)