[design]: update snapshots

This commit is contained in:
41666 2019-05-20 06:29:20 -04:00
parent 2cfc1a5831
commit fe85c5ea9a
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF

View file

@ -11,9 +11,9 @@ exports[`Storyshots Button Default 1`] = `
Object {
"actions": Object {
"primary": "#46b646",
"primaryText": "#efefef",
"secondary": "#e95353",
"secondaryText": "#efefef",
},
"button": Object {
"borderRadius": "2px",
},
}
}
@ -33,9 +33,9 @@ exports[`Storyshots Button Disabled 1`] = `
Object {
"actions": Object {
"primary": "#46b646",
"primaryText": "#efefef",
"secondary": "#e95353",
"secondaryText": "#efefef",
},
"button": Object {
"borderRadius": "2px",
},
}
}
@ -55,9 +55,9 @@ exports[`Storyshots Button Loading 1`] = `
Object {
"actions": Object {
"primary": "#46b646",
"primaryText": "#efefef",
"secondary": "#e95353",
"secondaryText": "#efefef",
},
"button": Object {
"borderRadius": "2px",
},
}
}
@ -96,7 +96,15 @@ exports[`Storyshots Button Primary 1`] = `
padding: 1em 1.4em;
font-weight: bold;
border: 1px solid rgba(0,0,0,0.1);
border-radius: ",
[Function],
";
&:disabled {
cursor: not-allowed;
}
&:not(:disabled) {
&::after {
content: \\"\\";
position: absolute;
@ -136,6 +144,7 @@ exports[`Storyshots Button Primary 1`] = `
background-color: rgba(0, 0, 0, 0.1);
}
}
}
",
"
background-color: ",
@ -151,9 +160,9 @@ exports[`Storyshots Button Primary 1`] = `
"theme": Object {
"actions": Object {
"primary": "#46b646",
"primaryText": "#efefef",
"secondary": "#e95353",
"secondaryText": "#efefef",
},
"button": Object {
"borderRadius": "2px",
},
},
},
@ -208,7 +217,15 @@ exports[`Storyshots Button Secondary 1`] = `
padding: 1em 1.4em;
font-weight: bold;
border: 1px solid rgba(0,0,0,0.1);
border-radius: ",
[Function],
";
&:disabled {
cursor: not-allowed;
}
&:not(:disabled) {
&::after {
content: \\"\\";
position: absolute;
@ -248,14 +265,23 @@ exports[`Storyshots Button Secondary 1`] = `
background-color: rgba(0, 0, 0, 0.1);
}
}
}
",
"
background-color: ",
background-color: transparent;
border-color: transparent;
&:hover {
border-color: ",
[Function],
";
color: ",
}
&:active {
border-color: ",
[Function],
";
}
",
],
},
@ -263,9 +289,9 @@ exports[`Storyshots Button Secondary 1`] = `
"theme": Object {
"actions": Object {
"primary": "#46b646",
"primaryText": "#efefef",
"secondary": "#e95353",
"secondaryText": "#efefef",
},
"button": Object {
"borderRadius": "2px",
},
},
},