# Dracula for [Emacs](https://www.gnu.org/software/emacs/)

> A dark theme for [Emacs](https://www.gnu.org/software/emacs/).

![Screenshot](./screenshot.png)

## Install

![Melpa badge](https://melpa.org/packages/dracula-theme-badge.svg)
![NonGNU elpa badge](https://elpa.nongnu.org/nongnu/dracula-theme.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.

```el
;; 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-2 1.15)

;; Adjust font size of titles level 3 (default 1.0)
(setq dracula-height-title-3 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)

;; Use normal weight for syntax faces like keywords, functions, and variables (default t)
(setq dracula-bolder-keywords nil)
```

## Test

This repository contains a small script named `start_emacs_test.sh`,
which helps you to test this color theme in various environment
(graphical, 256+ colors terminals, 16 colors terminals).

```sh
# Graphical test
./start_emacs_test.sh

# Full color terminal
./start_emacs_test.sh -nw 256

# TTY like env
./start_emacs_test.sh -nw 16
```

This script requires the **xterm** terminfo files.

## Team

This theme is maintained by the following person(s) and a bunch of
[awesome contributors](https://github.com/dracula/emacs/graphs/contributors).

| [![Garrett T](https://avatars3.githubusercontent.com/u/1043908?v=3&s=70)](https://github.com/film42) | [![Étienne D](https://avatars3.githubusercontent.com/u/349239?v=3&s=70)](https://github.com/milouse) |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [Garrett T](https://github.com/film42)                                                               | [Étienne D](https://github.com/milouse)                                                              |

## Community

- [Twitter](https://twitter.com/draculatheme) - Best for getting updates about themes and new stuff.
- [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues.
- [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community.

## Dracula PRO

[![Dracula PRO](./dracula-pro.png)](https://draculatheme.com/pro)

## License

[MIT License](./LICENSE)
