mirror of https://github.com/jpanther/congo.git
🐛 Fix code block style within links
parent
44bc4fbeb8
commit
40899da9a8
|
@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
- Site logo image dimensions are unconstrained ([#19](https://github.com/jpanther/congo/issues/19))
|
- Site logo image dimensions are unconstrained ([#19](https://github.com/jpanther/congo/issues/19))
|
||||||
- Article summary styled incorrectly in dark mode
|
- Article summary styled incorrectly in dark mode
|
||||||
|
- Links containing `code` blocks styled incorrectly
|
||||||
|
|
||||||
## [1.4.0] - 2021-10-20
|
## [1.4.0] - 2021-10-20
|
||||||
|
|
||||||
|
|
|
@ -787,7 +787,7 @@ video {
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose a code {
|
.prose a code {
|
||||||
color: #111827;
|
color: var(--color-secondary-700);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose pre {
|
.prose pre {
|
||||||
|
@ -2457,6 +2457,11 @@ body a, body button {
|
||||||
text-decoration-color: var(--color-neutral-500);
|
text-decoration-color: var(--color-neutral-500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark .dark\:prose-light a:hover {
|
||||||
|
color: var(--color-neutral);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.dark .dark\:prose-light strong {
|
.dark .dark\:prose-light strong {
|
||||||
color: var(--color-neutral);
|
color: var(--color-neutral);
|
||||||
}
|
}
|
||||||
|
@ -2503,7 +2508,7 @@ body a, body button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .dark\:prose-light a code {
|
.dark .dark\:prose-light a code {
|
||||||
color: var(--color-neutral);
|
color: var(--color-secondary-400);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .dark\:prose-light pre {
|
.dark .dark\:prose-light pre {
|
||||||
|
|
|
@ -111,6 +111,9 @@ module.exports = {
|
||||||
code: {
|
code: {
|
||||||
color: theme("colors.secondary.700"),
|
color: theme("colors.secondary.700"),
|
||||||
},
|
},
|
||||||
|
"a code": {
|
||||||
|
color: theme("colors.secondary.700"),
|
||||||
|
},
|
||||||
"pre code": {
|
"pre code": {
|
||||||
color: theme("colors.neutral.700"),
|
color: theme("colors.neutral.700"),
|
||||||
},
|
},
|
||||||
|
@ -150,6 +153,10 @@ module.exports = {
|
||||||
a: {
|
a: {
|
||||||
color: theme("colors.primary.400"),
|
color: theme("colors.primary.400"),
|
||||||
textDecorationColor: theme("colors.neutral.500"),
|
textDecorationColor: theme("colors.neutral.500"),
|
||||||
|
"&:hover": {
|
||||||
|
color: theme("colors.neutral.DEFAULT"),
|
||||||
|
textDecoration: "none",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
strong: {
|
strong: {
|
||||||
color: theme("colors.neutral.DEFAULT"),
|
color: theme("colors.neutral.DEFAULT"),
|
||||||
|
@ -186,7 +193,7 @@ module.exports = {
|
||||||
color: theme("colors.secondary.400"),
|
color: theme("colors.secondary.400"),
|
||||||
},
|
},
|
||||||
"a code": {
|
"a code": {
|
||||||
color: theme("colors.neutral.DEFAULT"),
|
color: theme("colors.secondary.400"),
|
||||||
},
|
},
|
||||||
pre: {
|
pre: {
|
||||||
color: theme("colors.neutral.200"),
|
color: theme("colors.neutral.200"),
|
||||||
|
|
Loading…
Reference in New Issue