Skip to main content

Neumorphic Visual Redesign — Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: Replace xtrakt-sso-fe's entire visual design system with Portal's neumorphism design (grey surfaces, raised/inset shadows, blue accent, system font stack) on every screen including the sidebar.

Architecture: Replace CSS variables in styles.scss with neumorphism tokens and port Portal's utility classes. Rewrite menu.component.scss for the neumorphic sidebar shell. Rewrite each page component's SCSS to use neumorphic surfaces instead of flat white cards/borders. No TypeScript changes needed — purely SCSS.

Tech Stack: Angular 21, component-scoped SCSS, CSS custom properties.

All commands run from: xtrakt-sso-fe/src/


Task 1: Replace global design tokens in styles.scss

Files:

  • Modify: src/src/styles.scss

  • Step 1: Replace the entire contents of styles.scss

@import "driver.js/dist/driver.css";

:root {
/* Neumorphism tokens (ported from Portal) */
--neu-bg: #e8ecf1;
--neu-shadow-dark: #b8c0cc;
--neu-shadow-light: #ffffff;
--neu-text: #2d3561;
--neu-text-muted: #8f9bb3;
--neu-text-light: #b0b8cc;
--neu-accent: #3b82f6;
--neu-accent-dark: #2563eb;
--neu-danger: #e05c5c;
--neu-success: #3dba7e;

--neu-raised-xs: 3px 3px 6px var(--neu-shadow-dark), -3px -3px 6px var(--neu-shadow-light);
--neu-raised-sm: 5px 5px 10px var(--neu-shadow-dark), -5px -5px 10px var(--neu-shadow-light);
--neu-raised-md: 8px 8px 16px var(--neu-shadow-dark), -8px -8px 16px var(--neu-shadow-light);
--neu-raised-lg: 12px 12px 24px var(--neu-shadow-dark),-12px -12px 24px var(--neu-shadow-light);

--neu-inset-sm: inset 3px 3px 6px var(--neu-shadow-dark), inset -3px -3px 6px var(--neu-shadow-light);
--neu-inset-md: inset 5px 5px 10px var(--neu-shadow-dark), inset -5px -5px 10px var(--neu-shadow-light);
--neu-inset-lg: inset 8px 8px 16px var(--neu-shadow-dark), inset -8px -8px 16px var(--neu-shadow-light);

--neu-r-xs: 6px;
--neu-r-sm: 10px;
--neu-r-md: 14px;
--neu-r-lg: 20px;
--neu-r-pill: 50px;

font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color: var(--neu-text);
background-color: var(--neu-bg);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--neu-bg); }

/* ── Buttons ── */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1.1rem;
border: none;
border-radius: var(--neu-r-pill);
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
transition: box-shadow 0.15s, opacity 0.15s;
letter-spacing: 0.02em;
white-space: nowrap;
}
.btn-primary {
background: var(--neu-accent);
color: #fff;
box-shadow: 4px 4px 10px #2a5cbf, -2px -2px 6px #5ca5ff;
&:hover { background: var(--neu-accent-dark); box-shadow: 6px 6px 12px #1e4fa8, -2px -2px 6px #5ca5ff; }
&:active { box-shadow: inset 3px 3px 8px #1e4fa8, inset -2px -2px 5px #5ca5ff; }
&:disabled { opacity: 0.5; cursor: not-allowed; }
}
.btn-secondary {
background: var(--neu-bg);
color: var(--neu-text);
box-shadow: var(--neu-raised-sm);
&:hover { box-shadow: var(--neu-raised-md); }
&:active { box-shadow: var(--neu-inset-sm); }
}
.btn-danger {
background: var(--neu-danger);
color: #fff;
box-shadow: 4px 4px 10px #b84444, -2px -2px 6px #ff8080;
&:hover { background: #c94f4f; }
&:active { box-shadow: inset 3px 3px 8px #b84444; }
}
.btn-success {
background: var(--neu-success);
color: #fff;
box-shadow: 4px 4px 10px #2a9060, -2px -2px 6px #60e0a0;
&:hover { background: #35a870; }
}
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }

/* ── Cards ── */
.neu-card {
background: var(--neu-bg);
border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md);
padding: 1.25rem 1.5rem;
}

/* ── Inputs ── */
.neu-input {
background: var(--neu-bg);
border: none;
border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm);
padding: 0.55rem 0.85rem;
font-size: 0.875rem;
color: var(--neu-text);
outline: none;
width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}

/* ── Tables ── */
.neu-table {
width: 100%;
border-collapse: collapse;
thead tr {
background: rgba(184,192,204,0.15);
box-shadow: inset 0 -2px 4px var(--neu-shadow-dark), inset 0 2px 4px var(--neu-shadow-light);
}
th {
padding: 0.65rem 0.9rem;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--neu-text-muted);
white-space: nowrap;
}
td {
padding: 0.75rem 0.9rem;
font-size: 0.84rem;
color: var(--neu-text);
border-bottom: 1px solid rgba(184,192,204,0.2);
}
tbody tr:last-child td { border-bottom: none; }
.clickable-row { cursor: pointer; &:hover td { background: rgba(184,192,204,0.08); } }
}

/* ── Modals ── */
.modal-overlay {
position: fixed; inset: 0;
background: rgba(45,53,97,0.35);
display: flex; align-items: center; justify-content: center;
z-index: 1000; padding: 1rem;
}
.modal {
background: var(--neu-bg);
border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-lg);
width: 100%; max-width: 480px;
display: flex; flex-direction: column;
}
.modal-header {
display: flex; align-items: center; justify-content: space-between;
padding: 1.25rem 1.5rem;
border-bottom: 1px solid rgba(184,192,204,0.3);
h3 { font-size: 1rem; font-weight: 700; color: var(--neu-text); margin: 0; }
}
.modal-close {
background: none; border: none; cursor: pointer;
color: var(--neu-text-muted); padding: 0.25rem;
svg { width: 18px; height: 18px; }
&:hover { color: var(--neu-text); }
}
.modal-body { padding: 1.25rem 1.5rem; flex: 1; }
.modal-footer {
padding: 1rem 1.5rem;
border-top: 1px solid rgba(184,192,204,0.3);
display: flex; justify-content: flex-end; gap: 0.75rem;
}

