Skip to content

Commit

Permalink
refactor: ♻️ Remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselmoo committed Jul 28, 2023
1 parent e0b1867 commit ffcb3e5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spectrafit/plugins/color_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
from spectrafit.api.notebook_model import FontAPI


__fira_code__ = "Fira Code"


class DraculaColor(ColorAPI):
"""Dracula color theme for SpectraFit.
Expand Down Expand Up @@ -60,7 +63,7 @@ class DraculaFont(FontAPI):
See also: https://github.com/tonsky/FiraCode
"""

family: str = "Fira Code"
family: str = __fira_code__
size: int = 12
color: str = "#f8f8f2"

Expand Down Expand Up @@ -147,7 +150,7 @@ class DevOpsDarkFont(FontAPI):
Please check, https://github.com/primer/github-vscode-theme
"""

family: str = "Fira Code"
family: str = __fira_code__
size: int = 12
color: str = "#c9d1d9"

Expand Down Expand Up @@ -180,6 +183,6 @@ class DevOpsLightFont(FontAPI):
Please check, https://github.com/primer/github-vscode-theme
"""

family: str = "Fira Code"
family: str = __fira_code__
size: int = 12
color: str = "#000000"

0 comments on commit ffcb3e5

Please sign in to comment.