Add dark/light theme toggle to docs.layer5.io
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
Current Behavior
The Layer5 Docs website (https://docs.layer5.io) does not have a dark/light theme toggle option.
Other Layer5 websites like the Kanvas page already include this feature.
Desired Behavior
Add a dark/light theme toggle to the Layer5 Docs website so users can switch between light mode and dark mode.
Implementation
1.Add a theme toggle button in the navbar/header.
2.Reuse the existing theme toggle design from other Layer5 websites if possible.
Acceptance Tests
1.Theme toggle is visible in the navbar.
2.Users can switch between dark and light themes.
3.Works properly on desktop and mobile.
Mockups
Current Docs Website (No theme toggle)
https://github.com/user-attachments/assets/5e77fc76-2216-49f5-930a-44ad1f1aeee9
Reference from Kanvas Website (Theme toggle available)
https://github.com/user-attachments/assets/277f6910-f353-4f45-bf4d-09791fe19feb
Contributor Guide and Resources
- 📚 Instructions for contributing to documentation
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack
- 主要语言
- JavaScript
- 星标
- 100
- 派生
- 227
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 34
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
layer5io/docs 的其他 Issue
-
Kubernetes request flow tutorial URL is non-deterministic: alias collides with a near-duplicate page 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 1/5 1 小时以内 新手友好度 92/100
-
framework/hugo help wanted kind/bug language/css language/javascript
难度 1/5 1 小时以内 新手友好度 65/100
-
help wanted issue/willfix
难度 2/5 1-2 天 新手友好度 72/100
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100