You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2021/08/09 20:26:11 UTC
[superset] 02/02: the actual palette
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch fun-palette
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 5cec588f03d7282c4de2fb7657df8af5b37413d7
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Sun Aug 1 05:24:19 2021 -0600
the actual palette
---
superset/config.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/superset/config.py b/superset/config.py
index bd3e68d..de57fb9 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -432,8 +432,18 @@ GET_FEATURE_FLAGS_FUNC: Optional[Callable[[Dict[str, bool]], Dict[str, bool]]] =
# EXTRA_CATEGORICAL_COLOR_SCHEMES is used for adding custom categorical color schemes
# example code for "My custom warm to hot" color scheme
+EXTRA_CATEGORICAL_COLOR_SCHEMES = [
+ {
+ "id": 'funimationColors',
+ "description": 'Funimation Categorical Color Palette',
+ "label": 'Funimation Categorical Colors',
+ "colors":
+ ['#5B0BB5', '#FF149F', '#FFF11C', '#FE0000', '#96FF00', '#009DD9',
+ '#FF6600', '#5AAA46', '#990066', '#FFCC00', '#00ff99', '#44AAAA']
+ }]
# This is merely a default
+# EXTRA_CATEGORICAL_COLOR_SCHEMES: List[Dict[str, Any]] = []
# THEME_OVERRIDES is used for adding custom theme to superset
# example code for "My theme" custom scheme