Page MenuHomeFreeBSD

Use system theme for documentation website
ClosedPublic

Authored by mchoo on Jul 13 2023, 8:01 PM.
Tags
Referenced Files
Unknown Object (File)
Wed, Sep 16, 9:05 AM
Unknown Object (File)
Sat, Sep 12, 8:12 AM
Unknown Object (File)
Fri, Sep 11, 8:04 AM
Unknown Object (File)
Fri, Sep 4, 6:29 PM
Unknown Object (File)
Fri, Sep 4, 4:41 PM
Unknown Object (File)
Fri, Sep 4, 2:22 PM
Unknown Object (File)
Fri, Sep 4, 2:22 PM
Unknown Object (File)
Fri, Sep 4, 12:50 PM
Subscribers

Details

Summary

Hugo will bring theme settings from browser (light/dark) as "theme-system" and set it as default theme. Users can change the theme via footer and the change will be stored permanently using localStorage.

Test Plan

make run

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mchoo requested review of this revision.Jul 13 2023, 8:01 PM
mchoo created this revision.
carlavilla added a subscriber: carlavilla.

Nice addition, I'm gonna make the commit :)

This revision is now accepted and ready to land.Jul 14 2023, 1:50 PM