Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Sep 1, 2022
1 parent fc43078 commit e6b3374
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/style/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.dark {
--color-primary: 14, 165, 233;
--color-primary: 24, 24, 27;
--color-primary-content: 255, 255, 255;

--color-secondary: 14, 165, 233;
Expand Down
3 changes: 1 addition & 2 deletions src/components/Layout/LayoutHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
py-2.5
border-b
dark:border-b-slate-800
dark:bg-slate-900
pl-4
pr-4
h-9
Expand Down Expand Up @@ -37,7 +36,7 @@
<NavbarMobile />

<div class="relative hidden lg:flex items-center ml-auto">
<nav class="text-sm leading-6 font-semibold">
<nav class="text-sm leading-6 font-medium">
<ul class="flex space-x-8">
<li
v-for="(item, index) in header_links"
Expand Down
12 changes: 7 additions & 5 deletions src/components/Navbar/NavbarMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,28 @@
w-full
z-50
bg-base-foreground
text-base-content
block
shadow-md
md:hidden
print:hidden"
>
<nav class="font-normal">
<ul class="flex flex-col m-0 p-0">
<nav class="font-normal container mx-auto">
<ul class="flex flex-col m-0 p-0 border-t border-base-300">
<li
v-for="(item, index) in header_links"
:key="index"
class="border-b"
class="border-b border-base-300"
>
<router-link
:to="item.link"
class="text-base-content w-full p-4 block box-border"
class="text-base-content w-full p-4 pt-3 pb-3 block box-border"
>
{{ item.label }}
</router-link>
</li>
<li>
<SwitchTheme class="text-primary-content" />
<SwitchTheme class="text-base-content p-4 pt-3 pb-3 border-b w-full border-base-300" />
</li>
</ul>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = {

primary: {
color: withOpacity('--color-primary'),
content: withOpacity('--color-secondary-content')
content: withOpacity('--color-primary-content')
},

secondary: {
Expand Down

0 comments on commit e6b3374

Please sign in to comment.