Skip to content

XYK pools and refreshed design#59

Open
0x0-mico wants to merge 38 commits intomainfrom
xyk
Open

XYK pools and refreshed design#59
0x0-mico wants to merge 38 commits intomainfrom
xyk

Conversation

@0x0-mico
Copy link
Contributor

@0x0-mico 0x0-mico commented Mar 9, 2026

This PR adds constant product algorithm pools (uni style) and redesign of much of the app

0x0-mico and others added 30 commits March 2, 2026 10:54
* Update swap UI design — card styling, spacing, and slippage panel

- Sell card: white bg with border, buy card: gray bg no border
- Larger rounded corners, more padding, tighter card gap
- Swap arrows: original SVG in smaller rounded box with white buffer
- Settings gear: larger icon, slippage panel aligned to card edge
- Simplified slippage panel: cleaner layout, bigger input
- Lightened background dots
- Moved "Powered by Miden" between content and footer
- Bigger, bolder Connect Wallet button

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Center swap UI vertically on screen

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Mobile responsive: hamburger nav, smaller wallet button, tighter swap spacing

- Header: hamburger menu on mobile, centered wallet button
- Wallet button: smaller text/padding/icons on mobile
- Swap cards: responsive padding and text sizes
- Gear icon: scales down on mobile
LiquidityPools -> Explore
0x0-mico and others added 8 commits March 17, 2026 12:32
* Update swap UI design — card styling, spacing, and slippage panel

- Sell card: white bg with border, buy card: gray bg no border
- Larger rounded corners, more padding, tighter card gap
- Swap arrows: original SVG in smaller rounded box with white buffer
- Settings gear: larger icon, slippage panel aligned to card edge
- Simplified slippage panel: cleaner layout, bigger input
- Lightened background dots
- Moved "Powered by Miden" between content and footer
- Bigger, bolder Connect Wallet button

* Center swap UI vertically on screen

* Mobile responsive: hamburger nav, smaller wallet button, tighter swap spacing

- Header: hamburger menu on mobile, centered wallet button
- Wallet button: smaller text/padding/icons on mobile
- Swap cards: responsive padding and text sizes
- Gear icon: scales down on mobile

* Modal updates

* Modal updates: redesign deposit/withdraw modal, swap UI fixes

- Redesign pool modal with cleaner layout: input card, details section
  (slippage, balance, position, pool share), receive summary, and CTA
- Fix Buy card label (was "Sell")
- Add rotation animation to swap pairs icon
- Increase swap icon size and adjust viewBox
- Thicken wallet icon stroke for better visual weight
- Compact slippage dropdown for modal context
- Fix modal z-index so chart doesn't overlap

* Fix dark mode for deposit/withdraw modal, orange active tab

- Replace hardcoded bg-white/bg-[hsl] with theme-aware bg-background/bg-muted
- Use text-primary-foreground on percentage buttons
- Active tab uses orange (bg-primary) instead of background color

---------

Co-authored-by: mico <mic0@mic0.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants