Skip to content

Commit

Permalink
Misc changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narendra committed Oct 22, 2024
1 parent ac6f731 commit ab8bc13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions themes/appearance.el
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@
(cond
;; Fonts on a dark background require a lighter weight compared to the weight
;; required on brighter backgrounds.
((app/font-availablep "Noto Serif Medium")
(set-face-attribute 'variable-pitch nil
:family "Noto Serif Medium"
:height 1.2
:weight 'medium))

((app/font-availablep "Symbola")
;; It would have been great if I could set the background to white
;; while reading anything other than code. Emacs doesn't support
Expand All @@ -186,12 +192,6 @@
(set-face-attribute 'variable-pitch nil
:family "Symbola"
:height 1.6
:weight 'normal))

((app/font-availablep "Noto Sans")
(set-face-attribute 'variable-pitch nil
:family "Noto Sans"
:height 1.6
:weight 'normal))))

;;;###autoload
Expand Down

0 comments on commit ab8bc13

Please sign in to comment.