diff --git a/components/flat-section/flat-section.module.scss b/components/flat-section/flat-section.module.scss index 84aaf88..3fdf6c9 100644 --- a/components/flat-section/flat-section.module.scss +++ b/components/flat-section/flat-section.module.scss @@ -1,10 +1,8 @@ @use '../../styles/mixins.scss' as mixins; -@import '../../styles/colors.scss'; section { .subtitle { - color: $blue-2; - @apply w-64 hidden md:block; + @apply w-64 hidden md:block text-dicoogle-300; h3, h4 { diff --git a/components/footer/footer.module.scss b/components/footer/footer.module.scss index 56fb73d..cd23a19 100644 --- a/components/footer/footer.module.scss +++ b/components/footer/footer.module.scss @@ -1,12 +1,8 @@ -@use '../../styles/colors.scss' as colors; - .footer { border-top: 1px solid #eaeaea; - - background: colors.$gray-2; min-height: 200px; - @apply flex flex-col items-center gap-y-4 pt-10; + @apply flex flex-col items-center gap-y-4 pt-10 bg-dicoogle-gray-200; a { display: flex; diff --git a/components/grid-section/grid-section.module.scss b/components/grid-section/grid-section.module.scss index 896e1fc..68b2001 100644 --- a/components/grid-section/grid-section.module.scss +++ b/components/grid-section/grid-section.module.scss @@ -1,9 +1,8 @@ @use '../../styles/mixins.scss' as mixins; -@import '../../styles/colors.scss'; section { .subtitle { - color: $blue-2; + @apply text-dicoogle-300; } } diff --git a/components/location-section/location-section.module.scss b/components/location-section/location-section.module.scss index 4b7cb86..71c474c 100644 --- a/components/location-section/location-section.module.scss +++ b/components/location-section/location-section.module.scss @@ -1,5 +1,3 @@ -@use '../../styles/colors.scss' as colors; - .location { @apply bg-gray-100; } diff --git a/components/navbar/navbar.module.scss b/components/navbar/navbar.module.scss index 823b14d..3d48796 100644 --- a/components/navbar/navbar.module.scss +++ b/components/navbar/navbar.module.scss @@ -1,9 +1,7 @@ @use '../../styles/mixins.scss' as mixins; -@import '../../styles/colors.scss'; .header { - @apply sticky top-0 w-full flex justify-between items-center z-50 transition-all duration-300; - background: $blue-0; + @apply sticky top-0 w-full flex justify-between items-center z-50 transition-all duration-300 bg-dicoogle-600; &__container { @apply w-full flex justify-between items-center; @@ -18,34 +16,27 @@ .nav { &__hamburger { @apply inline-flex p-3 md:hidden outline-none rounded-lg; - @apply transition duration-300; - - color: $gray-2; + @apply transition duration-300 text-dicoogle-gray-200; &:hover { - color: $blue-3; + @apply text-dicoogle-400; } } &__links { - @apply fixed md:relative md:flex md:space-y-0 md:space-x-6 md:p-0 left-0 right-0 md:translate-x-0 space-y-4 p-4 transform duration-500 items-center; - background: $blue-0; + @apply fixed md:relative md:flex md:space-y-0 md:space-x-6 md:p-0 left-0 right-0 md:translate-x-0 space-y-4 p-4 transform duration-500 items-center bg-dicoogle-600; } &__link { - @apply border-gray-100 active:rounded-lg md:border-0 block font-bold pl-3 pr-4 py-2 md:hover:text-blue-400 md:p-0; - @apply transition ease-in-out duration-150 hover:scale-105; - - color: $gray-2; + @apply border-gray-100 active:rounded-lg md:border-0 block font-bold pl-3 pr-4 py-2 md:hover:text-dicoogle-300 md:p-0; + @apply transition ease-in-out duration-150 hover:scale-105 text-dicoogle-gray-200; &__download { @include mixins.button1; - @apply rounded-md text-white p-2 w-fit; - background: $blue-2; + @apply rounded-md text-white p-2 w-fit bg-dicoogle-300; &:hover { - background: $blue-3; - color: $blue-0; + @apply bg-dicoogle-400 text-white; } } } diff --git a/components/scroll-top/ScrollToTheTop.tsx b/components/scroll-top/ScrollToTheTop.tsx index 2d33602..720489e 100644 --- a/components/scroll-top/ScrollToTheTop.tsx +++ b/components/scroll-top/ScrollToTheTop.tsx @@ -16,7 +16,7 @@ export const ScrollToTheTop = () => { const scrollToTop = () => { window.scrollTo({ top: 0, - behavior: 'smooth', + behavior: 'smooth' }); }; @@ -29,7 +29,7 @@ export const ScrollToTheTop = () => { }, []); return ( -