3v324v23 commited on
Commit
b9f1a89
1 Parent(s): 67d1d88

explain color and theme

Browse files
Files changed (1) hide show
  1. functional.py +4 -8
functional.py CHANGED
@@ -1,9 +1,7 @@
1
- # """
2
- # 'primary' for main call-to-action,
3
- # 'secondary' for a more subdued style,
4
- # 'stop' for a stop button.
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
  }