mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-10-31 23:15:05 +01:00
Lint and Format
This commit is contained in:
parent
44e9fa7a5b
commit
0db0885eb3
@ -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",
|
||||
|
@ -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: {
|
||||
|
@ -10,22 +10,22 @@
|
||||
* Colors
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
:root .page-neko {
|
||||
--vp-c-brand: #ff6884 !important;
|
||||
:root .page-neko {
|
||||
--vp-c-brand: #ff6884 !important;
|
||||
--vp-c-brand-light: #ff8da2;
|
||||
--vp-c-brand-lighter: #ffb3c1;
|
||||
--vp-c-brand-lightest: #ffd9e0;
|
||||
--vp-c-brand-dark: #bf4e63;
|
||||
--vp-c-brand-darker: #7f3442;
|
||||
--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
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
:root .page-neko {
|
||||
:root .page-neko {
|
||||
--vp-button-brand-text: var(--vp-c-black);
|
||||
--vp-button-brand-hover-text: var(--vp-c-black);
|
||||
--vp-button-brand-active-text: var(--vp-c-black);
|
||||
|
@ -11,14 +11,14 @@
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
:root .page-tachiyomiaz {
|
||||
--vp-c-brand: #ffcc4d;
|
||||
--vp-c-brand: #ffcc4d;
|
||||
--vp-c-brand-light: #ffd879;
|
||||
--vp-c-brand-lighter: #ffe5a6;
|
||||
--vp-c-brand-lightest: #fff2d2;
|
||||
--vp-c-brand-dark: #bf9939;
|
||||
--vp-c-brand-darker: #7f6626;
|
||||
--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 {
|
||||
--vp-c-brand: #0952af;
|
||||
--vp-c-brand: #0952af;
|
||||
--vp-c-brand-light: #467dc3;
|
||||
--vp-c-brand-lighter: #84a8d7;
|
||||
--vp-c-brand-lightest: #c1d3eb;
|
||||
--vp-c-brand-dark: #063d83;
|
||||
--vp-c-brand-darker: #042957;
|
||||
--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 {
|
||||
--vp-c-brand: #ce2828;
|
||||
--vp-c-brand: #ce2828;
|
||||
--vp-c-brand-light: #da5d5d;
|
||||
--vp-c-brand-lighter: #e69393;
|
||||
--vp-c-brand-lightest: #f2c9c9;
|
||||
--vp-c-brand-dark: #9a1e1e;
|
||||
--vp-c-brand-darker: #671414;
|
||||
--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-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) {
|
||||
|
Loading…
Reference in New Issue
Block a user