Run prettier on files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6797075461
commit
c5255d9f82
@ -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)"],
|
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],
|
||||||
env: {
|
env: {
|
||||||
mocha: true,
|
mocha: true,
|
||||||
},
|
},
|
||||||
}],
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
@ -11,12 +10,13 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
<strong
|
||||||
|
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
|
||||||
properly without JavaScript enabled. Please enable it to
|
properly without JavaScript enabled. Please enable it to
|
||||||
continue.</strong>
|
continue.</strong
|
||||||
|
>
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -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,
|
||||||
|
@ -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;
|
||||||
@ -96,11 +105,7 @@ main>.container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$title-color: #3c376e;
|
$title-color: #3c376e;
|
||||||
$title-family: "Liberation Sans",
|
$title-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial,
|
||||||
"Helvetica Neue",
|
|
||||||
Roboto,
|
|
||||||
Helvetica,
|
|
||||||
Arial,
|
|
||||||
serif;
|
serif;
|
||||||
$title-weight: 700;
|
$title-weight: 700;
|
||||||
$title-size: 40px;
|
$title-size: 40px;
|
||||||
@ -108,11 +113,7 @@ $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",
|
|
||||||
Roboto,
|
|
||||||
Helvetica,
|
|
||||||
Arial,
|
|
||||||
serif;
|
serif;
|
||||||
$subtitle-weight: 400;
|
$subtitle-weight: 400;
|
||||||
$subtitle-size: 32px;
|
$subtitle-size: 32px;
|
||||||
|
@ -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 });
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user