/* ── Page layout ── */
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.page-title-group { display: flex; align-items: center; gap: 1rem; }
.page-icon-box {
width: 48px; height: 48px; border-radius: var(--neu-r-md);
background: var(--neu-bg); box-shadow: var(--neu-inset-sm);
display: flex; align-items: center; justify-content: center;
color: var(--neu-accent); flex-shrink: 0;
svg { width: 22px; height: 22px; }
}
.page-title { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; letter-spacing: -0.01em; }
.page-subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }

/* ── Card heading ── */
.card-heading { display: flex; align-items: center; gap: 0.75rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); flex-shrink: 0; }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Toggle pills ── */
.toggle-group {
display: flex; background: var(--neu-bg);
box-shadow: var(--neu-inset-sm); border-radius: var(--neu-r-pill); padding: 2px; gap: 2px;
}
.toggle-btn {
padding: 0.25rem 0.75rem; border: none; background: transparent;
font-size: 0.75rem; color: var(--neu-text-muted); cursor: pointer;
border-radius: var(--neu-r-pill); transition: all 0.15s;
&.active { background: var(--neu-bg); box-shadow: var(--neu-raised-xs); color: var(--neu-accent); font-weight: 700; }
}

/* ── KPI cards ── */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.kpi-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md);
padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.kpi-icon-box {
width: 44px; height: 44px; border-radius: var(--neu-r-sm); box-shadow: var(--neu-inset-sm);
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
svg { width: 20px; height: 20px; }
}
.kpi-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.kpi-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; margin-top: 0.15rem; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; padding-top: 0.5rem; }
.page-info { font-size: 0.8rem; color: var(--neu-text-muted); }

/* ── Empty / loading states ── */
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); font-size: 0.88rem; }
.loading-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); font-size: 0.88rem; }

/* ── Error bar ── */
.error-bar {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.75rem 1rem; border-radius: var(--neu-r-md);
box-shadow: var(--neu-inset-sm); color: var(--neu-danger); font-size: 0.85rem;
}

/* ── Form fields ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--neu-text-muted); }

/* ── Alerts / feedback ── */
.alert-success {
padding: 0.75rem 1rem; border-radius: var(--neu-r-sm);
background: rgba(61,186,126,0.12); color: var(--neu-success);
box-shadow: var(--neu-inset-sm); font-size: 0.85rem;
}
.alert-error {
padding: 0.75rem 1rem; border-radius: var(--neu-r-sm);
background: rgba(224,92,92,0.1); color: var(--neu-danger);
box-shadow: var(--neu-inset-sm); font-size: 0.85rem;
}

/* ── Spin animation ── */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* ── Tooltip helper ── */
.mono { font-family: 'Courier New', monospace; font-size: 0.78rem; }
.muted-sm { color: var(--neu-text-muted); font-size: 0.8rem; }
.text-accent { color: var(--neu-accent); }
.text-danger { color: var(--neu-danger); }
.text-success { color: var(--neu-success); }
.bold { font-weight: 700; }
.center { text-align: center; }
  • Step 2: Verify the app still compiles
npm start

Expected: dev server starts on http://localhost:4200. The app will look broken (white text on white background) until the sidebar is rewritten — that's fine.

  • Step 3: Commit
git add src/src/styles.scss
git commit -m "feat: replace design tokens with neumorphism system (Portal palette)"

Task 2: Rewrite menu.component.scss — neumorphic sidebar

Files:

  • Modify: src/src/app/menu/menu.component.scss

  • Step 1: Replace menu.component.scss entirely

@keyframes fade-in {
from { opacity: 0; transform: scale(0.85); }
to { opacity: 1; transform: scale(1); }
}

.dashboard-wrapper {
display: flex;
min-height: 100vh;
background: var(--neu-bg);

&.fullscreen-route {
height: 100vh;
overflow: hidden;
}
}

.sidebar {
width: 260px;
background: var(--neu-bg);
box-shadow: 6px 0 18px var(--neu-shadow-dark), -2px 0 6px var(--neu-shadow-light);
display: flex;
flex-direction: column;
position: fixed;
left: 0; top: 0; bottom: 0;
z-index: 100;
padding: 1.25rem 1rem;
overflow-y: auto;
overflow-x: hidden;
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);

@media (min-width: 1024px) {
&.collapsed:not(.hovered) {
width: 72px;
.nav-section-title, .nav-text, .nav-expand-icon { opacity: 0; visibility: hidden; pointer-events: none; }
.nav-item { justify-content: center; padding-left: 0; padding-right: 0; }
}
&.collapsed.hovered {
width: 260px;
box-shadow: 10px 0 25px var(--neu-shadow-dark);
.nav-section-title, .nav-text, .nav-expand-icon { opacity: 1; visibility: visible; }
}
}
}

