Skip to content

Fix colours according to spec #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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