Skip to content

Commit 284a3df

Browse files
authored
Update css for header buttons (#1422)
1 parent 9d4f24f commit 284a3df

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

layouts/partials/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
href="https://cloud.redis.io/">Login</a>
4141
<a class="hidden lg:block py-1 transition-colors hover:text-redis-red-500" href="https://redis.io/meeting/">Book a
4242
meeting</a>
43-
<a class="hidden lg:inline-flex transition-colors hover:duration-0 duration-500 ease-out items-center justify-center bg-redis-red-500 hover:bg-redis-yellow-500 hover:text-midnight-900 h-full px-[27px]"
43+
<a class="hidden lg:inline-flex transition-colors hover:duration-0 duration-500 ease-out items-center justify-center bg-redis-red-700 hover:bg-redis-pen-900 text-redis-white-200 font-bold hover:text-midnight-900 h-full px-[22px]"
4444
href="https://redis.io/try-free/">Try Redis</a>
4545
<button data-menu-toggle aria-expanded="false" type="button"
4646
class="menu-toggle lg:hidden p-1 mt-1 transition-colors hover:text-redis-red-500">
@@ -81,7 +81,7 @@
8181
</ul>
8282
<ul class="pt-6">
8383
<li class="mx-auto flex w-11/12 text-center"><a
84-
class="my-2 w-full rounded-md border border-redis-pen-600 bg-redis-yellow-500 py-3 text-black active:bg-redis-pen-800 active:text-white"
84+
class="my-2 w-full rounded-md border border-redis-pen-600 bg-redis-red-700 py-3 text-redis-white-200 font-sans font-bold active:bg-redis-pen-900 active:text-white"
8585
href="https://redis.io/try-free/">Try Redis</a></li>
8686
<li class="mx-auto flex w-11/12 text-center"><a
8787
class="my-2 w-full rounded-md border border-redis-pen-600 py-3 active:bg-redis-pen-800 active:text-white"

layouts/partials/header/products-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2 class="mb-6 border-b border-redis-pencil-250 pb-2 text-xs font-medium upperc
5454
</div>
5555
<div class="mt-auto">
5656
<h2 class="mb-6 pb-2 text-xs font-medium uppercase tracking-[2px] text-gray-400">Get Redis</h2><a
57-
class="w-9/12 rounded border border-redis-pen-600 bg-redis-yellow-500 px-6 py-4 font-mono font-normal hover:bg-redis-pen-800 hover:text-white"
57+
class="w-9/12 rounded border-redis-pen-600 bg-redis-red-700 px-12 py-4 text-redis-white-200 font-sans font-bold text-[16px] weight-[400] hover:bg-redis-pen-900"
5858
href="https://redis.io/downloads/">Downloads</a>
5959
</div>
6060
</div>

layouts/partials/header/products-mobile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h2 class="mb-6 pb-2 text-xs uppercase tracking-[2px] text-gray-400">Tools</h2>
4848
<div class="pt-4">
4949
<h2 class="mb-6 pb-2 text-xs uppercase tracking-[2px] text-gray-400">Get Redis</h2>
5050
<div class="flex text-center"><a
51-
class="w-full rounded border border-redis-pen-600 bg-redis-yellow-500 py-4 font-mono font-normal active:bg-redis-pen-800 active:text-white"
51+
class="w-full rounded border border-redis-pen-600 bg-redis-red-700 py-4 text-redis-white-200 font-sans font-bold active:bg-redis-pen-900 active:text-white"
5252
href="https://redis.io/downloads/">Downloads</a></div>
5353
</div>
5454
</div>

layouts/partials/header/resources-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2 class="mb-6 border-b border-redis-pencil-250 pb-2 text-xs font-medium upperc
5656
</div>
5757
<div class="mt-auto">
5858
<h2 class="mb-6 pb-2 text-xs font-medium uppercase tracking-[2px] text-gray-400">See how it works</h2><a
59-
class="w-9/12 rounded border border-redis-pen-600 bg-redis-yellow-500 p-4 font-mono font-normal hover:bg-redis-pen-800 hover:text-white"
59+
class="w-9/12 rounded border-redis-pen-600 bg-redis-red-700 px-6 py-4 text-redis-white-200 font-sans font-bold text-[16px] weight-[400] hover:bg-redis-pen-900"
6060
href="https://redis.io/demo-center/"><span>Visit Demo Center</span></a>
6161
</div>
6262
</div>

layouts/partials/header/resources-mobile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2 class="pb-2 text-xs uppercase tracking-[2px] text-gray-400">Latest</h2>
5151
<div class="mb-4">
5252
<h2 class="mb-6 pb-2 text-xs uppercase tracking-[2px] text-gray-400">See how it works</h2>
5353
<div class="flex text-center"><a
54-
class="w-full rounded border border-redis-pen-600 bg-redis-yellow-500 py-4 font-mono font-normal active:bg-redis-pen-800 active:text-white"
54+
class="w-full rounded border border-redis-pen-600 bg-redis-red-700 py-4 text-redis-white-200 font-sans font-bold active:bg-redis-pen-900 active:text-white"
5555
href="https://redis.io/demo-center/">Visit Demo Center</a></div>
5656
</div>
5757
</div>

tailwind.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module.exports = {
2121
},
2222
'redis-red': {
2323
500: '#FF4438',
24-
600: '#D52D1F'
24+
600: '#D52D1F',
25+
700: '#E4291E',
2526
},
2627
'redis-yellow': {
2728
100: '#FBFFE8',
@@ -38,7 +39,8 @@ module.exports = {
3839
400: '#8A99A0',
3940
600: '#5C707A',
4041
700: '#2D4754',
41-
800: '#163341'
42+
800: '#163341',
43+
900: '#8A221C',
4244
},
4345
'redis-pencil': {
4446
200: '#E5E5E5',
@@ -61,6 +63,9 @@ module.exports = {
6163
200: '#F9F9F9',
6264
600: '#bfc2c4',
6365
800: '#4E545B'
66+
},
67+
'redis-white': {
68+
200: '#FFF',
6469
}
6570
},
6671
typography: (theme) => ( {

0 commit comments

Comments
 (0)