mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 15:01:06 +11:00
Add monochrome theme with grayscale filter (#4541)
This commit is contained in:
parent
10fa9f6d17
commit
46b6ae53bb
5 changed files with 186 additions and 39 deletions
|
|
@ -81,6 +81,15 @@
|
|||
--vp-custom-block-danger-text-deep: theme('colors.carnation.200');
|
||||
}
|
||||
|
||||
.monochrome {
|
||||
|
||||
[class*='i-'],
|
||||
svg,
|
||||
img:not(.VPImage) {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.vp-doc a {
|
||||
color: var(--vp-c-brand-1);
|
||||
text-decoration: underline;
|
||||
|
|
@ -138,17 +147,13 @@
|
|||
*/
|
||||
:root {
|
||||
--vp-home-hero-name-color: transparent;
|
||||
--vp-home-hero-name-background: -webkit-linear-gradient(
|
||||
120deg,
|
||||
#c4b5fd 30%,
|
||||
#7bc5e4
|
||||
);
|
||||
--vp-home-hero-name-background: -webkit-linear-gradient(120deg,
|
||||
#c4b5fd 30%,
|
||||
#7bc5e4);
|
||||
|
||||
--vp-home-hero-image-background-image: linear-gradient(
|
||||
-45deg,
|
||||
#c4b5fd 50%,
|
||||
#47caff 50%
|
||||
);
|
||||
--vp-home-hero-image-background-image: linear-gradient(-45deg,
|
||||
#c4b5fd 50%,
|
||||
#47caff 50%);
|
||||
--vp-home-hero-image-filter: blur(44px);
|
||||
}
|
||||
|
||||
|
|
@ -223,6 +228,7 @@
|
|||
animation: nprogress-spinner 400ms linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
.nprogress-custom-parent {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
|
@ -253,7 +259,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
#VPContent strong > a {
|
||||
#VPContent strong>a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue