Lint and Format

This commit is contained in:
Soitora 2023-07-20 01:52:43 +02:00
parent 44e9fa7a5b
commit 0db0885eb3
7 changed files with 27 additions and 18 deletions

View File

@ -17,7 +17,7 @@
"docs:preview": "vitepress preview src",
"format": "prettier --check --write .",
"format:fail": "prettier --check .",
"lint:mdl": "markdownlint \"**/*.md\" \".github/**/*.md\" --enable sentences-per-line --disable MD025"
"lint:mdl": "markdownlint \"**/*.md\" \".github/**/*.md\" --enable sentences-per-line --disable MD025 MD033"
},
"devDependencies": {
"markdownlint": "^0.29.0",

View File

@ -21,9 +21,9 @@ export default ({ mode }) => {
"meta",
{
name: "theme-color",
content: "#818CF8"
}
]
content: "#818CF8",
},
],
],
themeConfig: {
@ -38,8 +38,9 @@ export default ({ mode }) => {
},
footer: {
message: "<strong><a href='https://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Open-source Apache Licensed</a></strong> | <strong><a href='./privacy'>Privacy policy</a></strong>",
copyright: `Copyright © 2015 - ${ new Date().getFullYear() } Javier Tomás`,
message:
"<strong><a href='https://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Open-source Apache Licensed</a></strong> | <strong><a href='./privacy'>Privacy policy</a></strong>",
copyright: `Copyright © 2015 - ${new Date().getFullYear()} Javier Tomás`,
},
search: {

View File

@ -10,7 +10,7 @@
* Colors
* -------------------------------------------------------------------------- */
:root .page-neko {
:root .page-neko {
--vp-c-brand: #ff6884 !important;
--vp-c-brand-light: #ff8da2;
--vp-c-brand-lighter: #ffb3c1;

View File

@ -42,12 +42,20 @@
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, var(--vp-c-brand) 30%, var(--vp-c-brand-dark));
--vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-brand-light) 50%, var(--vp-c-brand-lighter) 50%);
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
var(--vp-c-brand-light) 50%,
var(--vp-c-brand-lighter) 50%
);
--vp-home-hero-image-filter: blur(40px);
}
.dark {
--vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-brand-darker) 25%, var(--vp-c-brand-darkest) 25%);
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
var(--vp-c-brand-darker) 25%,
var(--vp-c-brand-darkest) 25%
);
}
@media (min-width: 640px) {