Update AMP template with accent color if available

This commit is contained in:
John O'Nolan 2021-03-04 14:22:37 -05:00 committed by GitHub
parent e676e26442
commit bdc4d4a0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@
} }
a { a {
color: #1292EE; color: var(--ghost-accent-color, #1292EE);
text-decoration-skip-ink: auto; text-decoration-skip-ink: auto;
} }
@ -278,7 +278,7 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 0.3rem; width: 0.3rem;
background: #000; background: var(--ghost-accent-color, #1292EE);
} }
.post-content :not(.kg-card):not([id]) + .kg-card { .post-content :not(.kg-card):not([id]) + .kg-card {
@ -309,7 +309,7 @@
font-weight: 400; font-weight: 400;
font-size: 0.9em; font-size: 0.9em;
line-height: 1em; line-height: 1em;
color: #dc0050; color: #15171a;
background: #f0f6f9; background: #f0f6f9;
border-radius: 0.25em; border-radius: 0.25em;
} }