Skip to content
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

Messaging Components - Colors and Icons #605

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
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
41 changes: 22 additions & 19 deletions src/seedsigner/gui/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ class GUIConstants:
COMPONENT_PADDING = 8
LIST_ITEM_PADDING = 4

BACKGROUND_COLOR = "black"
BACKGROUND_COLOR = "#000000"
INACTIVE_COLOR = "#414141"
ACCENT_COLOR = "#FF9F0A" # Active Color
WARNING_COLOR = "#FFD60A"
DIRE_WARNING_COLOR = "#FF453A"
DIRE_WARNING_COLOR = "#FF5700"
ERROR_COLOR = "#FF1B0A"
SUCCESS_COLOR = "#30D158"
INFO_COLOR = "#0084FF"
ACCENT_COLOR = "#FF9F0A"
INFO_COLOR = "#409CFF"
BITCOIN_ORANGE = "#FF9416"
TESTNET_COLOR = "#00F100"
REGTEST_COLOR = "#00CAF1"
GREEN_INDICATOR_COLOR = "#00FF00"
INACTIVE_COLOR = "#414141"

ICON_FONT_NAME__FONT_AWESOME = "Font_Awesome_6_Free-Solid-900"
ICON_FONT_NAME__SEEDSIGNER = "seedsigner-icons"
Expand Down Expand Up @@ -126,24 +127,26 @@ class SeedSignerIconConstants:
RESTART = "\ue911"

# Messaging icons
ERROR = "\ue912"
SUCCESS = "\ue913"
WARNING = "\ue914"
INFO = "\ue912"
ERROR = "\ue913"
SUCCESS = "\ue914"
WARNING = "\ue915"

# Informational icons
ADDRESS = "\ue915"
CHANGE = "\ue916"
DERIVATION = "\ue917"
FEE = "\ue918"
FINGERPRINT = "\ue919"
PASSPHRASE = "\ue91a"
ADDRESS = "\ue916"
CHANGE = "\ue917"
DERIVATION = "\ue918"
FEE = "\ue919"
FINGERPRINT = "\ue91a"
PASSPHRASE = "\ue91b"

# Misc icons
BITCOIN = "\ue91b"
BITCOIN_ALT = "\ue91c"
BRIGHTNESS = "\ue91d"
MICROSD = "\ue91e"
QRCODE = "\ue91f"
BITCOIN = "\ue91c"
BITCOIN_ALT = "\ue91d"
BRIGHTNESS = "\ue91e"
MICROSD = "\ue91f"
QRCODE = "\ue920"
SIGN = "\ue921"

MIN_VALUE = SCAN
MAX_VALUE = QRCODE
Expand Down
2 changes: 1 addition & 1 deletion src/seedsigner/gui/screens/psbt_screens.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def __post_init__(self):
super().__post_init__()

icon = Icon(
icon_name=FontAwesomeIconConstants.PAPER_PLANE,
icon_name=SeedSignerIconConstants.SIGN,
icon_color=GUIConstants.INFO_COLOR,
icon_size=GUIConstants.ICON_LARGE_BUTTON_SIZE,
screen_y=self.top_nav.height + GUIConstants.COMPONENT_PADDING
Expand Down
Binary file modified src/seedsigner/resources/fonts/seedsigner-icons.otf
Binary file not shown.
Loading