Change blue colour for links and backgrounds

This commit is contained in:
Oliver Davies 2021-01-22 01:03:24 +00:00
parent bd52a08a6c
commit 55b2005b7d
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
@layer base {
a {
@apply text-blue-500 no-underline hover:underline
@apply text-blue-700 no-underline hover:underline
}
}

View file

@ -47,7 +47,7 @@
#}
<div class="[ antialiased font-sans leading-relaxed ] [ text-gray-800 ]">
<div class="min-h-screen flex flex-col">
<div id="nav" class="bg-blue-500 border-b-3 border-blue-700">
<div id="nav" class="bg-blue-700">
<div class="container">
<div class="md:flex" x-data="{ isOpen: false }">
<div class="w-full flex items-center md:w-1/3 lg:w-1/4">

View file

@ -35,7 +35,7 @@
<ul{{ attributes.addClass('
w-full h-full mt-2px py-4 bg-blue-700
md:mt-0 md:mx-0 md:relative md:flex md:flex-wrap md:flex-1 md:justify-end
md:bg-blue-500 md:border-b-0
md:bg-blue-700 md:border-b-0
') }}>
{% else %}
<ul>
@ -44,7 +44,7 @@
<li{{ item.attributes.addClass('flex flex-1 justify-center') }}>
{% set linkClasses = ['w-full flex items-center mx-4 mt-1 -mb-px py-3 px-4 block rounded text-base text-white no-underline hover:underline focus:outline-none focus:underline md:py-1 md:px-2 md:mx-2 md:mt-0 md:mr-0'] %}
{% if item.in_active_trail %}
{% set linkClasses = linkClasses|merge(['cursor-default bg-blue-500 hover:border-blue-600 hover:no-underline md:bg-blue-700']) %}
{% set linkClasses = linkClasses|merge(['cursor-default bg-blue-700 hover:border-blue-600 hover:no-underline md:bg-blue-700']) %}
{% endif %}
{{ link(item.title, item.url, { class: linkClasses|join(' ') }) }}
{% if item.below %}