mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: split management settings sidebar into deployment/organization sidebars (#15388)
resolves coder/internal#199 Currently the admin settings has a combined sidebar for deployment settings and organization settings, this PR separates the sidebar in 2 sidebars for deployment and organization settings. This is preparation for the redesign work of the organization settings sidebar where a dropdown will be user to select and create new organizations. see figma: https://www.figma.com/design/OR75XeUI0Z3ksqt1mHsNQw/Dashboard-v1?node-id=684-5287&m=dev This also does some of the initial redesign work for the sidebars using Tailwind. <img width="1172" alt="Screenshot 2024-11-05 at 5 28 47 PM" src="https://github.com/user-attachments/assets/5ede14fa-1da9-4e74-a967-81f4e5772c68"> <img width="1169" alt="Screenshot 2024-11-05 at 5 28 56 PM" src="https://github.com/user-attachments/assets/459339ba-f3bf-4ef2-b86a-143c922108b7">
This commit is contained in:
@@ -60,7 +60,6 @@ export const ThemeProvider: FC<PropsWithChildren> = ({ children }) => {
|
||||
|
||||
useEffect(() => {
|
||||
const root = document.documentElement;
|
||||
|
||||
if (themePreference === "auto") {
|
||||
root.classList.add(preferredColorScheme);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user