diff --git a/public/favicon.png b/public/favicon.png index c92ba5cc..f458cb32 100644 Binary files a/public/favicon.png and b/public/favicon.png differ diff --git a/public/favicon.svg b/public/favicon.svg index 385cb539..6dd12379 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,4 +1,4 @@ - - + + diff --git a/public/logo.png b/public/logo.png index 4b93f66c..2f8a1ba3 100644 Binary files a/public/logo.png and b/public/logo.png differ diff --git a/resources/css/app.css b/resources/css/app.css index 0a3647ec..5ab975a0 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -7,6 +7,18 @@ font-family: 'Poppins', sans-serif; } +.theme-witelon { + --color-primary: 38 44 137; + --color-primary-bright: 37 43 174; + --color-primary-dark: 20 22 71; +} + +.theme-tauron { + --color-primary: 228 0 125; + --color-primary-bright: 245 13 147; + --color-primary-dark: 176 4 96; +} + .v-enter-active, .v-leave-active { transition: opacity 0.3s ease; @@ -27,7 +39,7 @@ } ::-webkit-scrollbar-thumb { - background: #262c8926; + background: #E4007D26; border-radius: 1rem; border: 2px solid transparent; background-clip: content-box; @@ -35,7 +47,7 @@ } ::-webkit-scrollbar-thumb:hover { - background: #262c894c; + background: #E4007D4c; border: 2px solid transparent; background-clip: content-box; position: fixed; diff --git a/resources/js/app.ts b/resources/js/app.ts index 5629b9a6..89883ccb 100644 --- a/resources/js/app.ts +++ b/resources/js/app.ts @@ -13,6 +13,9 @@ dayjs.locale('pl') const appName = import.meta.env.VITE_APP_NAME +const themeClass = localStorage.getItem('theme') +themeClass && document.documentElement.classList.add(themeClass) + createInertiaApp({ title: (title) => `${title} - ${appName}`, resolve: async (name) => { diff --git a/resources/js/components/Common/BackgroundEffect.vue b/resources/js/components/Common/BackgroundEffect.vue index e3193403..13186a8d 100644 --- a/resources/js/components/Common/BackgroundEffect.vue +++ b/resources/js/components/Common/BackgroundEffect.vue @@ -19,7 +19,7 @@ onUnmounted(() => window.removeEventListener('scroll', setBannerVisibility)) size-full bg-gradient-to-r from-[#ff80b5] - to-primary-600 + to-[#373ff4] opacity-30 " style=" clip-path: polygon( diff --git a/resources/js/components/Common/ButtonFrame.vue b/resources/js/components/Common/ButtonFrame.vue index fbe5e43e..3e0d90a0 100644 --- a/resources/js/components/Common/ButtonFrame.vue +++ b/resources/js/components/Common/ButtonFrame.vue @@ -12,8 +12,8 @@ defineProps() 'rounded text-xs px-2': extraSmall, 'rounded-xl': !small && !extraSmall, 'py-3 max-w-96 w-full': large, - 'focus:rounded-sm text-black hover:text-primary-800 p-0 font-semibold': text, - 'px-4 bg-primary text-white hover:bg-primary-950 py-2.5 font-bold': !text, + 'focus:rounded-sm text-black hover:text-primary-bright p-0 font-semibold': text, + 'px-4 bg-primary text-white hover:bg-primary-dark py-2.5 font-bold': !text, 'opacity-50 pointer-events-none': disabled, }" > diff --git a/resources/js/components/Common/CustomDatepicker.vue b/resources/js/components/Common/CustomDatepicker.vue index 121ffb5d..29197947 100644 --- a/resources/js/components/Common/CustomDatepicker.vue +++ b/resources/js/components/Common/CustomDatepicker.vue @@ -34,7 +34,7 @@ const datepickerRef = ref>()