Progress Indicator in TOC

This commit is contained in:
Nuno Coração
2023-01-14 23:05:10 +00:00
parent d569a0146e
commit 62dbfc51c5
8 changed files with 95 additions and 17 deletions

View File

@@ -136,6 +136,12 @@ module.exports = {
'p::after': {
display: 'none'
},
'a.active': {
"text-decoration-color": theme("colors.primary.600 / 1"),
"text-decoration-line": "underline",
"text-decoration-thickness": "3px",
"text-underline-offset": "4px"
}
},
},
invert: {
@@ -153,6 +159,9 @@ module.exports = {
code:{
backgroundColor: theme("colors.neutral.700 / 1"),
},
'a.active': {
"text-decoration-color": theme("colors.primary.400 / 1")
}
},
},
}),