Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cursor:pointer for cards #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default function Home() {
as="button"
onMouseDown={() => setVariantsCodeActiveHighlight('one')}
variant={variantsCodeActiveHighlight === 'one' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>Variants</Text>
<Text variant="gray" css={{ lineHeight: '22px' }}>
Expand All @@ -350,7 +350,7 @@ export default function Home() {
as="button"
onMouseDown={() => setVariantsCodeActiveHighlight('two')}
variant={variantsCodeActiveHighlight === 'two' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Compound Variants
Expand All @@ -363,7 +363,7 @@ export default function Home() {
as="button"
onMouseDown={() => setVariantsCodeActiveHighlight('three')}
variant={variantsCodeActiveHighlight === 'three' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Default Variants
Expand Down Expand Up @@ -422,7 +422,7 @@ export default function Home() {
as="button"
onMouseDown={() => setThemingCodeActiveHighlight('one')}
variant={themingCodeActiveHighlight === 'one' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>Tokens</Text>
<Text variant="gray" css={{ lineHeight: '22px' }}>
Expand All @@ -433,7 +433,7 @@ export default function Home() {
as="button"
onMouseDown={() => setThemingCodeActiveHighlight('two')}
variant={themingCodeActiveHighlight === 'two' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>Token aliases</Text>
<Text variant="gray" css={{ lineHeight: '22px' }}>
Expand All @@ -444,7 +444,7 @@ export default function Home() {
as="button"
onMouseDown={() => setThemingCodeActiveHighlight('three')}
variant={themingCodeActiveHighlight === 'three' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>Themes</Text>
<Text variant="gray" css={{ lineHeight: '22px' }}>
Expand Down Expand Up @@ -673,7 +673,7 @@ export default function Home() {
as="button"
onMouseDown={() => setTokensCodeActiveHighlight('one')}
variant={tokensActiveHighlight === 'one' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Smart token mapping
Expand All @@ -686,7 +686,7 @@ export default function Home() {
as="button"
onMouseDown={() => setTokensCodeActiveHighlight('two')}
variant={tokensActiveHighlight === 'two' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Specific token mapping
Expand Down Expand Up @@ -745,7 +745,7 @@ export default function Home() {
as="button"
onMouseDown={() => setUtilsCodeActiveHighlight('one')}
variant={utilsCodeActiveHighlight === 'one' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Property shorthands
Expand All @@ -758,7 +758,7 @@ export default function Home() {
as="button"
onMouseDown={() => setUtilsCodeActiveHighlight('two')}
variant={utilsCodeActiveHighlight === 'two' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Property bundles
Expand All @@ -771,7 +771,7 @@ export default function Home() {
as="button"
onMouseDown={() => setUtilsCodeActiveHighlight('three')}
variant={utilsCodeActiveHighlight === 'three' ? 'active' : 'ghost'}
css={{ p: '$3', mb: '$2', width: '100%' }}
css={{ p: '$3', mb: '$2', width: '100%', cursor: 'pointer' }}
>
<Text css={{ fontWeight: 500, lineHeight: '22px', mb: '$1' }}>
Simplify syntax
Expand Down