We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf1ecb commit 1cc2575Copy full SHA for 1cc2575
src/addon/migrate.py
@@ -208,8 +208,9 @@ def v2_to_v3(conf: ConfigManager) -> None:
208
conf.set("colors", colors)
209
conf.save()
210
211
+
212
# for Anki v2.66+
-def adjust_colors_v3(colors: dict):
213
+def adjust_colors_v3(colors: dict) -> None:
214
# add canvas-glass
215
elevated = colors["CANVAS_ELEVATED"]
216
colors["CANVAS_GLASS"] = [
@@ -227,4 +228,4 @@ def adjust_colors_v3(colors: dict):
227
228
fg = colors["FG"]
229
if not isinstance(fg[3], list):
230
fg[3] = [fg[3]]
- fg[3].append("--bs-body-color")
231
+ fg[3].append("--bs-body-color")
0 commit comments