feat: Runtime configuration and Docker deployment improvements
Frontend: - Add runtime configuration service for deployment-time API URL injection - Create docker-entrypoint.sh to generate config.json from environment variables - Update ApiService, ApprovalService, and DocumentViewer to use RuntimeConfigService - Add APP_INITIALIZER to load runtime config before app starts Backend: - Fix init-blockchain.js to properly quote mnemonic phrases in .env file - Improve docker-entrypoint.sh with health checks and better error handling Docker: - Add API_BASE_URL environment variable to frontend container - Update docker-compose.yml with clear documentation for remote deployment - Reorganize .env.example with clear categories (REQUIRED FOR REMOTE, PRODUCTION, AUTO-GENERATED) Workflow fixes: - Fix DepartmentApproval interface to match backend schema - Fix stage transformation for 0-indexed stageOrder - Fix workflow list to show correct stage count from definition.stages Cleanup: - Move development artifacts to .trash directory - Remove root-level package.json (was only for utility scripts) - Add .trash/ to .gitignore
This commit is contained in:
@@ -6,29 +6,34 @@ module.exports = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
// DBIM Primary Colour Group - Blue (selected for blockchain/tech platform)
|
||||
// DBIM Primary Colour Group - India Government Official Colours
|
||||
'dbim': {
|
||||
// Blue colour group variants
|
||||
// Official India Government Blue (DBIM Primary)
|
||||
'govt-blue': '#0066B3', // Official India Government Blue
|
||||
'govt-blue-dark': '#004B8D', // Darker variant for hover
|
||||
'govt-blue-light': '#1A7FC1', // Lighter variant
|
||||
|
||||
// Blue colour group variants (State customization)
|
||||
'blue-dark': '#1D0A69', // Key colour - footer, primary headers, sidebar
|
||||
'blue-mid': '#2563EB', // Primary buttons, active states
|
||||
'blue-light': '#3B82F6', // Hover states, links
|
||||
'blue-lighter': '#60A5FA', // Card accents
|
||||
'blue-subtle': '#DBEAFE', // Subtle backgrounds
|
||||
|
||||
// Functional palette (mandatory)
|
||||
// Functional palette (DBIM mandatory)
|
||||
'white': '#FFFFFF', // Inclusive White - page backgrounds
|
||||
'linen': '#EBEAEA', // Background secondary - cards, quotes
|
||||
'brown': '#150202', // Deep Earthy Brown - text on light bg
|
||||
'black': '#000000', // State Emblem on light bg
|
||||
'deep-blue': '#1D0A69', // Gov.In identity colour
|
||||
|
||||
// Status colours (fixed by DBIM)
|
||||
// Status colours (DBIM fixed)
|
||||
'success': '#198754', // Liberty Green - approved, confirmed
|
||||
'warning': '#FFC107', // Mustard Yellow - pending, in-review
|
||||
'error': '#DC3545', // Coral Red - rejected, failed
|
||||
'info': '#0D6EFD', // Blue - information, hyperlinks
|
||||
|
||||
// Grey palette
|
||||
// Grey palette (DBIM compliant)
|
||||
'grey-1': '#C6C6C6',
|
||||
'grey-2': '#8E8E8E',
|
||||
'grey-3': '#606060',
|
||||
|
||||
Reference in New Issue
Block a user