Design Document #

Design v1.0 · ronilprasad8.tech · Visual Language & Architecture

This document details the visual style, component layout, and client-side design system used on the platform. The UI is built using clean vanilla CSS alongside glassmorphic headers, fluid animations, and a responsive theme matching both dark and light modes.

1. Design Principles #


2. Design System #

Light Theme Palette

Primary Blue
#007bff
Bayern Red
#dc3545
Card Background
#ffffff
Primary Dark Text
#1a1a1b

Dark Theme Palette

Primary Blue (Dark)
#3793ff
Bayern Red (Dark)
#ff4d5a
Card Background (Dark)
#1e293b
Primary Light Text
#f8fafc

Typography

UsageFont-FamilySizes & Weights
Headers & Body Text 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif Body: 1rem (Regular)
H1: 2.5rem (Bold)
H2: 1.8rem (Semi-Bold)
Nav Links 'Inter' 0.75rem, Uppercase, 600 weight, 0.5px letter-spacing
Code / Metadata monospace (or system defaults) 0.9rem (Regular)

3. Component Architecture #

The UI is structured around reusable template fragments and script modules:

Component ModuleFile ReferenceDescription & Reusability
Base Shell base.html Defines the universal layout, structural metadata, loading of CSS/FontAwesome scripts, and the persistent navbar.
Global Chat Widget Embedded in base.html + chatbot.js The floating circular launcher and transition panel that handles authenticated messaging. Hidden dynamically on the dedicated chat view.
Interactive Auth Cards login.html Manages tabbed states (Login / Sign Up / Forgot Password) dynamically using vanilla JS and styled CSS forms.
Project Cards project.html Modular structured grids for detailing items with smooth scale transitions on hover (transform: translateY(-5px)).
Social Link Tiles contact.html Grid of responsive elements mapping out direct lines to external profiles.

4. UI/UX Patterns #


5. State Management #

Since the application does not use heavy Javascript frameworks (like React, Vue, or Angular), state is managed client-side using Vanilla JS coupled to Firebase events:


6. Accessibility Notes #

The codebase employs several standards to maintain basic accessibility guidelines: