├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── assets ├── desma-fonts.png ├── desma-main.png ├── desma-palette.png ├── desma-preview.png ├── desma-spacing.png └── header.png ├── lib ├── authServerSide.ts └── config.ts ├── next-env.d.ts ├── package.json ├── pages ├── _app.tsx ├── _document.tsx ├── api │ ├── auth.ts │ └── logout.ts ├── auth │ ├── login.tsx │ └── register.tsx ├── dashboard │ └── index.tsx ├── designer │ ├── [designer_id].tsx │ └── index.tsx ├── index.tsx └── share.tsx ├── src ├── __mocks__ │ └── designMocks.ts ├── components │ ├── atoms │ │ ├── ColorCard.tsx │ │ ├── Dropdown.tsx │ │ ├── FontContainer.tsx │ │ ├── SpaceBox.tsx │ │ ├── Tab.tsx │ │ ├── TabList.tsx │ │ ├── TabPanel.tsx │ │ ├── TabPanels.tsx │ │ └── TableItem.tsx │ ├── molecules │ │ ├── ColorCollection.tsx │ │ ├── ColorPicker.tsx │ │ ├── Feature.tsx │ │ ├── ProjectCard.tsx │ │ └── Table.tsx │ ├── organisms │ │ ├── ColorSection.tsx │ │ ├── FontSection.tsx │ │ ├── Nav.tsx │ │ ├── Preview.tsx │ │ └── SpacingSection.tsx │ └── templates │ │ └── AppLayout.tsx ├── context │ ├── DesignContext.tsx │ ├── TabsContext.tsx │ └── UserContext.tsx ├── interfaces │ ├── IDesign.ts │ ├── ITabs.tsx │ └── IUser.tsx ├── theme │ └── styles.tsx └── utils │ ├── colorConversion.ts │ ├── constants.ts │ └── scaleFactor.tsx ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/README.md -------------------------------------------------------------------------------- /assets/desma-fonts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/assets/desma-fonts.png -------------------------------------------------------------------------------- /assets/desma-main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/assets/desma-main.png -------------------------------------------------------------------------------- /assets/desma-palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/assets/desma-palette.png -------------------------------------------------------------------------------- /assets/desma-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/assets/desma-preview.png -------------------------------------------------------------------------------- /assets/desma-spacing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/assets/desma-spacing.png -------------------------------------------------------------------------------- /assets/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/assets/header.png -------------------------------------------------------------------------------- /lib/authServerSide.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/lib/authServerSide.ts -------------------------------------------------------------------------------- /lib/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/lib/config.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/_document.tsx -------------------------------------------------------------------------------- /pages/api/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/api/auth.ts -------------------------------------------------------------------------------- /pages/api/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/api/logout.ts -------------------------------------------------------------------------------- /pages/auth/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/auth/login.tsx -------------------------------------------------------------------------------- /pages/auth/register.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/auth/register.tsx -------------------------------------------------------------------------------- /pages/dashboard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/dashboard/index.tsx -------------------------------------------------------------------------------- /pages/designer/[designer_id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/designer/[designer_id].tsx -------------------------------------------------------------------------------- /pages/designer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/designer/index.tsx -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /pages/share.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/pages/share.tsx -------------------------------------------------------------------------------- /src/__mocks__/designMocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/__mocks__/designMocks.ts -------------------------------------------------------------------------------- /src/components/atoms/ColorCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/ColorCard.tsx -------------------------------------------------------------------------------- /src/components/atoms/Dropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/Dropdown.tsx -------------------------------------------------------------------------------- /src/components/atoms/FontContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/FontContainer.tsx -------------------------------------------------------------------------------- /src/components/atoms/SpaceBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/SpaceBox.tsx -------------------------------------------------------------------------------- /src/components/atoms/Tab.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/Tab.tsx -------------------------------------------------------------------------------- /src/components/atoms/TabList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/TabList.tsx -------------------------------------------------------------------------------- /src/components/atoms/TabPanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/TabPanel.tsx -------------------------------------------------------------------------------- /src/components/atoms/TabPanels.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/TabPanels.tsx -------------------------------------------------------------------------------- /src/components/atoms/TableItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/atoms/TableItem.tsx -------------------------------------------------------------------------------- /src/components/molecules/ColorCollection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/molecules/ColorCollection.tsx -------------------------------------------------------------------------------- /src/components/molecules/ColorPicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/molecules/ColorPicker.tsx -------------------------------------------------------------------------------- /src/components/molecules/Feature.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/molecules/Feature.tsx -------------------------------------------------------------------------------- /src/components/molecules/ProjectCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/molecules/ProjectCard.tsx -------------------------------------------------------------------------------- /src/components/molecules/Table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/molecules/Table.tsx -------------------------------------------------------------------------------- /src/components/organisms/ColorSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/organisms/ColorSection.tsx -------------------------------------------------------------------------------- /src/components/organisms/FontSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/organisms/FontSection.tsx -------------------------------------------------------------------------------- /src/components/organisms/Nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/organisms/Nav.tsx -------------------------------------------------------------------------------- /src/components/organisms/Preview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/organisms/Preview.tsx -------------------------------------------------------------------------------- /src/components/organisms/SpacingSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/organisms/SpacingSection.tsx -------------------------------------------------------------------------------- /src/components/templates/AppLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/components/templates/AppLayout.tsx -------------------------------------------------------------------------------- /src/context/DesignContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/context/DesignContext.tsx -------------------------------------------------------------------------------- /src/context/TabsContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/context/TabsContext.tsx -------------------------------------------------------------------------------- /src/context/UserContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/context/UserContext.tsx -------------------------------------------------------------------------------- /src/interfaces/IDesign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/interfaces/IDesign.ts -------------------------------------------------------------------------------- /src/interfaces/ITabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/interfaces/ITabs.tsx -------------------------------------------------------------------------------- /src/interfaces/IUser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/interfaces/IUser.tsx -------------------------------------------------------------------------------- /src/theme/styles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/theme/styles.tsx -------------------------------------------------------------------------------- /src/utils/colorConversion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/utils/colorConversion.ts -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/utils/constants.ts -------------------------------------------------------------------------------- /src/utils/scaleFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/src/utils/scaleFactor.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kosmos-Community/desma/HEAD/yarn.lock --------------------------------------------------------------------------------