🐛 fixed mark css

This commit is contained in:
Nuno Coração 2023-03-10 13:25:02 +00:00
parent 8381b02792
commit 775603d8ea
3 changed files with 9 additions and 7 deletions

View file

@ -935,6 +935,7 @@ select {
padding-bottom: 3px; padding-bottom: 3px;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
border-radius: 0.25rem;
} }
.prose :where(code):not(:where([class~="not-prose"] *))::before { .prose :where(code):not(:where([class~="not-prose"] *))::before {
@ -1202,9 +1203,9 @@ select {
.prose :where(mark):not(:where([class~="not-prose"] *)) { .prose :where(mark):not(:where([class~="not-prose"] *)) {
color: rgba(var(--color-neutral-800), 1); color: rgba(var(--color-neutral-800), 1);
background-color: rgb(228 230 233 / 1); background-color: rgb(48 97 175 / 1);
padding: 0.1rem 0.2rem; padding: 0.1rem 0.2rem;
border-radius: 0.12rem; border-radius: 0.25rem;
} }
.prose :where(p):not(:where([class~="not-prose"] *))::before { .prose :where(p):not(:where([class~="not-prose"] *))::before {
@ -5444,7 +5445,7 @@ body:has(#menu-controller:checked) {
} }
.dark .dark\:prose-invert :where(mark):not(:where([class~="not-prose"] *)) { .dark .dark\:prose-invert :where(mark):not(:where([class~="not-prose"] *)) {
background-color: rgb(200 204 211 / 1); background-color: rgb(143 174 224 / 1);
} }
.dark .dark\:prose-invert :where(code):not(:where([class~="not-prose"] *)) { .dark .dark\:prose-invert :where(code):not(:where([class~="not-prose"] *)) {

View file

@ -114,9 +114,9 @@ module.exports = {
}, },
mark: { mark: {
color: theme("colors.neutral.800 / 1"), color: theme("colors.neutral.800 / 1"),
backgroundColor: theme("colors.secondary.200 / 1"), backgroundColor: theme("colors.primary.600 / 1"),
padding: "0.1rem 0.2rem", padding: "0.1rem 0.2rem",
borderRadius: "0.12rem", borderRadius: "0.25rem",
}, },
code:{ code:{
backgroundColor: theme("colors.neutral.50 / 1"), backgroundColor: theme("colors.neutral.50 / 1"),
@ -124,6 +124,7 @@ module.exports = {
paddingBottom: "3px", paddingBottom: "3px",
paddingLeft: "5px", paddingLeft: "5px",
paddingRight: "5px", paddingRight: "5px",
borderRadius: "0.25rem",
}, },
'code::before': { 'code::before': {
display: 'none' display: 'none'
@ -155,7 +156,7 @@ module.exports = {
backgroundColor: theme("colors.neutral.700 / 1"), backgroundColor: theme("colors.neutral.700 / 1"),
}, },
mark: { mark: {
backgroundColor: theme("colors.secondary.400 / 1"), backgroundColor: theme("colors.primary.400 / 1"),
}, },
code:{ code:{
backgroundColor: theme("colors.neutral.700 / 1"), backgroundColor: theme("colors.neutral.700 / 1"),