.logo-container {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0.5rem 1.25rem;
border-bottom: 1px solid rgba(184,192,204,0.3);
margin-bottom: 0.5rem;
flex-shrink: 0;
}

.logo-icon-box {
width: 36px; height: 36px;
border-radius: 10px;
background: var(--neu-bg);
box-shadow: var(--neu-raised-sm);
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}

.logo-wordmark {
font-size: 1rem;
font-weight: 800;
color: var(--neu-text);
letter-spacing: -0.01em;
}

.nav-section-title {
font-size: 0.62rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--neu-text-muted);
padding: 0.25rem 0.5rem;
margin-top: 0.75rem;
margin-bottom: 0.15rem;
}

.nav-item {
display: flex;
align-items: center;
gap: 0.65rem;
padding: 0.55rem 0.75rem;
border-radius: var(--neu-r-sm);
cursor: pointer;
transition: box-shadow 0.15s;
color: var(--neu-text-muted);
text-decoration: none;
font-size: 0.82rem;

&:hover { box-shadow: var(--neu-raised-xs); color: var(--neu-text); }

&.active {
box-shadow: var(--neu-inset-sm);
color: var(--neu-accent);
font-weight: 700;
}

&.has-children.active { box-shadow: none; }
}

.nav-icon {
display: flex; align-items: center; justify-content: center;
width: 18px; height: 18px; flex-shrink: 0;
svg { width: 16px; height: 16px; }
}

.nav-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-expand-icon {
width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.2s;
&.expanded { transform: rotate(180deg); }
}

.nav-children {
display: flex; flex-direction: column; gap: 0.15rem;
padding-left: 1.5rem;
overflow: hidden;
max-height: 0;
transition: max-height 0.2s ease;
&.expanded { max-height: 400px; }
}

.nav-child {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.65rem;
border-radius: var(--neu-r-sm);
cursor: pointer;
color: var(--neu-text-muted);
font-size: 0.78rem;
text-decoration: none;
transition: box-shadow 0.15s;

&:hover { box-shadow: var(--neu-raised-xs); color: var(--neu-text); }
&.active { box-shadow: var(--neu-inset-sm); color: var(--neu-accent); font-weight: 700; }
}

/* Main content area */
.main-content {
flex: 1;
margin-left: 260px;
min-height: 100vh;
background: var(--neu-bg);
padding: 1.75rem 2rem;
transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);

@media (min-width: 1024px) {
.sidebar.collapsed:not(.hovered) ~ & { margin-left: 72px; }
}
}

/* Sidebar footer: user avatar */
.sidebar-footer {
margin-top: auto;
padding-top: 1rem;
border-top: 1px solid rgba(184,192,204,0.3);
display: flex;
align-items: center;
gap: 0.65rem;
}

.user-avatar {
width: 32px; height: 32px;
border-radius: 50%;
background: var(--neu-bg);
box-shadow: var(--neu-raised-sm);
display: flex; align-items: center; justify-content: center;
font-size: 0.7rem; font-weight: 800; color: var(--neu-accent);
flex-shrink: 0;
}

.user-name { font-size: 0.78rem; font-weight: 700; color: var(--neu-text); }
.user-role { font-size: 0.65rem; color: var(--neu-text-muted); }

/* Collapse toggle button */
.collapse-btn {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.45rem 0.65rem;
border-radius: var(--neu-r-sm);
background: none; border: none; cursor: pointer;
color: var(--neu-text-muted); font-size: 0.78rem;
transition: box-shadow 0.15s;
&:hover { box-shadow: var(--neu-raised-xs); color: var(--neu-text); }
}

/* User dropdown */
.user-menu-popup {
position: absolute;
bottom: 5rem; left: 1rem; right: 1rem;
background: var(--neu-bg);
border-radius: var(--neu-r-md);
box-shadow: var(--neu-raised-lg);
padding: 0.5rem;
z-index: 200;
animation: fade-in 0.15s ease;
}

.user-menu-item {
display: flex; align-items: center; gap: 0.6rem;
padding: 0.55rem 0.75rem;
border-radius: var(--neu-r-sm);
cursor: pointer; font-size: 0.82rem; color: var(--neu-text);
border: none; background: none; width: 100%; text-align: left;
&:hover { box-shadow: var(--neu-inset-sm); }
&.danger { color: var(--neu-danger); }
}

/* Mobile overlay */
.mobile-overlay {
display: none;
@media (max-width: 1023px) {
display: block;
position: fixed; inset: 0;
background: rgba(45,53,97,0.4);
z-index: 99;
}
}

/* Tour highlight */
.driver-highlighted-element { box-shadow: var(--neu-raised-md) !important; }
  • Step 2: Verify sidebar renders with neumorphic style
npm start

Open http://localhost:4200. The sidebar should now be grey with raised/inset effects.

  • Step 3: Commit
git add src/src/app/menu/menu.component.scss
git commit -m "feat: neumorphic sidebar redesign"

Task 3: Rewrite login.component.scss

Files:

  • Modify: src/src/app/login/login.component.scss

  • Step 1: Replace login.component.scss

:host { display: block; min-height: 100vh; background: var(--neu-bg); }

.split-screen {
display: flex;
min-height: 100vh;
@media (max-width: 768px) { flex-direction: column; }
}

.left-panel {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3rem 4rem;
position: relative;
background: var(--neu-bg);

.logo {
position: absolute;
top: 2.5rem; left: 3rem;
img { height: 40px; width: auto; }
}
}

.login-card {
background: var(--neu-bg);
border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md);
padding: 2.5rem;
width: 100%;
max-width: 400px;

