From b9f1a898122b15ebbcffb6b85f26e577d6e5f551 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 28 Mar 2023 22:31:43 +0800 Subject: [PATCH] explain color and theme --- functional.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/functional.py b/functional.py index a0d9df8..e0da0b3 100644 --- a/functional.py +++ b/functional.py @@ -1,9 +1,7 @@ -# """ -# 'primary' for main call-to-action, -# 'secondary' for a more subdued style, -# 'stop' for a stop button. -# """ - +# 'primary' 颜色对应 theme.py 中的 primary_hue +# 'secondary' 颜色对应 theme.py 中的 neutral_hue +# 'stop' 颜色对应 theme.py 中的 color_er +# 默认按钮颜色是 secondary def get_functionals(): return { @@ -55,5 +53,3 @@ not a Chinese-Chinese translator or an English-English translator. Below is the "Color": "secondary", }, } - -