@danhachuel/thunderbolt 0.6.88 → 0.6.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/main.py +22 -0
- package/hermes_ui/domain.py +1 -1
- package/package.json +1 -1
package/app/main.py
CHANGED
|
@@ -266,6 +266,28 @@ SUBTITLE_POSITION_OPTIONS = ["Bottom (Recommended)", "Top", "Center"]
|
|
|
266
266
|
ensure_storage()
|
|
267
267
|
st.set_page_config(page_title="Thunderbolt", page_icon="T", layout="wide", initial_sidebar_state="expanded")
|
|
268
268
|
|
|
269
|
+
if st.get_option("theme.base") == "light":
|
|
270
|
+
st.markdown(
|
|
271
|
+
"""
|
|
272
|
+
<style>
|
|
273
|
+
.stApp {
|
|
274
|
+
background: linear-gradient(315deg, #4f2991 3%, #7dc4ff 38%, #36cfcc 68%, #a92ed3 98%);
|
|
275
|
+
background-size: 400% 400%;
|
|
276
|
+
animation: thunderbolt-prismatic-gradient 15s ease infinite;
|
|
277
|
+
min-height: 100vh;
|
|
278
|
+
margin: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@keyframes thunderbolt-prismatic-gradient {
|
|
282
|
+
0% { background-position: 0% 0%; }
|
|
283
|
+
50% { background-position: 100% 100%; }
|
|
284
|
+
100% { background-position: 0% 0%; }
|
|
285
|
+
}
|
|
286
|
+
</style>
|
|
287
|
+
""",
|
|
288
|
+
unsafe_allow_html=True,
|
|
289
|
+
)
|
|
290
|
+
|
|
269
291
|
st.markdown("""
|
|
270
292
|
<style>
|
|
271
293
|
/*
|
package/hermes_ui/domain.py
CHANGED
|
@@ -26,7 +26,7 @@ def composio_connected_account_id_from_channel_name(name: str) -> str:
|
|
|
26
26
|
"""Create the editable Composio account alias used by a YouTube channel."""
|
|
27
27
|
normalized = unicodedata.normalize("NFKD", str(name or "")).encode("ascii", "ignore").decode("ascii")
|
|
28
28
|
words = re.findall(r"[A-Za-z0-9]+", normalized)
|
|
29
|
-
return "-".join(
|
|
29
|
+
return "-".join(words)
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def make_id(prefix: str) -> str:
|
package/package.json
CHANGED