h1 {
font-size: 1.5rem;
font-weight: 800;
color: var(--neu-text);
margin-bottom: 1.75rem;
letter-spacing: -0.01em;
}
}

.form-group {
display: flex;
flex-direction: column;
gap: 0.4rem;
margin-bottom: 1.1rem;
}

.form-label {
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--neu-text-muted);
}

.form-input {
background: var(--neu-bg);
border: none;
border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm);
padding: 0.65rem 0.9rem;
font-size: 0.875rem;
color: var(--neu-text);
outline: none;
width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}

.input-error { font-size: 0.72rem; color: var(--neu-danger); margin-top: 0.2rem; }

.forgot-link {
display: block;
text-align: right;
font-size: 0.78rem;
color: var(--neu-text-muted);
margin-bottom: 1.5rem;
cursor: pointer;
text-decoration: none;
&:hover { color: var(--neu-accent); }
}

.submit-btn {
width: 100%;
padding: 0.7rem;
background: var(--neu-accent);
color: #fff;
border: none;
border-radius: var(--neu-r-pill);
font-size: 0.9rem;
font-weight: 700;
cursor: pointer;
box-shadow: 4px 4px 10px #2a5cbf, -2px -2px 6px #5ca5ff;
transition: box-shadow 0.15s, background 0.15s;
&:hover { background: var(--neu-accent-dark); box-shadow: 6px 6px 12px #1e4fa8, -2px -2px 6px #5ca5ff; }
&:disabled { opacity: 0.5; cursor: not-allowed; }
}

.divider {
display: flex; align-items: center; gap: 0.75rem;
margin: 1.25rem 0;
font-size: 0.75rem; color: var(--neu-text-muted);
&::before, &::after { content: ''; flex: 1; height: 1px; background: rgba(184,192,204,0.5); }
}

.social-btn {
display: flex; align-items: center; justify-content: center; gap: 0.65rem;
width: 100%; padding: 0.6rem;
background: var(--neu-bg); border: none; border-radius: var(--neu-r-pill);
box-shadow: var(--neu-raised-sm);
font-size: 0.84rem; font-weight: 600; color: var(--neu-text); cursor: pointer;
margin-bottom: 0.65rem;
transition: box-shadow 0.15s;
img { width: 18px; height: 18px; }
&:hover { box-shadow: var(--neu-raised-md); }
&:active { box-shadow: var(--neu-inset-sm); }
}

.error-message {
background: rgba(224,92,92,0.1);
color: var(--neu-danger);
border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm);
padding: 0.6rem 0.9rem;
font-size: 0.82rem;
margin-bottom: 1rem;
}

.signup-link {
text-align: center;
font-size: 0.82rem;
color: var(--neu-text-muted);
margin-top: 1.25rem;
a { color: var(--neu-accent); text-decoration: none; font-weight: 600; }
}

/* Right panel: promo/canvas */
.right-panel {
flex: 1;
background: var(--neu-bg);
box-shadow: inset 6px 0 18px var(--neu-shadow-dark);
display: flex; align-items: center; justify-content: center;
overflow: hidden;
@media (max-width: 768px) { display: none; }
}

canvas { width: 100%; height: 100%; display: block; }
  • Step 2: Commit
git add src/src/app/login/login.component.scss
git commit -m "feat: neumorphic login screen"

Task 4: Rewrite signup.component.scss

Files:

  • Modify: src/src/app/signup/signup.component.scss

  • Step 1: Replace signup.component.scss

:host { display: block; min-height: 100vh; background: var(--neu-bg); }

.split-screen {
display: flex; min-height: 100vh;
@media (max-width: 768px) { flex-direction: column; }
}

.left-panel {
flex: 1; display: flex; flex-direction: column;
justify-content: center; align-items: center;
padding: 3rem 4rem; position: relative; background: var(--neu-bg);
.logo { position: absolute; top: 2.5rem; left: 3rem; img { height: 40px; } }
}

.signup-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 2.5rem;
width: 100%; max-width: 420px;
h1 { font-size: 1.5rem; font-weight: 800; color: var(--neu-text); margin-bottom: 1.75rem; letter-spacing: -0.01em; }
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.65rem 0.9rem;
font-size: 0.875rem; color: var(--neu-text); outline: none; width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}
.input-error { font-size: 0.72rem; color: var(--neu-danger); }

.submit-btn {
width: 100%; padding: 0.7rem; background: var(--neu-accent); color: #fff;
border: none; border-radius: var(--neu-r-pill); font-size: 0.9rem; font-weight: 700;
cursor: pointer; box-shadow: 4px 4px 10px #2a5cbf, -2px -2px 6px #5ca5ff;
&:hover { background: var(--neu-accent-dark); }
&:disabled { opacity: 0.5; cursor: not-allowed; }
}

.error-message {
background: rgba(224,92,92,0.1); color: var(--neu-danger);
border-radius: var(--neu-r-sm); box-shadow: var(--neu-inset-sm);
padding: 0.6rem 0.9rem; font-size: 0.82rem; margin-bottom: 1rem;
}

.login-link {
text-align: center; font-size: 0.82rem; color: var(--neu-text-muted); margin-top: 1.25rem;
a { color: var(--neu-accent); text-decoration: none; font-weight: 600; }
}

.right-panel {
flex: 1; background: var(--neu-bg);
box-shadow: inset 6px 0 18px var(--neu-shadow-dark);
display: flex; align-items: center; justify-content: center;
@media (max-width: 768px) { display: none; }
}
  • Step 2: Commit
