codekingpro/portable-devtools
114k
1"""2 pygments.styles.coffee3 ~~~~~~~~~~~~~~~~~~~~~~4 5 A warm and cozy theme based off gruvbox6 7 :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.8 :license: BSD, see LICENSE for details.9"""10 11from pygments.style import Style12from pygments.token import (Comment, Error, Generic, Keyword, Literal, Name,13 Number, Operator, Punctuation, String, Token)14 15__all__ = ["CoffeeStyle"]16 17 18class CoffeeStyle(Style):19 """20 A warm and cozy theme based off gruvbox21 """22 23 name = "coffee"24 25 background_color = "#262220"26 highlight_color = "#ddd0c0"27 28 line_number_color = "#4e4e4e"29 line_number_special_color = "#8f9494"30 31 styles = {32 Comment: "#70757A",33 Comment.Hashbang: "#8f9f9f",34 Comment.Preproc: "#fdd0c0",35 Comment.PreprocFile: "#c9b98f",36 Comment.Special: "#af5f5f",37 Error: "#af5f5f",38 Generic.Deleted: "#bb6868",39 Generic.Emph: "italic",40 Generic.Error: "#af5f5f",41 Generic.Inserted: "#849155",42 Generic.Output: "#ddd0c0",43 Generic.Strong: "bold",44 Generic.Traceback: "#af5f5f",45 Keyword: "#919191",46 Keyword.Constant: "#875f5f",47 Keyword.Declaration: "#875f5f",48 Keyword.Namespace: "#875f5f",49 Keyword.Reserved: "#b46276",50 Keyword.Type: "#af875f",51 Literal: "#af875f",52 Name: "#ddd0c0",53 Name.Attribute: "#ddd0c0",54 Name.Builtin: "#ddd0c0",55 Name.Builtin.Pseudo: "#87afaf",56 Name.Class: "#875f5f",57 Name.Constant: "#af8787",58 Name.Decorator: "#fdd0c0",59 Name.Entity: "#ddd0c0",60 Name.Exception: "#877575",61 Name.Function: "#fdd0c0",62 Name.Function.Magic: "#fdd0c0",63 Name.Other: "#ddd0c0",64 Name.Property: "#dfaf87",65 Name.Tag: "#87afaf",66 Name.Variable: "#ddd0c0",67 Number: "#87afaf",68 Operator: "#878787",69 Operator.Word: "#878787",70 Punctuation: "#ddd0c0",71 String: "#c9b98f",72 String.Affix: "#dfaf87",73 String.Doc: "#878787",74 String.Escape: "#af5f5f",75 String.Interpol: "#af5f5f",76 String.Other: "#fdd0c0",77 String.Regex: "#af5f5f",78 String.Symbol: "#af5f5f",79 Token: "#ddd0c0",80 }81 