From f3542f711b220a5421e8ba6c48d485b7780ca74c Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 22 Jul 2024 15:07:51 +0200 Subject: [PATCH] . --- dashboard/assets/scss/main.scss | 2 + dashboard/components/lyx-ui/Button.vue | 18 +++++++ dashboard/components/lyx-ui/Card.vue | 10 ++++ dashboard/components/lyx-ui/Icon.vue | 11 +++++ .../components/lyx-ui/ProjectSelector.vue | 26 ++++++++++ dashboard/nuxt.config.ts | 6 +++ dashboard/pages/project_selector.vue | 20 ++++++-- dashboard/tailwind.config.js | 49 +++++++++++++++++-- 8 files changed, 133 insertions(+), 9 deletions(-) create mode 100644 dashboard/components/lyx-ui/Button.vue create mode 100644 dashboard/components/lyx-ui/Card.vue create mode 100644 dashboard/components/lyx-ui/Icon.vue create mode 100644 dashboard/components/lyx-ui/ProjectSelector.vue diff --git a/dashboard/assets/scss/main.scss b/dashboard/assets/scss/main.scss index 6c9b12b..9f74870 100644 --- a/dashboard/assets/scss/main.scss +++ b/dashboard/assets/scss/main.scss @@ -11,6 +11,8 @@ @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0'); + @font-face { font-family: "Geist"; diff --git a/dashboard/components/lyx-ui/Button.vue b/dashboard/components/lyx-ui/Button.vue new file mode 100644 index 0000000..1bc8927 --- /dev/null +++ b/dashboard/components/lyx-ui/Button.vue @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/dashboard/components/lyx-ui/Card.vue b/dashboard/components/lyx-ui/Card.vue new file mode 100644 index 0000000..9e59af5 --- /dev/null +++ b/dashboard/components/lyx-ui/Card.vue @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/dashboard/components/lyx-ui/Icon.vue b/dashboard/components/lyx-ui/Icon.vue new file mode 100644 index 0000000..ae49ef6 --- /dev/null +++ b/dashboard/components/lyx-ui/Icon.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/dashboard/components/lyx-ui/ProjectSelector.vue b/dashboard/components/lyx-ui/ProjectSelector.vue new file mode 100644 index 0000000..da5cbab --- /dev/null +++ b/dashboard/components/lyx-ui/ProjectSelector.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/dashboard/nuxt.config.ts b/dashboard/nuxt.config.ts index d602f88..f01f5a8 100644 --- a/dashboard/nuxt.config.ts +++ b/dashboard/nuxt.config.ts @@ -9,6 +9,12 @@ const gooleSignInConfig: any = { } export default defineNuxtConfig({ + postcss: { + plugins: { + tailwindcss: {}, + autoprefixer: {} + } + }, colorMode: { preference: 'dark', }, diff --git a/dashboard/pages/project_selector.vue b/dashboard/pages/project_selector.vue index 5a543c8..fff6e82 100644 --- a/dashboard/pages/project_selector.vue +++ b/dashboard/pages/project_selector.vue @@ -1,5 +1,4 @@