git add src/src/app/signup/signup.component.scss
git commit -m "feat: neumorphic signup screen"

Task 5: Rewrite forgot-password.component.scss

Files:

  • Modify: src/src/app/forgot-password/forgot-password.component.scss

  • Step 1: Replace forgot-password.component.scss

:host { display: block; min-height: 100vh; background: var(--neu-bg); display: flex; align-items: center; justify-content: center; padding: 2rem; }

.forgot-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 2.5rem;
width: 100%; max-width: 400px;

h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin-bottom: 0.5rem; }
p { font-size: 0.85rem; color: var(--neu-text-muted); margin-bottom: 1.75rem; }
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.65rem 0.9rem;
font-size: 0.875rem; color: var(--neu-text); outline: none; width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}

.submit-btn {
width: 100%; padding: 0.7rem; background: var(--neu-accent); color: #fff;
border: none; border-radius: var(--neu-r-pill); font-size: 0.9rem; font-weight: 700;
cursor: pointer; box-shadow: 4px 4px 10px #2a5cbf, -2px -2px 6px #5ca5ff;
&:hover { background: var(--neu-accent-dark); }
&:disabled { opacity: 0.5; cursor: not-allowed; }
}

.back-link {
display: block; text-align: center; margin-top: 1.25rem;
font-size: 0.82rem; color: var(--neu-text-muted); cursor: pointer; text-decoration: none;
&:hover { color: var(--neu-accent); }
}

.feedback {
padding: 0.6rem 0.9rem; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); font-size: 0.82rem; margin-bottom: 1rem;
&.success { background: rgba(61,186,126,0.12); color: var(--neu-success); }
&.error { background: rgba(224,92,92,0.1); color: var(--neu-danger); }
}
  • Step 2: Commit
git add src/src/app/forgot-password/forgot-password.component.scss
git commit -m "feat: neumorphic forgot-password screen"

Task 6: Rewrite auth-callback.component.scss

Files:

  • Modify: src/src/app/auth-callback/auth-callback.component.scss

  • Step 1: Replace auth-callback.component.scss

:host {
display: flex; align-items: center; justify-content: center;
min-height: 100vh; background: var(--neu-bg);
}

.callback-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 3rem 2.5rem;
text-align: center; max-width: 360px; width: 100%;

.spinner {
width: 40px; height: 40px;
border: 3px solid rgba(59,130,246,0.2);
border-top-color: var(--neu-accent);
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin: 0 auto 1.25rem;
}

p { font-size: 0.9rem; color: var(--neu-text-muted); }
}

.error-state {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 2rem;
text-align: center; max-width: 360px; width: 100%;
p { font-size: 0.88rem; color: var(--neu-danger); margin-bottom: 1rem; }
}
  • Step 2: Commit
git add src/src/app/auth-callback/auth-callback.component.scss
git commit -m "feat: neumorphic auth-callback screen"

Task 7: Rewrite menu-home.component.scss

Files:

  • Modify: src/src/app/menu/menu-home.component.scss

  • Step 1: Replace menu-home.component.scss

.home-root { display: flex; flex-direction: column; gap: 1.5rem; }

.welcome-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 2rem 2.5rem;
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

.welcome-text {
h1 { font-size: 1.6rem; font-weight: 800; color: var(--neu-text); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
p { font-size: 0.9rem; color: var(--neu-text-muted); }
}

.quick-actions {
display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}

.action-card {
background: var(--neu-bg); border-radius: var(--neu-r-md);
box-shadow: var(--neu-raised-sm); padding: 1.25rem;
cursor: pointer; transition: box-shadow 0.15s;
display: flex; align-items: center; gap: 1rem;
&:hover { box-shadow: var(--neu-raised-lg); }
&:active { box-shadow: var(--neu-inset-sm); }
}

.action-icon {
width: 42px; height: 42px; border-radius: var(--neu-r-sm);
background: var(--neu-bg); box-shadow: var(--neu-inset-sm);
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
color: var(--neu-accent);
svg { width: 20px; height: 20px; }
}

.action-label { font-size: 0.85rem; font-weight: 700; color: var(--neu-text); }
.action-desc { font-size: 0.75rem; color: var(--neu-text-muted); margin-top: 0.1rem; }
  • Step 2: Commit
git add src/src/app/menu/menu-home.component.scss
git commit -m "feat: neumorphic home/dashboard screen"

Task 8: Rewrite list/table page components — templates, configs, models, profiles, journeys

Each of these pages follows the same pattern: page header + table card. Replace each SCSS file with the neumorphic equivalent.

Files:

  • Modify: src/src/app/templates/template-list.component.scss

  • Modify: src/src/app/templates/templates-list.component.scss

  • Modify: src/src/app/configs/config-list.component.scss

  • Modify: src/src/app/models/models-list.component.scss

  • Modify: src/src/app/profiles/users-at-profiles.component.scss

  • Modify: src/src/app/journeys/journey-list.component.scss

  • Modify: src/src/app/journeys/journey-profiles.component.scss

  • Step 1: Replace template-list.component.scss

.page-root { display: flex; flex-direction: column; gap: 1.5rem; padding: 0; }

.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; letter-spacing: -0.01em; }
.subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }
}

.filter-bar {
display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
background: var(--neu-bg); border-radius: var(--neu-r-md);
box-shadow: var(--neu-raised-sm); padding: 0.75rem 1rem;
}

.search-input {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.45rem 0.75rem;
font-size: 0.83rem; color: var(--neu-text); outline: none; min-width: 200px;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}

.card { @extend .neu-card; }

