-
Notifications
You must be signed in to change notification settings - Fork 0
🖌️ Muse: Elevate from Developer UI - Replaced Gray with Slate #557
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -390,7 +390,7 @@ const BudgetBuckets: React.FC = () => { | |||||
| > | ||||||
| Edit Transaction | ||||||
| </Button> | ||||||
| <div className="h-px bg-gray-100 my-2" /> | ||||||
| <div className="h-px bg-slate-100 my-2" /> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component uses the
Suggested change
|
||||||
| <Button | ||||||
| variant="ghost-destructive" | ||||||
| className="w-full justify-start text-lg py-4" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -146,7 +146,7 @@ const BudgetHistory: React.FC = () => { | |||||
| onClick={() => toggleExpand(group.periodId)} | ||||||
| className="w-full text-left" | ||||||
| > | ||||||
| <div className="p-4 bg-white hover:bg-gray-50 transition-colors"> | ||||||
| <div className="p-4 bg-white hover:bg-slate-50 transition-colors"> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency with the rest of this component that uses the
Suggested change
|
||||||
| <div className="flex justify-between items-center mb-2"> | ||||||
| <div> | ||||||
| <h3 className="font-bold text-brand-800 text-lg"> | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -772,7 +772,7 @@ const TransactionMasterList: React.FC = () => { | |||||
| > | ||||||
| Split Transaction | ||||||
| </Button> | ||||||
| <div className="h-px bg-gray-100 my-2" /> | ||||||
| <div className="h-px bg-slate-100 my-2" /> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component uses the
Suggested change
|
||||||
| <Button | ||||||
| variant="ghost-destructive" | ||||||
| className="w-full justify-start text-lg py-4" | ||||||
|
|
@@ -798,7 +798,7 @@ const TransactionMasterList: React.FC = () => { | |||||
| <div className="space-y-4 pt-2"> | ||||||
| <FilterControls {...filterProps} layout="stack" /> | ||||||
|
|
||||||
| <div className="pt-4 space-y-3 border-t border-gray-100"> | ||||||
| <div className="pt-4 space-y-3 border-t border-slate-100"> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component uses the
Suggested change
|
||||||
| {/* Export Button */} | ||||||
| <Button | ||||||
| variant="primary" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -236,7 +236,7 @@ const HabitCard: React.FC<HabitCardProps> = ({ habit, dragHandle }) => { | |||||
| {isPositive && habit.streakDays >= 2 && ( | ||||||
| <span className={cn( | ||||||
| "inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xxs font-bold transition-colors", | ||||||
| habit.streakDays >= 3 ? "bg-orange-100 text-orange-600" : "bg-gray-100 text-gray-500" | ||||||
| habit.streakDays >= 3 ? "bg-orange-100 text-orange-600" : "bg-slate-100 text-slate-500" | ||||||
| )}> | ||||||
| <Flame size={10} fill={habit.streakDays >= 3 ? "currentColor" : "none"} /> | ||||||
| {habit.streakDays} Day{habit.streakDays !== 1 ? 's' : ''} | ||||||
|
|
@@ -372,7 +372,7 @@ const HabitCard: React.FC<HabitCardProps> = ({ habit, dragHandle }) => { | |||||
| Repair Streak ({freezeBank?.tokens}) | ||||||
| </Button> | ||||||
| )} | ||||||
| <div className="h-px bg-gray-100 my-2" /> | ||||||
| <div className="h-px bg-slate-100 my-2" /> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component uses a mix of
Suggested change
|
||||||
| <Button | ||||||
| variant="ghost-destructive" | ||||||
| className="w-full justify-start text-lg py-4" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -81,7 +81,7 @@ const ProfileMenu: React.FC<ProfileMenuProps> = ({ isOpen, onClose, anchorRef }) | |||||
| return ( | ||||||
| <div | ||||||
| ref={menuRef} | ||||||
| className="absolute top-14 right-4 z-dropdown w-64 bg-white rounded-xl shadow-xl border border-gray-100 overflow-hidden animate-in fade-in zoom-in-95 duration-200 origin-top-right" | ||||||
| className="absolute top-14 right-4 z-dropdown w-64 bg-white rounded-xl shadow-xl border border-slate-100 overflow-hidden animate-in fade-in zoom-in-95 duration-200 origin-top-right" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component uses the
Suggested change
|
||||||
| role="menu" | ||||||
| aria-label="Profile Menu" | ||||||
| > | ||||||
|
|
@@ -116,14 +116,14 @@ const ProfileMenu: React.FC<ProfileMenuProps> = ({ isOpen, onClose, anchorRef }) | |||||
| navigate('/settings'); | ||||||
| onClose(); | ||||||
| }} | ||||||
| className="w-full flex items-center gap-3 px-3 py-2.5 text-sm font-medium text-gray-700 hover:bg-gray-50 hover:text-brand-700 rounded-lg transition-colors text-left" | ||||||
| className="w-full flex items-center gap-3 px-3 py-2.5 text-sm font-medium text-slate-700 hover:bg-slate-50 hover:text-brand-700 rounded-lg transition-colors text-left" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This component uses the
Suggested change
|
||||||
| role="menuitem" | ||||||
| > | ||||||
| <Settings className="w-4 h-4" /> | ||||||
| Settings | ||||||
| </button> | ||||||
|
|
||||||
| <hr className="my-1 border-gray-100" /> | ||||||
| <hr className="my-1 border-slate-100" /> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
|
|
||||||
| <button | ||||||
| onClick={handleLogout} | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -424,7 +424,7 @@ const ShoppingListTab: React.FC = () => { | |||||
| <button | ||||||
| type="submit" | ||||||
| disabled={!newItemText.trim()} | ||||||
| className="absolute right-2 top-1/2 -translate-y-1/2 p-2 bg-brand-800 text-white rounded-lg hover:bg-brand-900 disabled:opacity-50 disabled:bg-gray-300 transition-colors" | ||||||
| className="absolute right-2 top-1/2 -translate-y-1/2 p-2 bg-brand-800 text-white rounded-lg hover:bg-brand-900 disabled:opacity-50 disabled:bg-slate-300 transition-colors" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The active state of this button uses
Suggested change
|
||||||
| > | ||||||
| <Plus size={18} /> | ||||||
| </button> | ||||||
|
|
||||||
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.
This component uses
bg-brand-100for other dividers (e.g., line 326). For consistency, it would be better to usebg-brand-100here as well. Thebrandcolors are aliases forslate, and using the theme alias improves maintainability.