Here is a structured, production-ready Master UI/UX Prompt tailored for your Angular…
- User
Here is a structured, production-ready Master UI/UX Prompt tailored for your Angular frontend (
billing-frontend). You can pass this prompt to an AI code generator, designer, or developer to build the styling layer over your existing Angular structure.
Master UI/UX Generation Prompt
Copy and paste the block below into your generation workflow to build the visual design system and components:
Act as a Principal UI/UX Designer and Lead Angular Developer. I have an Angular frontend project named `billing-frontend` with standalone components, configured routing, models, and HTTP services connecting to a Spring Boot REST API at `http://localhost:8080`. Generate the complete styling (styles.css, HTML templates, CSS modules, and animations) for the existing Angular component architecture following these design specifications: ### 1. DESIGN SYSTEM & COLOR PALETTE Incorporate the following CSS variables into `src/styles.css`: ```css :root { /* Brand Palette */ --color-primary-sage: #52796F; --color-secondary-slate: #354F52; --color-dark-charcoal: #2F3E46; /* Accent & Light Neutrals */ --color-accent-mint: #84A98C; --color-light-bg: #CAD2C5; --color-surface-white: #FFFFFF; --color-surface-card: #F8F9FA; /* Dark Mode Surfaces */ --color-dark-surface: #1E272C; --color-dark-card: #283339; /* Text Colors */ --text-main: #2F3E46; --text-muted: #6C757D; --text-light: #F8F9FA; /* Shadows & Elevations */ --shadow-sm: 0 2px 4px rgba(47, 62, 70, 0.06); --shadow-md: 0 4px 12px rgba(47, 62, 70, 0.1); --shadow-lg: 0 10px 25px rgba(47, 62, 70, 0.15); /* Layout Spacing */ --radius-sm: 6px; --radius-md: 12px; --radius-lg: 18px; --transition-fast: 0.2s ease; --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1); }2. TYPOGRAPHY & FONTS
- Primary Serif Font: Import and apply 'Abhaya Libre' (Google Fonts) for display headings (h1, h2, h3, total invoice amounts, visual card headers).
- Body Font: Complement with a clean sans-serif ('Inter' or 'Plus Jakarta Sans') for high legibility in tables, forms, buttons, and navigation labels.
3. LAYOUT & ARCHITECTURE
-
Container: Flexbox / CSS Grid desktop layout with sidebar width pinned at 260px and dynamic main container.
-
Sidebar Component (
sidebar.component): -
Dark background (
#2F3E46) with subtle gradient borders. -
Interactive navigation links with smooth hover slide-in effects and active highlight indicators using
#52796F. -
Navbar Component (
navbar.component): -
Glassmorphism effect:
background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px);.
Assistant