├── .github ├── issue_template.md └── pull_request_template.md ├── INSTALL.md ├── LICENSE ├── README.md ├── dracula.css └── screenshot.png /.github/issue_template.md: -------------------------------------------------------------------------------- 1 | > If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug. -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | > If you're fixing a UI issue, make sure you take two screenshots. One that shows the actual bug and another that shows how you fixed it. -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | ### [Highlight.js](https://highlightjs.org/) 2 | 3 | #### Install using Git 4 | 5 | If you are a git user, you can install the theme and keep up to date by cloning the repo: 6 | 7 | git clone https://github.com/dracula/highlightjs.git 8 | 9 | #### Install manually 10 | 11 | Download using the [GitHub .zip download](https://github.com/dracula/highlightjs/archive/master.zip) option and unzip them. 12 | 13 | #### Activating theme 14 | 15 | 1\. Copy `dracula.css` to your desired directory. 16 | 17 | 2\. Include the theme in your html. `` 18 | 19 | In the end, your page should look something like this: 20 | 21 | 22 | 23 | 24 |
25 | // Scary function
26 | function scare(who) {
27 | console.log(who, 'your blood is mine');
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016-present Dracula Theme
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Dracula for [Highlight.js](http://highlightjs.org)
2 |
3 | > A dark theme for [Highlight.js](http://highlightjs.org).
4 |
5 | 
6 |
7 | ## Install
8 |
9 | All instructions can be found at [draculatheme.com/highlightjs](https://draculatheme.com/highlightjs).
10 |
11 | ## Team
12 |
13 | This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/highlightjs/graphs/contributors).
14 |
15 | | [](https://github.com/dciccale) |
16 | | --------------------------------------------------------------------------------------------------------- |
17 | | [Denis Ciccale](https://github.com/dciccale) |
18 |
19 | ## Community
20 |
21 | - [Twitter](https://twitter.com/draculatheme) - Best for getting updates about themes and new stuff.
22 | - [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues.
23 | - [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community.
24 |
25 | ## License
26 |
27 | [MIT License](./LICENSE)
28 |
--------------------------------------------------------------------------------
/dracula.css:
--------------------------------------------------------------------------------
1 | /* Dracula Theme v1.2.5
2 | *
3 | * https://github.com/dracula/highlightjs
4 | *
5 | * Copyright 2016-present, All rights reserved
6 | *
7 | * Code licensed under the MIT license
8 | *
9 | * @author Denis Ciccale