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", "docs:preview": "vitepress preview src",
"format": "prettier --check --write .", "format": "prettier --check --write .",
"format:fail": "prettier --check .", "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": { "devDependencies": {
"markdownlint": "^0.29.0", "markdownlint": "^0.29.0",

View File

@ -21,9 +21,9 @@ export default ({ mode }) => {
"meta", "meta",
{ {
name: "theme-color", name: "theme-color",
content: "#818CF8" content: "#818CF8",
} },
] ],
], ],
themeConfig: { themeConfig: {
@ -38,7 +38,8 @@ export default ({ mode }) => {
}, },
footer: { 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>", 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`, copyright: `Copyright © 2015 - ${new Date().getFullYear()} Javier Tomás`,
}, },

View File

@ -42,12 +42,20 @@
--vp-home-hero-name-color: transparent; --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-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); --vp-home-hero-image-filter: blur(40px);
} }
.dark { .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) { @media (min-width: 640px) {