Spaces:
Paused
Paused
explain color and theme
Browse files- functional.py +4 -8
functional.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
-
#
|
2 |
-
# '
|
3 |
-
# '
|
4 |
-
#
|
5 |
-
# """
|
6 |
-
|
7 |
|
8 |
def get_functionals():
|
9 |
return {
|
@@ -55,5 +53,3 @@ not a Chinese-Chinese translator or an English-English translator. Below is the
|
|
55 |
"Color": "secondary",
|
56 |
},
|
57 |
}
|
58 |
-
|
59 |
-
|
|
|
1 |
+
# 'primary' 颜色对应 theme.py 中的 primary_hue
|
2 |
+
# 'secondary' 颜色对应 theme.py 中的 neutral_hue
|
3 |
+
# 'stop' 颜色对应 theme.py 中的 color_er
|
4 |
+
# 默认按钮颜色是 secondary
|
|
|
|
|
5 |
|
6 |
def get_functionals():
|
7 |
return {
|
|
|
53 |
"Color": "secondary",
|
54 |
},
|
55 |
}
|
|
|
|