- `(default ((,class (:foreground ,alum-1 :background ,alum-6))))
- `(cursor ((,class (:foreground ,alum-6 :background ,butter-1))))
+ ;; Ensure sufficient contrast on low-color terminals.
+ `(default ((((class color) (min-colors 4096))
+ (:foreground ,alum-1 :background ,alum-6))
+ (((class color) (min-colors 256))
+ (:foreground ,alum-1 :background "#222"))
+ (,class
+ (:foreground ,alum-1 :background "black"))))
+ `(cursor ((,class (:background ,butter-1))))