-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add BranchInfoBar component #3
base: pixelpoint-dev
Are you sure you want to change the base?
Conversation
fix repository list
* feat: add a new color variable for dark theme * feat: add a new size for Badge * feat: add additional props for search-box * feat: add additional variant for tabs * refactor: get rid of unnecessary classes * feat: expand BranchSelector functionality * fix: minor changes * chore: correct a typo * chore: add vercel file * fix: component filename * fix: minor changes * fix: minor changes * fix: minor changes * feat: add search state * chore: add small adjustments * fix: use of color variables * chore: add small adjustments
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
2f8531f
to
3077bbc
Compare
4441181
to
3eabf02
Compare
77931d7
to
7392e0e
Compare
export default { | ||
darkMode: ['class'], | ||
content: ['./src/**/*.{ts,tsx}'], | ||
prefix: '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefix: '', | |
prefix: '', | |
test |
test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefix: '', | |
prefix: '1', |
'2xl': '1400px' | ||
} | ||
}, | ||
extend: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
test |
@@ -3,6 +3,19 @@ import { cva, type VariantProps } from 'class-variance-authority' | |||
|
|||
import { cn } from '@/lib/utils' | |||
|
|||
enum BadgesHoverStates { | |||
ENABLED = 'enabled', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENABLED = 'enabled', | |
ENABLED = 'enabled', |
}, | ||
borderRadius: { | ||
default: '', | ||
full: 'rounded-full' | ||
}, | ||
hover: { | ||
enabled: '', | ||
disabled: 'hover:bg-transparent hover:shadow-none' | ||
[BadgesHoverStates.ENABLED]: '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[BadgesHoverStates.ENABLED]: '', | |
[1BadgesHoverStates.ENABLED]: '', |
danger: 'hsla(var(--background-danger))', | ||
success: 'hsla(var(--background-success))' | ||
}, | ||
borders: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
borders: { | |
borders: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
borders: { | |
borders: { |
disabled: 'hover:bg-transparent hover:shadow-none' | ||
[BadgesHoverStates.ENABLED]: '', | ||
// variant | ||
[BadgesHoverStates.DISABLED_DEFAULT]: 'hover:shadow-none hover:!bg-primary', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[BadgesHoverStates.DISABLED_DEFAULT]: 'hover:shadow-none hover:!bg-primary', | |
[2BadgesHoverStates.DISABLED_DEFAULT]: 'hover:shadow-none hover:!bg-primary', |
// variant | ||
[BadgesHoverStates.DISABLED_DEFAULT]: 'hover:shadow-none hover:!bg-primary', | ||
[BadgesHoverStates.DISABLED_SECONDARY]: 'hover:shadow-none hover:!bg-secondary', | ||
[BadgesHoverStates.DISABLED_DESTRUCTIVE]: 'hover:shadow-none hover:!bg-destructive', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[BadgesHoverStates.DISABLED_DESTRUCTIVE]: 'hover:shadow-none hover:!bg-destructive', | |
[2BadgesHoverStates.DISABLED_DESTRUCTIVE]: 'hover:shadow-none hover:!bg-destructive', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[BadgesHoverStates.DISABLED_DESTRUCTIVE]: 'hover:shadow-none hover:!bg-destructive', | |
[3BadgesHoverStates.DISABLED_DESTRUCTIVE]: 'hover:shadow-none hover:!bg-destructive', |
No description provided.