Repository navigation
feat: redesign UI based on Anthropic and Vercel design guidelines - #6
Closed
maheshrijal wants to merge 1 commit into
Closed
maheshrijal wants to merge 1 commit into
maheshrijal wants to merge 1 commit into
Conversation
Apply comprehensive design improvements to escape generic AI aesthetic: Typography: - Replace Inter/Manrope with distinctive DM Sans + Instrument Serif pairing - Add DM Mono for all financial figures with tabular-nums - Improve letter-spacing and font hierarchy Color System: - Replace indigo/purple gradients with warm earth tone palette - Add bold terracotta accent (#c4541d) for high-impact moments - Warm neutral backgrounds instead of tinted gradients Layout & Motion: - Asymmetrical grid (0.85fr : 1fr) instead of symmetrical split - Orchestrated page entry with staggered form block animations - Coordinated slide-in effects for two-panel layout - Added reduced-motion support for accessibility Visual Polish: - Subtle grain texture overlay on form section - Paper grid texture for invoice preview - Solid dark buttons with accent hover instead of gradients - Improved interactive states (hover transforms, focus rings) Responsive & Print: - Updated responsive breakpoints for new design - Hide textures on tablet/mobile for performance - Enhanced print styles with preserved dark total row
Playwright test resultsDetails
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies a comprehensive visual redesign to the invoicing UI, aligning it with a warmer, more editorial Anthropic/Vercel-inspired aesthetic while improving motion, typography, and print fidelity.
Changes:
- Introduces a new warm earth-tone color system, terracotta accent, and updated typography stack (DM Sans / Instrument Serif / DM Mono) with numeric-alignment for financial data.
- Reworks layout and motion: asymmetrical two-panel grid, orchestrated entry animations, staggered form blocks, and reduced-motion support.
- Adds texture treatments (grain and paper grid), refines button and hover states, and enhances responsive and print-specific styles, including better mobile cards for line items and preserved dark total row in printouts.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/css/utilities/animations.css |
Defines orchestrated slide/scale/fade/reveal animations, interactive hover/press effects, focus ring animation, and a global prefers-reduced-motion override for transitions and animations. |
src/css/layout/responsive.css |
Adjusts tablet/mobile behavior (disables textures, tweaks typography and spacing, card-style line items) and refines print styles (white backgrounds, smaller invoice heading, dark total row with explicit print color adjustments). |
src/css/layout/grid.css |
Switches to an asymmetrical two-column grid with a minimum width on the form panel and applies the new background token to the main container. |
src/css/components/invoice.css |
Re-skins the invoice placeholder and preview: warm paper background with grid texture, serif/DM Sans typography, DM Mono numeric columns, refined table headers/rows, and a prominent dark total row and updated footer styling. |
src/css/components/history.css |
Updates history panel styling to match the new surface and type system, adds a scale-in entry animation and custom scrollbars, and tightens hover and delete-button behavior. |
src/css/components/forms.css |
Applies grain-textured glass surface to the form, serif section heading with animated accent bar, DM Sans labels/inputs, enhanced line-item layout and numeric styling, revised remove/number-button interactions, and an “open source” badge component. |
src/css/components/buttons.css |
Standardizes buttons on DM Sans with solid dark/gray/ghost variants, stronger hover/active states, and accent-colored focus-visible outlines. |
src/css/base/variables.css |
Replaces the indigo/purple palette with warm earth tones, introduces terracotta accent tokens, warms neutrals and shadows, and adds stagger timing CSS variables. |
src/css/base/typography.css |
Switches global fonts to DM Sans / Instrument Serif, and centralizes monospace + tabular numeric styling for all monetary/quantity fields and invoice totals. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
maheshrijal
added a commit
that referenced
this pull request
Jan 24, 2026
Motion enhancements (inspired by PR #6): - Orchestrated page entry: form slides from left, preview from right - Staggered form block animations with cascading delays - History panel scale-in animation - Focus ring pulse animation on inputs Micro-interactions: - translateX(4px) hover effect on item rows and history items - scale(0.98) button press effect on all button types - Smooth transitions for all interactive elements Layout: - Asymmetrical grid (0.9fr : 1fr) for visual interest Print improvements: - Hide noise texture and animations in print - Preserve dark total row styling - Hide skip-link and placeholder in print output All changes respect prefers-reduced-motion preference. Amp-Thread-ID: https://ampcode.com/threads/T-019bee5e-33fb-7526-9a97-ab10f03bd6ff Co-authored-by: Amp <amp@ampcode.com>
maheshrijal
added a commit
that referenced
this pull request
Jan 24, 2026
* feat: add orchestrated page animations and micro-interactions Motion enhancements (inspired by PR #6): - Orchestrated page entry: form slides from left, preview from right - Staggered form block animations with cascading delays - History panel scale-in animation - Focus ring pulse animation on inputs Micro-interactions: - translateX(4px) hover effect on item rows and history items - scale(0.98) button press effect on all button types - Smooth transitions for all interactive elements Layout: - Asymmetrical grid (0.9fr : 1fr) for visual interest Print improvements: - Hide noise texture and animations in print - Preserve dark total row styling - Hide skip-link and placeholder in print output All changes respect prefers-reduced-motion preference. Amp-Thread-ID: https://ampcode.com/threads/T-019bee5e-33fb-7526-9a97-ab10f03bd6ff Co-authored-by: Amp <amp@ampcode.com> * fix: use animation-fill-mode 'both' to prevent flash of invisible content * fix: remove conflicting animation rule that overrides staggered entry Addresses PR review comment: The .form-block animation in forms.css was overriding the orchestrated animation in animations.css due to CSS cascade order (components load after utilities). --------- Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apply comprehensive design improvements to escape generic AI aesthetic:
Typography:
Color System:
Layout & Motion:
Visual Polish:
Responsive & Print: