Run prettier on files

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
master
Thomas Citharel 2 years ago
parent 6797075461
commit c5255d9f82
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 12
      js/.eslintrc.js
  2. 2
      js/cypress.json
  3. 38
      js/public/index.html
  4. 4
      js/src/common.scss
  5. 1452
      js/src/i18n/es.json
  6. 1348
      js/src/i18n/fi.json
  7. 71
      js/src/variables.scss
  8. 4
      js/src/views/Event/Event.vue
  9. 2
      js/tsconfig.json

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

@ -4,4 +4,4 @@
"baseUrl": "http://localhost:4000",
"viewportWidth": 1920,
"viewportHeight": 1080
}
}

@ -1,22 +1,22 @@
<!DOCTYPE html>
<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>
<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>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
<body>
<noscript>
<strong
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
properly without JavaScript enabled. Please enable it to
continue.</strong
>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

@ -1,6 +1,6 @@
a {
text-decoration: underline;
text-decoration-color: #ED8D07;
text-decoration-color: #ed8d07;
text-decoration-thickness: 2px;
&.navbar-item,
@ -53,4 +53,4 @@ $color-black: #000;
.mention .mention {
background: initial;
margin-right: 0;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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

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

@ -27,4 +27,4 @@
"tests/**/*.tsx"
],
"exclude": ["node_modules"]
}
}

Loading…
Cancel
Save