Skip to content

move theme props from <SourcegraphWebApp> to useTheme hook

Warren Gifford requested to merge sqs/useTheme into main

Created by: sqs

Previously, the theme code was scattered in the SourcegraphWebApp class component. Now, it's in a single React hook useTheme. Also, there are tests.

This is just a code refactor; there is no (intended) user-visible change.

Merge request reports

Loading