.empty-state { text-align: center; padding: 3rem; color: var(--neu-text-muted); font-size: 0.9rem; }
.loading-state { text-align: center; padding: 3rem; color: var(--neu-text-muted); }

.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }

.template-card {
background: var(--neu-bg); border-radius: var(--neu-r-md);
box-shadow: var(--neu-raised-sm); padding: 1.25rem;
cursor: pointer; transition: box-shadow 0.15s;
&:hover { box-shadow: var(--neu-raised-md); }
}

.template-name { font-size: 0.9rem; font-weight: 700; color: var(--neu-text); margin-bottom: 0.4rem; }
.template-meta { font-size: 0.75rem; color: var(--neu-text-muted); }

.pagination {
display: flex; align-items: center; justify-content: flex-end;
gap: 0.75rem; padding-top: 0.5rem;
.page-info { font-size: 0.8rem; color: var(--neu-text-muted); }
}
  • Step 2: Replace templates-list.component.scss (same pattern as above — this is the alternate template list view)
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; letter-spacing: -0.01em; }
.subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; }
.empty-state { text-align: center; padding: 3rem; color: var(--neu-text-muted); }
.loading-state { text-align: center; padding: 3rem; color: var(--neu-text-muted); }
  • Step 3: Replace config-list.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; letter-spacing: -0.01em; }
.subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; }
.config-row {
display: flex; align-items: center; justify-content: space-between; gap: 1rem;
padding: 0.85rem 0; border-bottom: 1px solid rgba(184,192,204,0.2);
&:last-child { border-bottom: none; }
}
.config-key { font-size: 0.84rem; font-weight: 600; color: var(--neu-text); font-family: monospace; }
.config-value { font-size: 0.84rem; color: var(--neu-text-muted); }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 4: Replace models-list.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; letter-spacing: -0.01em; }
.subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; }
.model-row {
display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0;
border-bottom: 1px solid rgba(184,192,204,0.2);
font-size: 0.84rem; color: var(--neu-text);
&:last-child { border-bottom: none; }
}
.model-name { font-weight: 600; flex: 1; }
.model-provider { color: var(--neu-text-muted); font-size: 0.78rem; }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 5: Replace users-at-profiles.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; letter-spacing: -0.01em; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; }
.user-row {
display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0;
border-bottom: 1px solid rgba(184,192,204,0.2); font-size: 0.84rem;
&:last-child { border-bottom: none; }
}
.user-avatar-sm {
width: 28px; height: 28px; border-radius: 50%;
background: var(--neu-bg); box-shadow: var(--neu-raised-xs);
display: flex; align-items: center; justify-content: center;
font-size: 0.68rem; font-weight: 800; color: var(--neu-accent);
}
.user-email { color: var(--neu-text-muted); font-size: 0.8rem; }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 6: Replace journey-list.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; flex: 1; }
.journey-row {
display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0;
border-bottom: 1px solid rgba(184,192,204,0.2);
&:last-child { border-bottom: none; }
cursor: pointer; transition: background 0.1s;
&:hover { background: rgba(184,192,204,0.08); }
}
.journey-name { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); flex: 1; }
.journey-meta { font-size: 0.75rem; color: var(--neu-text-muted); }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 7: Replace journey-profiles.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; flex: 1; }
.profile-row {
display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0;
border-bottom: 1px solid rgba(184,192,204,0.2); font-size: 0.84rem; color: var(--neu-text);
&:last-child { border-bottom: none; }
}
.profile-name { font-weight: 600; flex: 1; }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 8: Commit all list components
git add \
src/src/app/templates/template-list.component.scss \
src/src/app/templates/templates-list.component.scss \
src/src/app/configs/config-list.component.scss \
src/src/app/models/models-list.component.scss \
src/src/app/profiles/users-at-profiles.component.scss \
src/src/app/journeys/journey-list.component.scss \
src/src/app/journeys/journey-profiles.component.scss
git commit -m "feat: neumorphic list/table page components"

Task 9: Rewrite form page components — templates, journeys, plans, products

Files:

  • Modify: src/src/app/templates/template-new-form.component.scss

  • Modify: src/src/app/templates/template-edit-form.component.scss

  • Modify: src/src/app/journeys/journey-form.component.scss

  • Modify: src/src/app/plans/plan-settings-form.component.scss

  • Modify: src/src/app/products/product-form.component.scss

  • Step 1: Replace template-new-form.component.scss

.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.form-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.75rem 2rem; }
.form-section { margin-bottom: 1.5rem; }
.section-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neu-text-muted); margin-bottom: 0.75rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input, .form-select, .form-textarea {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.65rem 0.9rem;
font-size: 0.875rem; color: var(--neu-text); outline: none; width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}
.form-textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-select { appearance: none; cursor: pointer; }
.input-error { font-size: 0.72rem; color: var(--neu-danger); }
.form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid rgba(184,192,204,0.3); }
.feedback-bar {
padding: 0.65rem 1rem; border-radius: var(--neu-r-sm); box-shadow: var(--neu-inset-sm); font-size: 0.83rem; margin-bottom: 1rem;
&.success { background: rgba(61,186,126,0.12); color: var(--neu-success); }
&.error { background: rgba(224,92,92,0.1); color: var(--neu-danger); }
}
  • Step 2: Replace template-edit-form.component.scss
:host { display: block; height: 100vh; overflow: hidden; background: var(--neu-bg); }

.edit-shell {
display: flex; height: 100%;
}

