Commit Graph

12 Commits

Author SHA1 Message Date
sdarbinyan
288c7ac33f fix: wire dark-mode theme tokens for all three tenant themes (Z1)
theme-engine.service.ts already sets [data-theme-mode] on the root, but
no CSS anywhere consumed it - picking Dark/System never changed anything
visually. Adds a structural dark override block per theme (dexar/lavero/
novo): bg/text/border/shadow tokens only. Brand colors (primary/secondary/
accent/gradients) are left untouched - a distinct dark-mode brand palette
is a design decision for the theme owner, not made here.

Also verified during this pass, no change needed (GAPS-AND-IMPROVEMENTS.md
was stale on these):
- og:locale already reads languageService.currentLanguage() dynamically
- SeoService.setItemMeta() is already called from product-details-container
- stars.component.scss already uses var(--border-color), no literal hex
- sellerId is already typed UUID, no bare-string field remains

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 21:35:13 +04:00
sdarbinyan
d5603c229e fix(storefront): premium UX polish for static pages
- faq-{ru,en,hy}.component.html: convert each FAQ entry from an always-
  expanded <div>/<h3> block into a native <details class="faq-item">/
  <summary> disclosure, reusing the global expander-chevron pattern
  already defined in styles.scss (no bespoke accordion component built);
  answer body wrapped in .faq-answer for spacing
- faq.component.scss: restyle .faq-item for the details/summary shape
  (summary uses tokenized font-size/weight, focus-visible ring, [open]
  state gets a stronger shadow instead of the old always-on hover-lift);
  hardcoded `all 0.3s ease` replaced with --transition-normal on the
  specific properties that change; added a reduced-motion override
- shared-legal.scss: hardcoded `transition: all 0.3s ease` (4 call sites:
  info-card, features-list feature, contact-item/contact-link,
  contact-email) normalized to --transition-normal on transform/
  box-shadow/background; paragraphs and lists get max-width: 70ch so
  long-form legal/info text keeps a readable line length within the
  wider 900px .legal-container
- static-page.component.scss (CMS-driven static-page renderer): spacing
  converted to --space-* tokens; prose now capped at 70ch; added actual
  content styling (headings, lists, links, images, blockquote, table)
  for arbitrary CMS-authored HTML rendered via [innerHTML], since the
  previous rules only styled h2/h3 margins and left every other tag
  unstyled; line-height moved to --line-height-relaxed token

Build verified green via `npm run build`.

Out of scope / skipped:
- info/contacts has no contact form (plain link list) - no app-input/
  app-form-field polish applicable
- no breadcrumbs/anchor nav exist on any page in scope - nothing to
  align focus-visible on
- legal-page/info scss files (about, delivery, guarantee, company-
  details, payment-terms, privacy-policy, public-offer, return-policy)
  already used design tokens with no hex literals and had no accordion/
  form elements - left untouched
- shared-legal.scss's border-left accent on .legal-section/.info-box/
  .highlight and the fadeIn entrance animation durations left as-is;
  pre-existing sitewide pattern, not a new introduction, changing it is
  a redesign call outside this pass's scope

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-23 12:07:14 +04:00
sdarbinyan
68d679759d style(design-system): introduce typography scale + extend radius/space tokens
- Add --font-size-xs..4xl, --font-weight-*, --line-height-* tokens to
  src/styles.scss (no typography scale previously existed)
- Add --radius-xs (4px) and --radius-full (999px) to all three theme
  files (dexar/lavero/novo) to cover chip/badge and pill shapes already
  in wide use (41x 999px, 9x 4px across the app) but previously
  hand-written per component
- Apply the new tokens to global base elements (body/h1-h6/p/small),
  the .btn/.mt-*/.mb-*/.p-* utility classes, and the shared
  .item-badge/.item-tag/.item-simple-desc classes
- Extend --space-* scale with --space-2xl (48px) and --space-3xl (64px)
  for section-level gaps
2026-07-20 03:19:09 +04:00
sdarbinyan
c4063e76de lovero 2026-07-02 02:22:00 +04:00
sdarbinyan
cb2666177a lavero 2026-05-19 02:01:36 +04:00
sdarbinyan
a15f2bca6a dynamic phone and bots 2026-04-14 22:28:34 +04:00
sdarbinyan
10b4974719 optimising and making it better 2026-02-26 21:54:21 +04:00
sdarbinyan
4238d59fc6 style changes 2026-02-14 02:34:11 +04:00
sdarbinyan
88ac37ebc4 changed header and hero img 2026-02-14 00:45:17 +04:00
sdarbinyan
373b9015aa chore: major project cleanup
Removed unused files:
- Deleted src/app/brands folder (20 unused HTML templates)
- Deleted public/assets/changes.txt (misplaced draft content)
- Deleted src/assets/i18n folder (translations never implemented)
- Deleted 11 redundant docs (Russian notes, duplicate novo docs)

Code cleanup:
- Removed duplicate qrBaseUrl variable in api.service.ts
- Removed all commented-out API code in cart.service.ts
- Removed commented debug logs in cache.interceptor.ts
- Fixed app.spec.ts test (removed failing test, added router provider)

Files kept: 8 essential docs in docs/ folder
2026-01-22 23:52:59 +04:00
sdarbinyan
cb895f68cd fix: improve phone/contact link visibility in novo theme
- Changed contact labels from green to text-secondary color
- Changed contact values/links from green to text-primary with hover effect
- Added proper hover state for all contact card child elements
- Fixed readability issue where green text was on green-tinted background
2026-01-22 23:28:31 +04:00
sdarbinyan
bd80896886 very first commit 2026-01-18 18:57:06 +04:00