diff --git a/src/App.tsx b/src/App.tsx index 8922571..9176676 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,7 @@ import { createBrowserRouter, RouterProvider } from 'react-router-dom'; import { ColorFunctionProvider } from './ColorFunctionContext'; import { Notifications } from './components/Notifications'; +import { Harmonies } from './pages/Harmonies'; import { Home } from './pages/Home'; import { MainLayout } from './pages/MainLayout'; import { NewScheme } from './pages/NewScheme'; @@ -23,6 +24,7 @@ const routes = createBrowserRouter([ { path: ':id', element: }, ], }, + { path: 'harmonies', element: }, ], }, ]); diff --git a/src/pages/Harmonies.module.css b/src/pages/Harmonies.module.css new file mode 100644 index 0000000..21df628 --- /dev/null +++ b/src/pages/Harmonies.module.css @@ -0,0 +1,26 @@ +@layer pages { + .harmonies_workspace { + flex-direction: column; + } + .explore_section { + width: 100%; + flex: 1; + display: flex; + flex-direction: row; + align-items: stretch; + } + .function_side { + display: flex; + flex-direction: column; + gap: var(--spacing-m); + .mode_navigation { + display: flex; + flex-direction: column; + align-items: stretch; + gap: var(--spacing-xs); + } + } + .preview_side { + flex: 1; + } +} diff --git a/src/pages/Harmonies.tsx b/src/pages/Harmonies.tsx new file mode 100644 index 0000000..fc94f8d --- /dev/null +++ b/src/pages/Harmonies.tsx @@ -0,0 +1,34 @@ +import cx from 'clsx'; +import { NavLink, Outlet } from 'react-router-dom'; +import styles from './Harmonies.module.css'; + +export function Harmonies() { + return ( +
+
+

Color Harmonies

+

Automatically select color combinations using color theory.

+
+
+ +
+ +
+
+
+ ); +}