mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Lint and Format
This commit is contained in:
parent
44e9fa7a5b
commit
0db0885eb3
@ -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",
|
||||||
|
@ -21,9 +21,9 @@ export default ({ mode }) => {
|
|||||||
"meta",
|
"meta",
|
||||||
{
|
{
|
||||||
name: "theme-color",
|
name: "theme-color",
|
||||||
content: "#818CF8"
|
content: "#818CF8",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
@ -38,8 +38,9 @@ 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:
|
||||||
copyright: `Copyright © 2015 - ${ new Date().getFullYear() } Javier Tomás`,
|
"<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: {
|
search: {
|
||||||
|
@ -10,22 +10,22 @@
|
|||||||
* Colors
|
* Colors
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
:root .page-neko {
|
:root .page-neko {
|
||||||
--vp-c-brand: #ff6884 !important;
|
--vp-c-brand: #ff6884 !important;
|
||||||
--vp-c-brand-light: #ff8da2;
|
--vp-c-brand-light: #ff8da2;
|
||||||
--vp-c-brand-lighter: #ffb3c1;
|
--vp-c-brand-lighter: #ffb3c1;
|
||||||
--vp-c-brand-lightest: #ffd9e0;
|
--vp-c-brand-lightest: #ffd9e0;
|
||||||
--vp-c-brand-dark: #bf4e63;
|
--vp-c-brand-dark: #bf4e63;
|
||||||
--vp-c-brand-darker: #7f3442;
|
--vp-c-brand-darker: #7f3442;
|
||||||
--vp-c-brand-darkest: #3f1a21;
|
--vp-c-brand-darkest: #3f1a21;
|
||||||
--vp-c-brand-dimm: rgba(255, 109, 137, 0.08);
|
--vp-c-brand-dimm: rgba(255, 109, 137, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component: Button
|
* Component: Button
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
:root .page-neko {
|
:root .page-neko {
|
||||||
--vp-button-brand-text: var(--vp-c-black);
|
--vp-button-brand-text: var(--vp-c-black);
|
||||||
--vp-button-brand-hover-text: var(--vp-c-black);
|
--vp-button-brand-hover-text: var(--vp-c-black);
|
||||||
--vp-button-brand-active-text: var(--vp-c-black);
|
--vp-button-brand-active-text: var(--vp-c-black);
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
:root .page-tachiyomiaz {
|
:root .page-tachiyomiaz {
|
||||||
--vp-c-brand: #ffcc4d;
|
--vp-c-brand: #ffcc4d;
|
||||||
--vp-c-brand-light: #ffd879;
|
--vp-c-brand-light: #ffd879;
|
||||||
--vp-c-brand-lighter: #ffe5a6;
|
--vp-c-brand-lighter: #ffe5a6;
|
||||||
--vp-c-brand-lightest: #fff2d2;
|
--vp-c-brand-lightest: #fff2d2;
|
||||||
--vp-c-brand-dark: #bf9939;
|
--vp-c-brand-dark: #bf9939;
|
||||||
--vp-c-brand-darker: #7f6626;
|
--vp-c-brand-darker: #7f6626;
|
||||||
--vp-c-brand-darkest: #3f3313;
|
--vp-c-brand-darkest: #3f3313;
|
||||||
--vp-c-brand-dimm: rgba(255, 204, 77, 0.08);
|
--vp-c-brand-dimm: rgba(255, 204, 77, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
:root .page-tachiyomij2k {
|
:root .page-tachiyomij2k {
|
||||||
--vp-c-brand: #0952af;
|
--vp-c-brand: #0952af;
|
||||||
--vp-c-brand-light: #467dc3;
|
--vp-c-brand-light: #467dc3;
|
||||||
--vp-c-brand-lighter: #84a8d7;
|
--vp-c-brand-lighter: #84a8d7;
|
||||||
--vp-c-brand-lightest: #c1d3eb;
|
--vp-c-brand-lightest: #c1d3eb;
|
||||||
--vp-c-brand-dark: #063d83;
|
--vp-c-brand-dark: #063d83;
|
||||||
--vp-c-brand-darker: #042957;
|
--vp-c-brand-darker: #042957;
|
||||||
--vp-c-brand-darkest: #02142b;
|
--vp-c-brand-darkest: #02142b;
|
||||||
--vp-c-brand-dimm: rgba(9, 82, 175, 0.08);
|
--vp-c-brand-dimm: rgba(9, 82, 175, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
:root .page-tachiyomisy {
|
:root .page-tachiyomisy {
|
||||||
--vp-c-brand: #ce2828;
|
--vp-c-brand: #ce2828;
|
||||||
--vp-c-brand-light: #da5d5d;
|
--vp-c-brand-light: #da5d5d;
|
||||||
--vp-c-brand-lighter: #e69393;
|
--vp-c-brand-lighter: #e69393;
|
||||||
--vp-c-brand-lightest: #f2c9c9;
|
--vp-c-brand-lightest: #f2c9c9;
|
||||||
--vp-c-brand-dark: #9a1e1e;
|
--vp-c-brand-dark: #9a1e1e;
|
||||||
--vp-c-brand-darker: #671414;
|
--vp-c-brand-darker: #671414;
|
||||||
--vp-c-brand-darkest: #330a0a;
|
--vp-c-brand-darkest: #330a0a;
|
||||||
--vp-c-brand-dimm: rgba(206, 40, 40, 0.08);
|
--vp-c-brand-dimm: rgba(206, 40, 40, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user