aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/partials/highlight.html
blob: 28c510eba265fe5820b3de80f48ba8c268595f13 (plain)
1
2
3
4
5
6
{{ $light := resources.Get "res/css/catppuccin-latte.css" }}
{{ $dark := resources.Get "res/css/catppuccin-mocha.css" }}
{{ $dark_wrapper_before := resources.FromString "highlight-dark-wapper-before.css" `html[data-theme="dark"] {`}}}
{{ $dark_wrapper_after := resources.FromString "highlight-dark-wapper-after.css" "}"}}
{{ $highlight := slice $light $dark_wrapper_before $dark $dark_wrapper_after | resources.Concat "res/css/highlight.css" }}
{{ return $highlight }}