emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dracula-theme 5190395 133/187: Document new them settings


From: ELPA Syncer
Subject: [nongnu] elpa/dracula-theme 5190395 133/187: Document new them settings
Date: Thu, 21 Oct 2021 18:05:09 -0400 (EDT)

branch: elpa/dracula-theme
commit 5190395d8a498a71593d1b70e861f0175477213c
Author: Étienne Deparis <etienne@depar.is>
Commit: Étienne Deparis <etienne@depar.is>

    Document new them settings
---
 INSTALL.md |  5 +++++
 README.md  | 29 +++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/INSTALL.md b/INSTALL.md
index 80f0f04..af9904f 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -16,3 +16,8 @@ To load a theme add the following to your init.el
 
     (add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
     (load-theme 'dracula t)
+
+#### Configure
+
+Some aspects of this theme are customizable.  You can change them by
+doing `M-x customize-group dracula`.  Then restart Emacs to apply them.
diff --git a/README.md b/README.md
index ca784bd..b607b0c 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,38 @@
 
 ## Install
 
+![Melpa badge](https://melpa.org/packages/dracula-theme-badge.svg)
+
 All instructions can be found at
 [draculatheme.com/emacs](https://draculatheme.com/emacs).
 
+## Configure
+
+Some aspects of this theme are customizable.  You can change them either
+by doing `M-x customize-group dracula` or setting one or more of the
+following values in your Emacs init file.  Note that these variables
+need to be set before `load-theme` is invoked for Dracula.
+
+```
+;; Don't change the font size for some headings and titles (default t)
+(setq dracula-enlarge-headings nil)
+
+;; Adjust font size of titles level 1 (default 1.3)
+(setq dracula-height-title-1 1.25)
+
+;; Adjust font size of titles level 2 (default 1.1)
+(setq dracula-height-title-1 1.15)
+
+;; Adjust font size of titles level 3 (default 1.0)
+(setq dracula-height-title-1 1.05)
+
+;; Adjust font size of document titles (default 1.44)
+(setq dracula-height-doc-title 1.4)
+
+;; Use less pink and bold on the mode-line and minibuffer (default nil)
+(setq dracula-alternate-mode-line-and-minibuffer t)
+```
+
 ## Test
 
 This repository contains a small script named `start_emacs_test.sh`,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]