From 0908b601ce29df8e24377b81f4e7a2bb9a0c8c95 Mon Sep 17 00:00:00 2001 From: Brian Rogers Date: Sat, 28 May 2022 17:45:30 -0600 Subject: [PATCH] updating buttons, dark mode, flags, and configs --- src/package.json | 29 +++++--- src/resources/css/app.css | 2 + src/resources/css/components/buttons.css | 2 +- .../js/Components/DarkModeToggle.vue | 2 +- .../views/components/flags.blade.php | 2 +- src/tailwind.config.js | 67 +++++++++++++++++++ 6 files changed, 91 insertions(+), 13 deletions(-) diff --git a/src/package.json b/src/package.json index 0dbfdc1..1096b0d 100644 --- a/src/package.json +++ b/src/package.json @@ -1,25 +1,34 @@ { "private": true, - "scripts": {}, - "devDependencies": { - "laravel-mix": "^6.0.43", - "postcss": "^8.4.13", - "postcss-import": "^14.1.0", - "vue-loader": "^17.0.0" + "scripts": { + "dev": "npm run development", + "development": "mix", + "watch": "mix watch", + "watch-poll": "mix watch -- --watch-options-poll=1000", + "hot": "mix watch --hot", + "prod": "npm run production", + "production": "mix --production" }, "dependencies": { "@inertiajs/inertia": "^0.11.0", "@inertiajs/inertia-vue3": "^0.6.0", "@inertiajs/progress": "^0.2.7", - "@tailwindcss/forms": "^0.5.0", + "@tailwindcss/forms": "^0.5.2", "@tailwindcss/typography": "^0.5.2", - "axios": "^0.27.1", - "dayjs": "^1.11.1", + "@vueuse/core": "^8.5.0", + "axios": "^0.27.2", + "dayjs": "^1.11.2", "laravel-vue-i18n": "^1.4.3", "lodash": "^4.17.21", "notiwind": "^1.2.5", "tailwindcss": "^3.0.24", "tailwindcss-neumorphism": "^0.1.0", - "vue": "^3.2.33" + "vue": "^3.2.36" + }, + "devDependencies": { + "laravel-mix": "^6.0.43", + "postcss": "^8.4.14", + "postcss-import": "^14.1.0", + "vue-loader": "^17.0.0" } } \ No newline at end of file diff --git a/src/resources/css/app.css b/src/resources/css/app.css index 26fd8b5..b45b9af 100644 --- a/src/resources/css/app.css +++ b/src/resources/css/app.css @@ -2,6 +2,8 @@ @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; +@import 'extends/grid.css'; + @import 'animations.css'; @import 'fontfaces.css'; diff --git a/src/resources/css/components/buttons.css b/src/resources/css/components/buttons.css index 396dbc8..6a24b28 100644 --- a/src/resources/css/components/buttons.css +++ b/src/resources/css/components/buttons.css @@ -1,5 +1,5 @@ .button { - @apply flex flex-row items-center; + @apply inline-grid grid-flow-col auto-cols-max gap-x-2 items-center; } .button-primary { diff --git a/src/resources/js/Components/DarkModeToggle.vue b/src/resources/js/Components/DarkModeToggle.vue index 0cff2f5..6e0f85d 100644 --- a/src/resources/js/Components/DarkModeToggle.vue +++ b/src/resources/js/Components/DarkModeToggle.vue @@ -1,5 +1,5 @@