Skip to content

Commit 8b56e06

Browse files
author
committed
Deployed 8c8df0a with MkDocs version: 1.6.1
1 parent 6b93295 commit 8b56e06

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

assets/javascripts/theme-palette.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,15 @@
8181
lines.push(` --md-primary-fg-color--light: ${p} !important;`);
8282
lines.push(` --md-primary-fg-color--dark: ${p} !important;`);
8383
if (pRgb) lines.push(` --md-primary-fg-color--rgb: ${pRgb.r}, ${pRgb.g}, ${pRgb.b} !important;`);
84+
if (pRgb) lines.push(` --md-primary-fg-color--transparent: rgba(${pRgb.r}, ${pRgb.g}, ${pRgb.b}, 0.12) !important;`);
8485
}
8586
if (a) {
8687
lines.push(` --md-accent-fg-color: ${a} !important;`);
8788
if (aRgb) lines.push(` --md-accent-fg-color--rgb: ${aRgb.r}, ${aRgb.g}, ${aRgb.b} !important;`);
89+
if (aRgb) lines.push(` --md-accent-fg-color--transparent: rgba(${aRgb.r}, ${aRgb.g}, ${aRgb.b}, 0.12) !important;`);
90+
lines.push(` --md-typeset-a-color: ${a} !important;`);
91+
lines.push(` --md-typeset-a-color--hover: ${a} !important;`);
92+
lines.push(` --md-typeset-mark-color: ${a} !important;`);
8893
}
8994
lines.push("}");
9095

0 commit comments

Comments
 (0)