fix footer light mode bug

pull/970/merge
Kye Gomez 4 days ago
parent e4ace1bd65
commit 40ef68ea73

@ -723,7 +723,7 @@ Join our community of agent engineers and researchers for technical support, cut
| 📚 Documentation | Official documentation and guides | [docs.swarms.world](https://docs.swarms.world) | | 📚 Documentation | Official documentation and guides | [docs.swarms.world](https://docs.swarms.world) |
| 📝 Blog | Latest updates and technical articles | [Medium](https://medium.com/@kyeg) | | 📝 Blog | Latest updates and technical articles | [Medium](https://medium.com/@kyeg) |
| 💬 Discord | Live chat and community support | [Join Discord](https://discord.gg/jM3Z6M9uMq) | | 💬 Discord | Live chat and community support | [Join Discord](https://discord.gg/jM3Z6M9uMq) |
| 🐦 Twitter | Latest news and announcements | [@kyegomez](https://twitter.com/kyegomez) | | 🐦 Twitter | Latest news and announcements | [@swarms_corp](https://twitter.com/swarms_corp) |
| 👥 LinkedIn | Professional network and updates | [The Swarm Corporation](https://www.linkedin.com/company/the-swarm-corporation) | | 👥 LinkedIn | Professional network and updates | [The Swarm Corporation](https://www.linkedin.com/company/the-swarm-corporation) |
| 📺 YouTube | Tutorials and demos | [Swarms Channel](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) | | 📺 YouTube | Tutorials and demos | [Swarms Channel](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) |
| 🎫 Events | Join our community events | [Sign up here](https://lu.ma/5p2jnc2v) | | 🎫 Events | Join our community events | [Sign up here](https://lu.ma/5p2jnc2v) |

@ -94,7 +94,7 @@ extra:
url: "https://docs.swarms.world/en/latest/examples/paper_implementations/" url: "https://docs.swarms.world/en/latest/examples/paper_implementations/"
"Community": "Contributors":
- title: "Contributing" - title: "Contributing"
url: "https://docs.swarms.world/en/latest/contributors/main/" url: "https://docs.swarms.world/en/latest/contributors/main/"
- title: "Code Style Guide" - title: "Code Style Guide"
@ -106,6 +106,24 @@ extra:
- title: "Support" - title: "Support"
url: "https://docs.swarms.world/en/latest/swarms/support/" url: "https://docs.swarms.world/en/latest/swarms/support/"
"Community":
- title: "Twitter"
url: "https://twitter.com/swarms_corp"
- title: "Discord"
url: "https://discord.gg/jM3Z6M9uMq"
- title: "YouTube"
url: "https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ"
- title: "LinkedIn"
url: "https://www.linkedin.com/company/the-swarm-corporation"
- title: "Blog"
url: "https://medium.com/@kyeg"
- title: "Events"
url: "https://lu.ma/5p2jnc2v"
- title: "Onboarding Session"
url: "https://cal.com/swarms/swarms-onboarding-session"
analytics: analytics:
provider: google provider: google
property: G-MPE9C65596 property: G-MPE9C65596

@ -40,11 +40,10 @@
{% block styles %} {% block styles %}
{{ super() }} {{ super() }}
<style> <style>
/* Custom Footer Styling */ /* Custom Footer Styling - Base */
.md-footer-custom { .md-footer-custom {
background: var(--md-footer-bg-color);
border-top: 0.05rem solid var(--md-default-fg-color--lightest);
padding: 2.4rem 0 1.2rem; padding: 2.4rem 0 1.2rem;
border-top: 0.05rem solid var(--md-default-fg-color--lightest);
} }
.md-footer-custom__inner { .md-footer-custom__inner {
@ -65,13 +64,11 @@
} }
.md-footer-links__title { .md-footer-links__title {
color: var(--md-default-fg-color);
font-size: 0.64rem; font-size: 0.64rem;
font-weight: 700; font-weight: 700;
margin: 0 0 1rem; margin: 0 0 1rem;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.1em; letter-spacing: 0.1em;
border-bottom: 0.05rem solid var(--md-default-fg-color--lightest);
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
} }
@ -87,7 +84,6 @@
} }
.md-footer-links__link { .md-footer-links__link {
color: var(--md-default-fg-color--light);
text-decoration: none; text-decoration: none;
font-size: 0.7rem; font-size: 0.7rem;
display: block; display: block;
@ -101,6 +97,46 @@
color: var(--md-accent-fg-color); color: var(--md-accent-fg-color);
} }
/* Light Mode (Default) */
[data-md-color-scheme="default"] .md-footer-custom {
background: #ffffff;
border-top-color: #e1e5e9;
}
[data-md-color-scheme="default"] .md-footer-links__title {
color: #2e3440;
border-bottom: 0.05rem solid #e1e5e9;
}
[data-md-color-scheme="default"] .md-footer-links__link {
color: #636c76;
}
[data-md-color-scheme="default"] .md-footer-links__link:hover,
[data-md-color-scheme="default"] .md-footer-links__link:focus {
color: #1976d2;
}
/* Dark Mode (Slate) */
[data-md-color-scheme="slate"] .md-footer-custom {
background: #212529;
border-top-color: #404040;
}
[data-md-color-scheme="slate"] .md-footer-links__title {
color: #ffffff;
border-bottom: 0.05rem solid #404040;
}
[data-md-color-scheme="slate"] .md-footer-links__link {
color: #9ca3af;
}
[data-md-color-scheme="slate"] .md-footer-links__link:hover,
[data-md-color-scheme="slate"] .md-footer-links__link:focus {
color: #42a5f5;
}
/* Responsive Design */ /* Responsive Design */
@media screen and (max-width: 76.1875em) { @media screen and (max-width: 76.1875em) {
.md-footer-links { .md-footer-links {
@ -134,14 +170,5 @@
padding: 0 1rem; padding: 0 1rem;
} }
} }
/* Dark mode adjustments */
[data-md-color-scheme="slate"] .md-footer-custom {
background: var(--md-footer-bg-color);
}
[data-md-color-scheme="slate"] .md-footer-links__title {
border-bottom-color: var(--md-default-fg-color--lightest);
}
</style> </style>
{% endblock %} {% endblock %}
Loading…
Cancel
Save