fovlin_obsidian-acovia-theme/theme.css
2026-06-26 10:29:47 +08:00

56 lines
No EOL
1.1 KiB
CSS

body {
letter-spacing: 0.3px;
}
.theme-dark {
--accent-h: 30;
--accent-s: 100%;
--accent-l: 25%;
--background-primary: #1a1510;
--background-secondary: #2a2520;
--background-secondary-alt: #3a3530;
--background-modifier-form-field: #1f1f1f;
--code-background: #2f2c2a;
--text-normal: #dfd7d0;
--text-muted: #bfb7b0;
--text-accent: #ff7f00;
--code-color: #dfdfdf;
}
.theme-light {
--accent-h: 30;
--accent-s: 100%;
--accent-l: 15%;
--background-primary: #efecea;
--background-secondary: #dfdcda;
--background-secondary-alt: #fffcfa;
--background-modifier-form-field: #dfd7d0;
--code-background: #fffcfa;
--text-normal: #1f1710;
--text-muted: #2f2720;
--text-accent: #7f3f00;
--code-color: #1f001f;
}
/* 不稳定的类 */
pre code, /* 阅读状态下的代码块 */
.cm-hmd-codeblock /* 编辑状态下的代码块 */
{
color: var(--code-color) !important;
}
.cm-inline-code, /* 编辑状态下的行内代码块 */
p code /* 阅读状态下行内代码块 */
{
background-color: #ff7f001f !important;
color: var(--text-accent) !important;
}
p {
padding-bottom: 12px !important;
}