-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.el##default
24 lines (20 loc) · 1.01 KB
/
theme.el##default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;;; theme.el -*- lexical-binding: t; -*-
;;;; VISUALS
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
;; are the three important ones:
;;
;; + `doom-font'
;; + `doom-variable-pitch-font'
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
;; presentations or streaming.
;;
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
;; font string. You generally only need these two:
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme (if (equal (getenv "THEME") "light") 'doom-opera-light 'doom-one)
doom-font (font-spec :family "monospace" :size 16 :weight 'semi-light)
doom-variable-pitch-font (font-spec :family "sans" :size 16))