Run prettier on files

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-06-25 11:38:12 +02:00
parent 6797075461
commit c5255d9f82
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
9 changed files with 1468 additions and 1465 deletions

View file

@ -50,10 +50,12 @@ module.exports = {
ignorePatterns: ["src/typings/*.d.ts", "vue.config.js"], ignorePatterns: ["src/typings/*.d.ts", "vue.config.js"],
overrides: [{ overrides: [
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"], {
env: { files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],
mocha: true, env: {
mocha: true,
},
}, },
}], ],
}; };

View file

@ -1,22 +1,22 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<meta name="server-injected-data" />
</head>
<head> <body>
<meta charset="utf-8" /> <noscript>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <strong
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
<link rel="icon" href="<%= BASE_URL %>favicon.ico" /> properly without JavaScript enabled. Please enable it to
<meta name="server-injected-data" /> continue.</strong
</head> >
</noscript>
<body> <div id="app"></div>
<noscript> <!-- built files will be auto injected -->
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work </body>
properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html> </html>

View file

@ -1,6 +1,6 @@
a { a {
text-decoration: underline; text-decoration: underline;
text-decoration-color: #ED8D07; text-decoration-color: #ed8d07;
text-decoration-thickness: 2px; text-decoration-thickness: 2px;
&.navbar-item, &.navbar-item,

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -7,19 +7,19 @@ $violet: #424056;
/** /**
* Text body, paragraphs * Text body, paragraphs
*/ */
$violet-1: #3A384C; $violet-1: #3a384c;
$violet-2: #474467; $violet-2: #474467;
/** /**
* Titles, dark borders, buttons * Titles, dark borders, buttons
*/ */
$violet-3: #3C376E; $violet-3: #3c376e;
/** /**
* Borders * Borders
*/ */
$borders: #D7D6DE; $borders: #d7d6de;
$backgrounds: #ECEBF2; $backgrounds: #ecebf2;
/** /**
* Text * Text
@ -29,15 +29,15 @@ $purple-1: #757199;
/** /**
* Background * Background
*/ */
$purple-2: #CDCAEA; $purple-2: #cdcaea;
$purple-3: #E6E4F4; $purple-3: #e6e4f4;
$orange-2: #ED8D07; $orange-2: #ed8d07;
$orange-3: #D35204; $orange-3: #d35204;
$yellow-1: #FFD599; $yellow-1: #ffd599;
$yellow-2: #FFF1DE; $yellow-2: #fff1de;
$yellow-3: #FBD5CB; $yellow-3: #fbd5cb;
$yellow-4: #f7ba30; $yellow-4: #f7ba30;
$primary: $bleuvert; $primary: $bleuvert;
@ -47,36 +47,45 @@ $secondary-invert: findColorInvert($secondary);
$background-color: $violet-2; $background-color: $violet-2;
$success: #0D8758; $success: #0d8758;
$success-invert: findColorInvert($success); $success-invert: findColorInvert($success);
$info: #36bcd4; $info: #36bcd4;
$info-invert: findColorInvert($info); $info-invert: findColorInvert($info);
$danger: #FF2E54; $danger: #ff2e54;
$danger-invert: findColorInvert($danger); $danger-invert: findColorInvert($danger);
$link: $primary; $link: $primary;
$link-invert: $primary-invert; $link-invert: $primary-invert;
$text: $violet-1; $text: $violet-1;
$colors: map-merge($colors, $colors: map-merge(
("primary": ($primary, $colors,
(
"primary": (
$primary,
$primary-invert, $primary-invert,
), ),
"secondary": ($secondary, "secondary": (
$secondary,
$secondary-invert, $secondary-invert,
), ),
"success": ($success, "success": (
$success,
$success-invert, $success-invert,
), ),
"info": ($info, "info": (
$info,
$info-invert, $info-invert,
), ),
"danger": ($danger, "danger": (
$danger,
$danger-invert, $danger-invert,
), ),
"link": ($link, "link": (
$link,
$link-invert, $link-invert,
), ),
)); )
);
// Navbar // Navbar
$navbar-background-color: $secondary; $navbar-background-color: $secondary;
@ -91,29 +100,21 @@ $body-background-color: #efeef4;
$fullhd-enabled: false; $fullhd-enabled: false;
$hero-body-padding-medium: 6rem 1.5rem; $hero-body-padding-medium: 6rem 1.5rem;
main>.container { main > .container {
background: $body-background-color; background: $body-background-color;
} }
$title-color: #3c376e; $title-color: #3c376e;
$title-family: "Liberation Sans", $title-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial,
"Helvetica Neue", serif;
Roboto,
Helvetica,
Arial,
serif;
$title-weight: 700; $title-weight: 700;
$title-size: 40px; $title-size: 40px;
$title-sub-size: 45px; $title-sub-size: 45px;
$title-sup-size: 30px; $title-sup-size: 30px;
$subtitle-color: #3a384c; $subtitle-color: #3a384c;
$subtitle-family: "Liberation Sans", $subtitle-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial,
"Helvetica Neue", serif;
Roboto,
Helvetica,
Arial,
serif;
$subtitle-weight: 400; $subtitle-weight: 400;
$subtitle-size: 32px; $subtitle-size: 32px;
$subtitle-sub-size: 30px; $subtitle-sub-size: 30px;

View file

@ -756,9 +756,9 @@ export default class Event extends EventMixin {
}); });
}); });
this.$on('eventDeleted', () => { this.$on("eventDeleted", () => {
return this.$router.push({ name: RouteName.HOME }); return this.$router.push({ name: RouteName.HOME });
}) });
} }
/** /**