X7ROOT File Manager
Current Path:
/opt/alt/python311/lib/python3.11/site-packages/pygments/styles
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
pygments
/
styles
/
📁
..
📄
__init__.py
(1.96 KB)
📁
__pycache__
📄
_mapping.py
(3.23 KB)
📄
abap.py
(749 B)
📄
algol.py
(2.21 KB)
📄
algol_nu.py
(2.23 KB)
📄
arduino.py
(4.45 KB)
📄
autumn.py
(2.14 KB)
📄
borland.py
(1.57 KB)
📄
bw.py
(1.37 KB)
📄
coffee.py
(2.25 KB)
📄
colorful.py
(2.77 KB)
📄
default.py
(2.53 KB)
📄
dracula.py
(2.13 KB)
📄
emacs.py
(2.48 KB)
📄
friendly.py
(2.54 KB)
📄
friendly_grayscale.py
(2.76 KB)
📄
fruity.py
(1.29 KB)
📄
gh_dark.py
(3.51 KB)
📄
gruvbox.py
(3.31 KB)
📄
igor.py
(737 B)
📄
inkpot.py
(2.35 KB)
📄
lightbulb.py
(3.1 KB)
📄
lilypond.py
(2.02 KB)
📄
lovelace.py
(3.1 KB)
📄
manni.py
(2.39 KB)
📄
material.py
(4.1 KB)
📄
monokai.py
(5.06 KB)
📄
murphy.py
(2.74 KB)
📄
native.py
(2 KB)
📄
nord.py
(5.26 KB)
📄
onedark.py
(1.68 KB)
📄
paraiso_dark.py
(5.53 KB)
📄
paraiso_light.py
(5.54 KB)
📄
pastie.py
(2.47 KB)
📄
perldoc.py
(2.18 KB)
📄
rainbow_dash.py
(2.33 KB)
📄
rrt.py
(964 B)
📄
sas.py
(1.41 KB)
📄
solarized.py
(4.15 KB)
📄
staroffice.py
(831 B)
📄
stata_dark.py
(1.23 KB)
📄
stata_light.py
(1.26 KB)
📄
tango.py
(6.97 KB)
📄
trac.py
(1.93 KB)
📄
vim.py
(1.97 KB)
📄
vs.py
(1.1 KB)
📄
xcode.py
(1.47 KB)
📄
zenburn.py
(2.15 KB)
Editing: solarized.py
""" pygments.styles.solarized ~~~~~~~~~~~~~~~~~~~~~~~~~ Solarized by Camil Staps A Pygments style for the Solarized themes (licensed under MIT). See: https://github.com/altercation/solarized :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.style import Style from pygments.token import Comment, Error, Generic, Keyword, Name, Number, \ Operator, String, Token __all__ = ['SolarizedLightStyle', 'SolarizedDarkStyle'] def make_style(colors): return { Token: colors['base0'], Comment: 'italic ' + colors['base01'], Comment.Hashbang: colors['base01'], Comment.Multiline: colors['base01'], Comment.Preproc: 'noitalic ' + colors['magenta'], Comment.PreprocFile: 'noitalic ' + colors['base01'], Keyword: colors['green'], Keyword.Constant: colors['cyan'], Keyword.Declaration: colors['cyan'], Keyword.Namespace: colors['orange'], Keyword.Type: colors['yellow'], Operator: colors['base01'], Operator.Word: colors['green'], Name.Builtin: colors['blue'], Name.Builtin.Pseudo: colors['blue'], Name.Class: colors['blue'], Name.Constant: colors['blue'], Name.Decorator: colors['blue'], Name.Entity: colors['blue'], Name.Exception: colors['blue'], Name.Function: colors['blue'], Name.Function.Magic: colors['blue'], Name.Label: colors['blue'], Name.Namespace: colors['blue'], Name.Tag: colors['blue'], Name.Variable: colors['blue'], Name.Variable.Global:colors['blue'], Name.Variable.Magic: colors['blue'], String: colors['cyan'], String.Doc: colors['base01'], String.Regex: colors['orange'], Number: colors['cyan'], Generic: colors['base0'], Generic.Deleted: colors['red'], Generic.Emph: 'italic', Generic.Error: colors['red'], Generic.Heading: 'bold', Generic.Subheading: 'underline', Generic.Inserted: colors['green'], Generic.Output: colors['base0'], Generic.Prompt: 'bold ' + colors['blue'], Generic.Strong: 'bold', Generic.EmphStrong: 'bold italic', Generic.Traceback: colors['blue'], Error: 'bg:' + colors['red'], } DARK_COLORS = { 'base03': '#002b36', 'base02': '#073642', 'base01': '#586e75', 'base00': '#657b83', 'base0': '#839496', 'base1': '#93a1a1', 'base2': '#eee8d5', 'base3': '#fdf6e3', 'yellow': '#b58900', 'orange': '#cb4b16', 'red': '#dc322f', 'magenta': '#d33682', 'violet': '#6c71c4', 'blue': '#268bd2', 'cyan': '#2aa198', 'green': '#859900', } LIGHT_COLORS = { 'base3': '#002b36', 'base2': '#073642', 'base1': '#586e75', 'base0': '#657b83', 'base00': '#839496', 'base01': '#93a1a1', 'base02': '#eee8d5', 'base03': '#fdf6e3', 'yellow': '#b58900', 'orange': '#cb4b16', 'red': '#dc322f', 'magenta': '#d33682', 'violet': '#6c71c4', 'blue': '#268bd2', 'cyan': '#2aa198', 'green': '#859900', } class SolarizedDarkStyle(Style): """ The solarized style, dark. """ name = 'solarized-dark' styles = make_style(DARK_COLORS) background_color = DARK_COLORS['base03'] highlight_color = DARK_COLORS['base02'] line_number_color = DARK_COLORS['base01'] line_number_background_color = DARK_COLORS['base02'] class SolarizedLightStyle(SolarizedDarkStyle): """ The solarized style, light. """ name = 'solarized-light' styles = make_style(LIGHT_COLORS) background_color = LIGHT_COLORS['base03'] highlight_color = LIGHT_COLORS['base02'] line_number_color = LIGHT_COLORS['base01'] line_number_background_color = LIGHT_COLORS['base02']
Upload File
Create Folder