Skip to content

Add dark/light theme toggle to docs.layer5.io #1069

@gitAash

Description

@gitAash

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)

1re.mp4

Reference from Kanvas Website (Theme toggle available)

2re.mp4

Contributor Guide and Resources

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions