Skip to content

Commit

Permalink
Fix colours according to spec
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbayley committed May 28, 2022
1 parent 9cf371f commit 035644d
Showing 1 changed file with 42 additions and 34 deletions.
76 changes: 42 additions & 34 deletions dracula.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,52 +29,60 @@ class DraculaStyle(Style):
Comment.Hashbang: "#6272a4",
Comment.Multiline: "#6272a4",
Comment.Preproc: "#ff79c6",
Comment.PreprocFile: "#ff79c6",
Comment.Single: "#6272a4",
Comment.Special: "#6272a4",

Generic: "#f8f8f2",
Generic.Deleted: "#8b080b",
Generic.Emph: "#f8f8f2 underline",
Generic.Error: "#f8f8f2",
Generic.Heading: "#f8f8f2 bold",
Generic.Inserted: "#f8f8f2 bold",
Generic.Output: "#44475a",
Generic.Prompt: "#f8f8f2",
Generic.Strong: "#f8f8f2",
Generic.Subheading: "#f8f8f2 bold",
Generic.Traceback: "#f8f8f2",

Error: "#f8f8f2",
Comment.Special: "#8be9fd",

Generic: "#ff79c6",
Generic.Deleted: "#ff5555",
Generic.Emph: "#f1fa8c underline",
Generic.Error: "#ff5555",
Generic.Heading: "#bd93f9 bold",
Generic.Inserted: "#50fa7b bold",
Generic.Output: "#6272a4",
Generic.Prompt: "#50fa7b",
Generic.Strong: "#ffb86c",
Generic.Subheading: "#bd93f9 bold",
Generic.Traceback: "#ff5555",

Error: "#ff5555",

Invisibles: "#44475a",

Keyword: "#ff79c6",
Keyword.Constant: "#ff79c6",
Keyword.Declaration: "#8be9fd italic",
Keyword.Constant: "#bd93f9",
Keyword.Declaration: "#ff79c6 italic",
Keyword.Namespace: "#ff79c6",
Keyword.Pseudo: "#ff79c6",
Keyword.Reserved: "#ff79c6",
Keyword.Type: "#8be9fd",

Literal: "#f8f8f2",
Literal.Date: "#f8f8f2",
LineNumbers: "#6272a4",
LineNumbers.Highlight: "#f8f8f2",

Literal: "#ffb86c",
Literal.Date: "#ffb86c",

Name: "#f8f8f2",
Name.Attribute: "#50fa7b",
Name.Builtin: "#8be9fd italic",
Name.Builtin.Pseudo: "#f8f8f2",
Name.Class: "#50fa7b",
Name.Constant: "#f8f8f2",
Name.Decorator: "#f8f8f2",
Name.Entity: "#f8f8f2",
Name.Exception: "#f8f8f2",
Name.Builtin: "#bd93f9 italic",
Name.Builtin.Pseudo: "#bd93f9",
Name.Class: "#8be9fd",
Name.Constant: "#bd93f9",
Name.Decorator: "#50fa7b",
Name.Entity: "#ff79c6",
Name.Exception: "#ff5555",
Name.Function: "#50fa7b",
Name.Function.Magic: "#bd93f9",
Name.Label: "#8be9fd italic",
Name.Namespace: "#f8f8f2",
Name.Other: "#f8f8f2",
Name.Tag: "#ff79c6",
Name.Variable: "#8be9fd italic",
Name.Variable: "#f8f8f2 italic",
Name.Variable.Class: "#8be9fd italic",
Name.Variable.Global: "#8be9fd italic",
Name.Variable.Instance: "#8be9fd italic",
Name.Variable.Global: "#f8f8f2 italic",
Name.Variable.Instance: "#bd93f9 italic",
Name.Variable.Magic: "#bd93f9",

Number: "#bd93f9",
Number.Bin: "#bd93f9",
Expand All @@ -92,17 +100,17 @@ class DraculaStyle(Style):
Punctuation: "#f8f8f2",

String: "#f1fa8c",
String.Backtick: "#f1fa8c",
String.Backtick: "#50fa7b",
String.Char: "#f1fa8c",
String.Doc: "#f1fa8c",
String.Double: "#f1fa8c",
String.Escape: "#f1fa8c",
String.Escape: "#ff79c6",
String.Heredoc: "#f1fa8c",
String.Interpol: "#f1fa8c",
String.Interpol: "#ff79c6",
String.Other: "#f1fa8c",
String.Regex: "#f1fa8c",
String.Regex: "#ff5555",
String.Single: "#f1fa8c",
String.Symbol: "#f1fa8c",
String.Symbol: "#bd93f9",

Text: "#f8f8f2",

Expand Down

0 comments on commit 035644d

Please sign in to comment.