Nattiden 7 meses atrás
pai
commit
e0e37bd4cf

+ 2 - 1
.gitignore

@@ -11,4 +11,5 @@ private.*
 output/
 Private/
 output.xaml
-/Project/configs/local.*
+/Project/configs/local.*
+/.idea/*

+ 2 - 2
Project/modules/theme_color_override.py

@@ -19,9 +19,9 @@ COLOR_MAPPING = {
 @on('page.generate.return')
 @enable_by_config('news.replacecolor')
 def script(*args, **kwargs):
-    result:str = kwargs['result']
+    result: str = kwargs['result']
     for num, color in COLOR_MAPPING.items():
         if not color:
             continue
-        result = result.replace(f"{{DynamicResource ColorBrush{num}}}",color)
+        result = result.replace(f"{{DynamicResource ColorBrush{num}}}", color)
     raise ResultOverride(result)

+ 1 - 1
Project/pages/News.yml

@@ -17,4 +17,4 @@ cards:
  - feedback_hint
  - NewFooter
 default:
-   in-main-page: True
+   in-main-page: True

+ 0 - 0
Project/structures/components/CardContentStack.xaml → Project/structures/components/CardContentStack.xaml.disabled


+ 1 - 1
requirements.txt

@@ -1 +1 @@
-requests == 2.31.0
+requests >= 2.32.4