mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
fix: xypic diagram color at dark theme and update MathJax script loading options
This commit is contained in:
@@ -511,6 +511,17 @@
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
|
||||
// fix the color of xypic diagrams
|
||||
mjx-xypic {
|
||||
g {
|
||||
stroke: currentColor !important;
|
||||
}
|
||||
mjx-xypic-object {
|
||||
color: currentColor !important;
|
||||
fill: currentColor !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@import '../_partials/_single/alert';
|
||||
|
||||
@@ -324,7 +324,7 @@ FixIt theme assets partial
|
||||
{{- if not hugo.IsProduction -}}
|
||||
{{- $options = dict "sourceMap" "external" | merge $options -}}
|
||||
{{- end -}}
|
||||
{{- dict "Source" (resources.Get "js/lib/mathjax.js") "Build" $options "Fingerprint" $fingerprint "Async" true "Defer" true | dict "Page" . "Data" | partial "store/script.html" -}}
|
||||
{{- dict "Source" (resources.Get "js/lib/mathjax.js") "Build" $options "Fingerprint" $fingerprint "Defer" true | dict "Page" . "Data" | partial "store/script.html" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Mermaid plugin */ -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20250916043850-a228cce0" -}}
|
||||
{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20250919092044-50488dfb" -}}
|
||||
{{- .Store.Set "this" dict -}}
|
||||
|
||||
{{- partial "init/detection-env.html" . -}}
|
||||
|
||||
Reference in New Issue
Block a user