summaryrefslogtreecommitdiff
path: root/pygments/styles
Commit message (Collapse)AuthorAgeFilesLines
* all: style fixesGeorg Brandl2022-10-276-30/+15
|
* Add GitHub's Dark Style (#2192)Aniket Teredesai2022-07-272-0/+108
|
* Register new style (#2183)flywire2022-07-2632-45/+4
| | | | | | | | | | | * Register new style * Replace default_style with Token #2184 * Remove default_style from styles * Simplify register style code
* Nord theme (#2189)Mateus Furquim2022-07-152-0/+163
| | | | Co-authored-by: andy <andy.yu2k@gmail.com> Co-authored-by: Jean-Abou-Samra <jean@abou-samra.fr>
* Add StarOfficeStyle (#2168)flywire2022-07-152-0/+27
| | | | | | | | | StarOffice style is a theme used in the user interface and carries through to OpenOffice and LibreOffice, and the documentation. Reference: * [Color Config Entry](https://github.com/LibreOffice/core/blob/master/svtools/source/config/colorcfg.cxx#L447-L453) * [Color Types](https://github.com/LibreOffice/core/blob/e4a57dcdabc9ae7d381025e008b90635c1b7b10c/include/tools/color.hxx#L448) Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* lilypond: fix Whitespace tokenGeorg Brandl2022-06-211-1/+0
|
* Happy new year.Georg Brandl2022-01-2542-42/+42
|
* Adjust colours to meet WCAG AAA contrast guidelines (#2038)Hugo van Kemenade2022-01-231-9/+9
|
* Fix typos (#2030)Kian-Meng Ang2022-01-181-1/+1
|
* Fix #2020.Matthäus G. Chajdas2022-01-051-1/+1
|
* Update CHANGES, contrast for friendly grayscale.Matthäus G. Chajdas2021-12-281-2/+3
|
* Add "friendly grayscale" theme (#1273)Oliver Kopp2021-12-282-0/+76
| | | Fixes https://github.com/pygments/pygments/issues/1040
* Refine the One Dark theme a bit for consistency with other popular projects ↵ranelpadon2021-12-281-15/+15
| | | | | | | (Atom, Vim, Alacritty, etc) using the same theme (#1979) * Refine the One Dark a bit, for consistency with other projects using One Dark. * Revert the unintentional change in Operator's bold style.
* Rename LilypondStyle to LilyPondStyle (#1971)Jean-Abou-Samra2021-11-242-2/+2
| | | | It was silly from mine to call it LilypondStyle (lowercase 'p') whereas the lexer is called LilyPondLexer (uppercase 'P').
* Fixes for LilyPond (#1968)Jean-Abou-Samra2021-11-211-0/+4
| | | | | | | | | | * LilyPond: update builtins to 2.23.4 * Doc: deduplicate LilyPond in language lists * Doc: exclude lilypond style from gallery Because it's specific to LilyPond code and doesn't give good results on Python code.
* Fix remaining LilyPond issues.Matthäus G. Chajdas2021-11-211-1/+1
|
* Remove UTF-8 comment.Matthäus G. Chajdas2021-11-211-1/+0
|
* Various small cleanups.Matthäus G. Chajdas2021-11-213-0/+8
|
* Add lexer and style for LilyPond (#1845)Jean-Abou-Samra2021-11-211-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lexer and style for LilyPond GNU LilyPond is a text-based music typesetter. Because its concepts are completely different from programming languages, this adds a special-purpose to highlight the special tokens. The SchemeLexer is expanded to gain the ability of detecting when one expression stops. LilyPondLexer subclasses SchemeLexer. Builtins (the most important part) are generated with a script put in external/ (as was already done for Lasso). As part of this change, the CPSALexer is made no longer to inherit from SchemeLexer. The inheritance was unused anyway. * Fixup: translators names have underscores * Fixup: avoid duplicate builtins * Fixup: update goldens * Fixup: typo * Fixup: add missing tokens to style * Fixup: update lexer comments * Fixup: Tentative style adjustments * Fixup: move test file to examplefiles/ * Fixup: miscellaneous fixes (to be finished) * Fixup: escape all braces * Fixup: use Text, not Whitespace * Fixup: fixes for lexing and style * Fixup: update goldens! * Fixup: also test alist assignments * Fixup: recognize escape sequences in strings * Fixup: use Comment.Single * Fixup: Whitespace, not Text! * Fixup: fix pitch parsing * Fixup: update comment * Fixup: remove redundant re.UNICODE
* Register the one-dark style.Matthäus G. Chajdas2021-11-211-1/+2
|
* Creating one dark style (#1924)TobiZog2021-11-211-0/+57
| | | | | | | | | * Creating one dark style * Adding copyright informations * Bugfix * Fogetting one ~
* Slightly adjust sas style to meet WCAG AAMartin Fischer2021-11-141-1/+1
| | | | Part of #1718.
* Add missing colors to dark stylesMartin Fischer2021-11-144-7/+10
| | | | | | | | | | | | | Some dark styles did not define a color for every token type, resulting in black text (the browser default for text) on dark backgrounds (defined by the styles) unless the web page had some CSS to remedy that like: body { color: white; background: black; } We however don't want the readability of styles to rely on external CSS. Part of #1718. Fixes some unreadable styles reported in #1526.
* Make default style meet WCAG AAMartin Fischer2021-11-021-12/+12
| | | | | | | | | Accessibility by default is important. The colors with a too low contrast were adjusted just so much that they match the required contrast of 4.5. Part of #1718.
* Remove unnecessary assignments in Paraiso style (#1934)Tom Tan2021-11-012-6/+0
|
* New pull request for dracula theme. (#1796)Daniel Vilar2021-10-122-0/+106
| | | | | | | * adding dracula theme * Added highlight and line colours * fixed module name underline
* Add gruvbox styles (#1763)Aaron Moore2021-05-022-0/+109
| | | | | * add gruvbox light and dark themes * update changes for gruvbox style
* native: darker line numbers (#1779)Matthias Geier2021-04-191-0/+1
|
* friendly: lighter line numbers (#1778)Matthias Geier2021-04-191-0/+1
|
* Fix various issues found by make check.Matthäus G. Chajdas2021-02-142-2/+1
|
* Add Zenburn theme (#1659)Mantas Zimnickas2021-02-072-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | * Add Zenburn theme Zenburn theme home page: https://kippura.org/zenburnpage/ And Vim Zenburn theme repository, from which I took color codes: https://github.com/jnurmine/Zenburn * Add line number and other styles for zenburn As requested in code review. * Fix failing tests Probably during rebase I accidentally added dracula, which is now removed. * Remove encoding file markers It looks, that pygments no longer use these markers. * Add special colors for line numbers Something does not work with HTML generator, because colors does not show up, unless I added `noclasses=True`.
* Add Material theme style (#1662)Paulo S. Costa2021-02-072-0/+120
| | | | | | | | | | | | | * Add Material theme style * List Material style in CHANGES * Change highlight color to be darker * Adjust line number special color * Set line number special background color Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
* Add missing prompt color for Solarized style. (#1529)Kevin Deldycke2021-02-071-0/+3
| | | | | | | * Add missing prompt color for Solarized style. * Add missing output color style. * Add missing generic color.
* Run pyupgrade across codebase to modernize syntax and patterns (#1622)Jon Dufresne2021-01-1735-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
* Revert "Added dracula theme style (#1636)"Matthäus G. Chajdas2021-01-122-111/+0
| | | | | | | This reverts commit bd378d0ef57a6bc53e9079c9363a6eab0d54f0dc. The license terms in dracula.py don't match. We'll add it back once the author places it under the correct license.
* Bump copyright year.Matthäus G. Chajdas2021-01-0335-35/+35
|
* Added dracula theme style (#1636)Daniel Vilar2020-12-242-0/+111
| | | | | | | | | * added dracula theme style * added dracula style to init * corrected misspell * Update __init__.py
* Grammar correction 'an generator' -> 'a generator'zkneupper2020-09-231-1/+1
|
* all: remove "u" string prefix (#1536)Georg Brandl2020-09-081-1/+1
| | | | | | | | | | | * all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3
* all: use yield from (#1537)Georg Brandl2020-09-061-2/+1
|
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-2235-35/+35
|
* Fix Solarized line number colors (#1477)Paweł Fertyk2020-07-041-0/+4
| | | | | | | | | | | | | | | | | * Add font and background colors to Style * Move all styles to get_style_defs, add tests * Remove hardcoded styles, add special lineno style * Add styles for special line numbers in tables * Update noclasses documentation * Refactor linenos elements and styles, add tests * Update AUTHORS * Fix multiple CSS prefixes, add tests
* various: style fixupsGeorg Brandl2019-11-291-4/+3
|
* Add New Style: InkpotCampbell Barton2019-11-252-0/+69
| | | | | | | | | | Based on the Vim theme: http://www.vim.org/scripts/script.php?script_id=1143 Example output: http://members.iinet.net.au/~ideasman42/dotemacs/init.html The theme is also bundled with qt-creator and available from emacs package manager. Also, there aren't many nice dark themes for Pygments at the moment.
* monokai style: fix Generic.Output/Generic.Prompt colors (bitbucket PR #835)Georg Brandl2019-11-241-2/+3
|
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-2834-40/+41
|
* Aliased stata-light to stata.Mauricio Caceres Bravo2019-04-021-0/+1
|
* Fix StataLexer format highlight error (change Name.Format to Name.Other)Mauricio Caceres Bravo2019-02-192-2/+2
| | | | | | | | StataLexer defined Name.Format for variable and print format highlighting; Name.Format is not a built-in token, which caused issues downstream in certain applications (e.g. [here](https://github.com/kylebarron/stata_kernel/issues/295)). This commit changes Name.Format to Name.Other.
* Merged default branch to hopefully solve merge conflictsMauricio Caceres Bravo2019-02-1233-31/+284
|\
| * Merged in camilstaps/pygments-main-solarized (pull request #708)Anteru2019-01-293-4/+4
| |\ | | | | | | | | | | | | | | | Adds a solarized style Approved-by: Anteru <bitbucket@ca.sh13.net>