@danhachuel/thunderbolt 0.6.89 → 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/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/package.json
CHANGED