mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Added 'auto' style config
AutoStyleConfig points to either DarkStyleConfig or LightStyleConfig depending on the current terminal's background color.
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ func renderText(w io.Writer, rules StylePrimitive, s string) {
|
||||
return
|
||||
}
|
||||
|
||||
p := termenv.SupportedColorProfile()
|
||||
p := termenv.ColorProfile()
|
||||
out := termenv.String(s)
|
||||
|
||||
if rules.Color != nil {
|
||||
|
||||
Reference in New Issue
Block a user