aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/partials/highlight.html
blob: 06ab04738100559bd80169015f2a76d8a0cc181a (plain)
1
2
3
4
5
6
{{ $light := resources.Get "catppuccin-latte.css" }}
{{ $dark := resources.Get "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 "highlight.css" }}
{{ return $highlight }}