.editor-sidebar {
width: 320px; flex-shrink: 0;
background: var(--neu-bg); box-shadow: 6px 0 18px var(--neu-shadow-dark);
display: flex; flex-direction: column; overflow-y: auto;
padding: 1.25rem 1rem;
}

.editor-header {
display: flex; align-items: center; gap: 0.75rem;
padding-bottom: 1rem; border-bottom: 1px solid rgba(184,192,204,0.3); margin-bottom: 1rem;
h2 { font-size: 1rem; font-weight: 800; color: var(--neu-text); margin: 0; flex: 1; }
}

.editor-main {
flex: 1; overflow-y: auto; background: var(--neu-bg); padding: 1.5rem;
}

.field-card {
background: var(--neu-bg); border-radius: var(--neu-r-md);
box-shadow: var(--neu-raised-sm); padding: 1rem 1.25rem; margin-bottom: 0.85rem;
cursor: pointer; transition: box-shadow 0.15s;
&:hover { box-shadow: var(--neu-raised-md); }
&.selected { box-shadow: var(--neu-inset-sm); }
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input, .form-select {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.55rem 0.8rem;
font-size: 0.84rem; color: var(--neu-text); outline: none; width: 100%;
&:focus { box-shadow: var(--neu-inset-md); }
}
  • Step 3: Replace journey-form.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.form-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.75rem 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input, .form-select, .form-textarea {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.65rem 0.9rem;
font-size: 0.875rem; color: var(--neu-text); outline: none; width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}
.form-textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid rgba(184,192,204,0.3); }
.input-error { font-size: 0.72rem; color: var(--neu-danger); }
  • Step 4: Replace plan-settings-form.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.form-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.75rem 2rem; }
.form-section-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neu-text-muted); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(184,192,204,0.3); }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input, .form-select {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.65rem 0.9rem;
font-size: 0.875rem; color: var(--neu-text); outline: none; width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}
.form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid rgba(184,192,204,0.3); }
.input-error { font-size: 0.72rem; color: var(--neu-danger); }
.feedback-bar {
padding: 0.65rem 1rem; border-radius: var(--neu-r-sm); box-shadow: var(--neu-inset-sm); font-size: 0.83rem; margin-bottom: 1rem;
&.success { background: rgba(61,186,126,0.12); color: var(--neu-success); }
&.error { background: rgba(224,92,92,0.1); color: var(--neu-danger); }
}
  • Step 5: Replace product-form.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.form-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.75rem 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.form-input, .form-select, .form-textarea {
background: var(--neu-bg); border: none; border-radius: var(--neu-r-sm);
box-shadow: var(--neu-inset-sm); padding: 0.65rem 0.9rem;
font-size: 0.875rem; color: var(--neu-text); outline: none; width: 100%;
&::placeholder { color: var(--neu-text-muted); }
&:focus { box-shadow: var(--neu-inset-md); }
}
.form-textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid rgba(184,192,204,0.3); }
.input-error { font-size: 0.72rem; color: var(--neu-danger); }
  • Step 6: Commit
git add \
src/src/app/templates/template-new-form.component.scss \
src/src/app/templates/template-edit-form.component.scss \
src/src/app/journeys/journey-form.component.scss \
src/src/app/plans/plan-settings-form.component.scss \
src/src/app/products/product-form.component.scss
git commit -m "feat: neumorphic form page components"

Task 10: Rewrite remaining page components — plans list, products list, billing, playground, coming-soon

Files:

  • Modify: src/src/app/plans/plan-settings-list.component.scss

  • Modify: src/src/app/plans/plan-upgrade.component.scss

  • Modify: src/src/app/products/products-list.component.scss

  • Modify: src/src/app/billing/invoices-list.component.scss

  • Modify: src/src/app/billing/invoice-detail.component.scss

  • Modify: src/src/app/playground/playground.component.scss

  • Modify: src/src/app/playground/playground-templates.component.scss

  • Modify: src/src/app/coming-soon/coming-soon.component.scss

  • Step 1: Replace plan-settings-list.component.scss

.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
.subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; flex: 1; }
.plan-row {
display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0;
border-bottom: 1px solid rgba(184,192,204,0.2);
&:last-child { border-bottom: none; }
cursor: pointer; &:hover { background: rgba(184,192,204,0.06); }
}
.plan-name { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); flex: 1; }
.plan-meta { font-size: 0.75rem; color: var(--neu-text-muted); }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 2: Replace plan-upgrade.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; padding-top: 2rem; }

.upgrade-header {
text-align: center;
h1 { font-size: 1.8rem; font-weight: 800; color: var(--neu-text); margin-bottom: 0.5rem; }
p { font-size: 0.9rem; color: var(--neu-text-muted); }
}

.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; width: 100%; max-width: 900px; }

.plan-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md);
padding: 2rem; display: flex; flex-direction: column; gap: 1rem;
&.featured { box-shadow: var(--neu-raised-lg); }
}

.plan-name { font-size: 1.1rem; font-weight: 800; color: var(--neu-text); }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--neu-accent); }
.plan-price-period { font-size: 0.8rem; color: var(--neu-text-muted); }

.plan-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-feature {
display: flex; align-items: center; gap: 0.5rem;
font-size: 0.84rem; color: var(--neu-text);
&::before { content: '✓'; color: var(--neu-success); font-weight: 700; }
}
  • Step 3: Replace products-list.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; flex: 1; }
