Skip to content

Commit

Permalink
feat: change primary variant to darker shade
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSuperDev authored and theodorusclarence committed Dec 30, 2021
1 parent 8d39dc2 commit 6e03900
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/components/buttons/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export default function Button({
'transition-colors duration-75',
[
variant === 'primary' && [
'bg-primary-400 text-white',
'border border-primary-500',
'hover:bg-primary-500 hover:text-white',
'active:bg-primary-600',
'disabled:bg-primary-600 disabled:hover:bg-primary-600',
'bg-primary-500 text-white',
'border border-primary-600',
'hover:bg-primary-600 hover:text-white',
'active:bg-primary-500',
'disabled:bg-primary-400 disabled:hover:bg-primary-400',
],
variant === 'outline' && [
'text-primary-500',
Expand Down
10 changes: 5 additions & 5 deletions src/components/links/ButtonLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ export default function ButtonLink({
'transition-colors duration-75',
[
variant === 'primary' && [
'bg-primary-400 text-white',
'border border-primary-500',
'hover:bg-primary-500 hover:text-white',
'active:bg-primary-600',
'disabled:bg-primary-600 disabled:hover:bg-primary-600',
'bg-primary-500 text-white',
'border border-primary-600',
'hover:bg-primary-600 hover:text-white',
'active:bg-primary-500',
'disabled:bg-primary-400 disabled:hover:bg-primary-400',
],
variant === 'outline' && [
'text-primary-500',
Expand Down
2 changes: 2 additions & 0 deletions src/components/links/UnderlineLink.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as React from 'react';

import clsxm from '@/lib/clsxm';

import UnstyledLink, {
Expand Down

0 comments on commit 6e03900

Please sign in to comment.