diff --git a/src/components/App.css b/src/components/App.css
index 317e290..cfd88f0 100644
--- a/src/components/App.css
+++ b/src/components/App.css
@@ -20,6 +20,5 @@ footer{
margin-top:40px;
padding:10px;
font-size: 14px;
- border-top:1px solid #cccccc
- ;
+ border-top:1px solid #cccccc;
}
\ No newline at end of file
diff --git a/src/components/ComponentToImg.js b/src/components/ComponentToImg.js
index 717046e..9804b39 100644
--- a/src/components/ComponentToImg.js
+++ b/src/components/ComponentToImg.js
@@ -11,6 +11,7 @@ class ComponentToImg extends React.Component {
render() {
console.log(this.props.children);
let downloadButton;
+ // eslint-disable-next-line default-case
switch (this.props.downloadAs) {
case "PNG":
downloadButton = ;
diff --git a/src/components/ConfigCover.css b/src/components/ConfigCover.css
index fe58b14..527c92b 100644
--- a/src/components/ConfigCover.css
+++ b/src/components/ConfigCover.css
@@ -29,16 +29,29 @@ input {
margin: 4px;
}
+input[type=number]{
+ width:40px;
+}
+
+.custom-range::-webkit-slider-thumb{
+ background-color: #00cc7a;
+}
+.input-sm{
+ width:80px;
+}
+.input-md{
+ width:120px;
+}
.inputTitle {
- height: 40px;
- width: auto;
border-radius: 4px;
padding-left: 20px;
}
.reset-btn {
- background-color: #fc5c65;
+ background-color: #00e68a;
margin-top: 10px;
+ box-shadow: 4px 4px #676683;
+
}
@media screen and (max-width: 600px) {
diff --git a/src/components/ConfigCover.js b/src/components/ConfigCover.js
index 4f4a4a2..a31d6a7 100644
--- a/src/components/ConfigCover.js
+++ b/src/components/ConfigCover.js
@@ -6,7 +6,7 @@ import ComponentToImg from "./ComponentToImg";
const defaultSettings = {
title: "How I built my first project with react",
bgColor: "#00ff99",
- borderColor: "#8c52ff",
+ borderColor: "#676683",
borderSize: "18",
borderType: "solid",
pattern: "",
@@ -42,7 +42,9 @@ class ConfigCover extends React.Component {
this.setState({ borderColor: e.target.value })} />
+
+
this.setState({ foregroundColor: e.target.value })}
/>
-
this.setState({ textColor: e.target.value })} />
+
this.setState({ opacity: e.target.value })}
>
-
- this.setState({ borderSize: e.target.value })} />
-
-
+
+
+ this.setState({ borderSize: e.target.value })} />
+
+
+
+
-
-
+
+
+
+
+
diff --git a/src/components/CoverImage.css b/src/components/CoverImage.css
index 1d9e126..f58b3f5 100644
--- a/src/components/CoverImage.css
+++ b/src/components/CoverImage.css
@@ -7,7 +7,7 @@
height:420px;
width:800px;
padding:90px;
- margin:30px 0px 15px 0px;
+ margin:00px 0px 15px 0px;
}
.title-card{
@@ -42,7 +42,7 @@ button{
border-radius:4px;
padding:10px;
margin:auto ;
- width:100px;
+ width:150px;
text-align: center;
box-shadow: 4px 4px #cccccc;
}
diff --git a/src/components/CoverImage.js b/src/components/CoverImage.js
index 238af75..5411990 100644
--- a/src/components/CoverImage.js
+++ b/src/components/CoverImage.js
@@ -7,7 +7,7 @@ class CoverImage extends React.Component {
var c;
if (/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)) {
c = hex.substring(1).split("");
- if (c.length == 3) {
+ if (c.length === 3) {
c = [c[0], c[0], c[1], c[1], c[2], c[2]];
}
c = "0x" + c.join("");