Skip to content

Commit

Permalink
update to the new gray color (#360)
Browse files Browse the repository at this point in the history
* update to latest plugin with the new gray

* use gray-800 on the main navigation

* package version & changelog
  • Loading branch information
Mrtly authored Nov 18, 2022
1 parent cfc9699 commit b99618b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## v2.0.0-beta.6

### Features

Updates the Color Palette with the new Gray color.
Updates the Main Navigation text color to gray-800.

## v2.0.0-beta.5

### Features
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lob/ui-components",
"version": "2.0.0-beta.5",
"version": "2.0.0-beta.6",
"engines": {
"node": ">=14.18.2",
"npm": ">=8.3.0"
Expand Down Expand Up @@ -64,7 +64,7 @@
"sass-loader": "^10.1.1",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"tailwind-plugin-lob": "^1.0.4",
"tailwind-plugin-lob": "^1.0.5",
"tailwindcss": "^3.0.24",
"typescript": "~3.9.3",
"vite": "^3.1.4",
Expand Down
4 changes: 2 additions & 2 deletions src/components/MainNavigation/MainNavigationChildItem.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<template>
<li
:class="[
'w-full no-underline my-1 max-h-12 flex items-center font-light text-sm text-left text-gray-600 hover:text-primary-700',
'w-full no-underline my-1 max-h-12 flex items-center font-light text-sm text-left text-gray-800 hover:text-primary-700',
{ 'font-medium bg-white-300 rounded-l-full ring-2 ring-primary-100': active }
]"
data-testid="nav-child-item"
>
<LobLink
:to="to"
class="block w-44 rounded-l-full py-2 pl-4 !text-sm whitespace-nowrap overflow-hidden !text-gray-600 focus:outline-none focus:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100"
class="block w-44 rounded-l-full py-2 pl-4 !text-sm whitespace-nowrap overflow-hidden !text-gray-800 focus:outline-none focus:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100"
:underline="false"
@click.stop="handleNavigation"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainNavigation/MainNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<component
:is="tag"
:class="[
'no-underline py-3 !px-6 max-h-12 flex items-center w-full font-light whitespace-nowrap !text-sm text-left !text-gray-600 relative overflow-hidden hover:text-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-100 focus:border-transparent'
'no-underline py-3 !px-6 max-h-12 flex items-center w-full font-light whitespace-nowrap !text-sm text-left !text-gray-800 relative overflow-hidden hover:text-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-100 focus:border-transparent'
]"
:to="to"
:underline="false"
Expand Down

0 comments on commit b99618b

Please sign in to comment.