Rename colors.py to constants.py and move all font-awesome icons to it

Essentially code cleanup
This commit is contained in:
2018-03-06 15:28:08 +01:00
parent 60b7da91aa
commit 03d228c3a1
2 changed files with 18 additions and 8 deletions

View File

@@ -0,0 +1,34 @@
# Colors
COLOR_BLUE = "rgb(33, 150, 243)"
COLOR_BLUE_SHADOW = "rgba(33, 150, 243, 0.75)"
COLOR_LIGHT_BLUE = "#e3f2fd"
COLOR_INDIGO = "#6610f2"
COLOR_PURPLE = "#6f42c1"
COLOR_PINK = "#e83e8c"
COLOR_RED = "#dd2c00"
COLOR_ORANGE = "#fd7e14"
COLOR_YELLOW = "#ffc107"
COLOR_GREEN = "#28a745"
COLOR_TEAL = "#20c997"
COLOR_CYAN = "#17a2b8"
COLOR_WHITE = "#fff"
COLOR_GRAY_LIGHT = "#abc"
COLOR_GRAY = "#6c757d"
COLOR_GRAY_DARK = "#343a40"
COLOR_PRIMARY = "#007bff"
COLOR_SECONDARY = "#6c757d"
COLOR_SUCCESS = "#28a745"
COLOR_INFO = "#17a2b8"
COLOR_WARNING = "#ffc107"
COLOR_DANGER = "#dc3545"
COLOR_LIGHT = "#f8f9fa"
COLOR_DARK = "#343a40"
# Font Awesome
ICON_PREV = '<i class="fas fa-step-backward"></i>'
ICON_NEXT = '<i class="fas fa-step-forward"></i>'
ICON_PLAY = '<i class="fas fa-play"></i>'
ICON_PAUSE = '<i class="fas fa-pause"></i>'
ICON_TRASH = '<i class="fas fa-trash"></i>'
ICON_DOWN = '<i class="fas fa-arrow-down"></i>'
ICON_UP = '<i class="fas fa-arrow-up"></i>'