.product-row {
display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0;
border-bottom: 1px solid rgba(184,192,204,0.2); font-size: 0.84rem; color: var(--neu-text);
&:last-child { border-bottom: none; }
}
.product-name { font-weight: 600; flex: 1; }
.product-meta { font-size: 0.75rem; color: var(--neu-text-muted); }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 4: Replace invoices-list.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
.subtitle { font-size: 0.85rem; color: var(--neu-text-muted); margin-top: 0.2rem; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.card-heading { display: flex; align-items: center; gap: 0.75rem; }
.heading-accent { width: 4px; height: 22px; border-radius: 2px; background: var(--neu-accent); }
.heading-title { font-size: 0.88rem; font-weight: 700; color: var(--neu-text); text-transform: uppercase; letter-spacing: 0.05em; flex: 1; }
.status-pill {
display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--neu-r-pill);
font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
box-shadow: var(--neu-inset-sm);
&.paid { color: var(--neu-success); }
&.pending { color: #f59e0b; }
&.failed { color: var(--neu-danger); }
}
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; padding-top: 0.5rem; }
.page-info { font-size: 0.8rem; color: var(--neu-text-muted); }
.empty-state { text-align: center; padding: 2.5rem; color: var(--neu-text-muted); }
  • Step 5: Replace invoice-detail.component.scss
.page-root { display: flex; flex-direction: column; gap: 1.5rem; }
.page-header-row {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
h1 { font-size: 1.4rem; font-weight: 800; color: var(--neu-text); margin: 0; }
}
.neu-card { background: var(--neu-bg); border-radius: var(--neu-r-lg); box-shadow: var(--neu-raised-md); padding: 1.5rem 2rem; }
.invoice-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); }
.meta-value { font-size: 0.88rem; color: var(--neu-text); font-weight: 600; }
.invoice-total { font-size: 1.4rem; font-weight: 800; color: var(--neu-accent); margin-top: 1rem; }
  • Step 6: Replace playground.component.scss
:host { display: block; height: 100%; }

.playground-root {
display: flex; height: 100%; background: var(--neu-bg);
}

.playground-sidebar {
width: 320px; flex-shrink: 0;
background: var(--neu-bg); box-shadow: 6px 0 18px var(--neu-shadow-dark);
display: flex; flex-direction: column; overflow-y: auto; padding: 1.25rem 1rem;
}

.playground-main {
flex: 1; display: flex; flex-direction: column; overflow: hidden;
}

.playground-toolbar {
display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem;
background: var(--neu-bg); box-shadow: 0 4px 12px var(--neu-shadow-dark);
}

.playground-output {
flex: 1; overflow: auto; padding: 1.5rem;
background: var(--neu-bg);
}

.result-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 1.5rem;
}

.field-card {
background: var(--neu-bg); border-radius: var(--neu-r-md);
box-shadow: var(--neu-raised-sm); padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}

.field-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--neu-text-muted); margin-bottom: 0.4rem; }
.field-value { font-size: 0.88rem; color: var(--neu-text); background: var(--neu-bg); border-radius: var(--neu-r-xs); box-shadow: var(--neu-inset-sm); padding: 0.5rem 0.75rem; }
  • Step 7: Replace playground-templates.component.scss
.templates-root { display: flex; flex-direction: column; gap: 0.5rem; }
.template-item {
background: var(--neu-bg); border-radius: var(--neu-r-sm);
box-shadow: var(--neu-raised-xs); padding: 0.65rem 0.85rem;
cursor: pointer; transition: box-shadow 0.15s;
font-size: 0.82rem; color: var(--neu-text);
&:hover { box-shadow: var(--neu-raised-sm); }
&.active { box-shadow: var(--neu-inset-sm); color: var(--neu-accent); font-weight: 700; }
}
.template-name { font-weight: 600; }
.template-meta { font-size: 0.72rem; color: var(--neu-text-muted); margin-top: 0.1rem; }
  • Step 8: Replace coming-soon.component.scss
:host { display: flex; align-items: center; justify-content: center; min-height: 60vh; }

.coming-soon-card {
background: var(--neu-bg); border-radius: var(--neu-r-lg);
box-shadow: var(--neu-raised-md); padding: 3rem 2.5rem;
text-align: center; max-width: 400px; width: 100%;
}

.coming-icon {
width: 64px; height: 64px; border-radius: var(--neu-r-lg);
background: var(--neu-bg); box-shadow: var(--neu-inset-sm);
display: flex; align-items: center; justify-content: center;
margin: 0 auto 1.5rem;
svg { width: 28px; height: 28px; color: var(--neu-accent); }
}

.coming-title { font-size: 1.3rem; font-weight: 800; color: var(--neu-text); margin-bottom: 0.5rem; }
.coming-text { font-size: 0.88rem; color: var(--neu-text-muted); }
  • Step 9: Commit
git add \
src/src/app/plans/plan-settings-list.component.scss \
src/src/app/plans/plan-upgrade.component.scss \
src/src/app/products/products-list.component.scss \
src/src/app/billing/invoices-list.component.scss \
src/src/app/billing/invoice-detail.component.scss \
src/src/app/playground/playground.component.scss \
src/src/app/playground/playground-templates.component.scss \
src/src/app/coming-soon/coming-soon.component.scss
git commit -m "feat: neumorphic remaining page components"

Task 11: Rewrite app.scss

Files:

  • Modify: src/src/app/app.scss

  • Step 1: Replace app.scss

:host { display: block; min-height: 100vh; background: var(--neu-bg); }
  • Step 2: Final visual verification
npm start

Open http://localhost:4200 and navigate through all major pages. Every screen should show the grey neumorphic surfaces with raised/inset effects and blue accent.

  • Step 3: Commit
git add src/src/app/app.scss
git commit -m "feat: neumorphic app root component"