expected ";"
was "@content;"
@content
@mixin text-stroke($weight, $color) {
text-shadow: $weight -$weight 0 $color,
$weight -$weight 0 $color,
-$weight $weight 0 $color,
$weight $weight 0 $color;
@content;
}
@mixin text-stroke($weight, $color, $rest...) {
text-shadow: $weight -$weight 0 $color,
$weight -$weight 0 $color,
-$weight $weight 0 $color,
$weight $weight 0 $color,
$rest;
}
body {
@include text-stroke(10, #fff, ffffffffffff 1 1 1, ffffffffff 2 2 2);
}
const query = `
query($id: Int!) {
user(id: $id) {
name
}
}
`;
fetch('https://gql-placeholder.herokuapp.com/graphql', {
method: 'POST',
headers: {
'content-type': 'application/json',
},
// credentials: 'include',
body: JSON.stringify({
operationName: null,
query,
variables: {
id: 1,
},
}),
})
.then((r) => r.json())
.then(console.log);