@extends('layouts.admin', [
'pageTitle' => __('Design system'),
'pageSubtitle' => __('Decent DS - the visual language shared by every screen in the ERP.'),
'active' => 'styleguide',
'breadcrumbs' => [
['label' => __('Home'), 'href' => route('landing')],
['label' => __('Design system')],
],
])
@section('title', __('Design system'))
@section('content')
@php
$tokens = [
['name' => 'bg-canvas', 'var' => '--dc-bg-canvas'],
['name' => 'bg-surface', 'var' => '--dc-bg-surface'],
['name' => 'bg-inset', 'var' => '--dc-bg-inset'],
['name' => 'text-primary','var' => '--dc-text-primary'],
['name' => 'text-muted', 'var' => '--dc-text-muted'],
['name' => 'brand-primary','var' => '--dc-brand-primary'],
['name' => 'status-success','var' => '--dc-status-success'],
['name' => 'status-info', 'var' => '--dc-status-info'],
['name' => 'status-warning','var' => '--dc-status-warning'],
['name' => 'status-danger', 'var' => '--dc-status-danger'],
];
@endphp
@foreach ($tokens as $t)
{{ $t['name'] }}
var({{ $t['var'] }})
@endforeach
Heading 1 — 30px semibold
Inter · letter-spacing -.02em
Heading 2 — 24px semibold
Heading 3 — 20px semibold
Heading 4 — 18px semibold
Body — 15px regular. The quick brown fox jumps over the lazy dog. 1234567890
Mono — {{ format_money(1234567.89) }} · IN-DL-01 · 27AAAAA0000A1Z5
Primary
Secondary
Ghost
Danger
Small
With icon
Both icons
Disabled
Neutral
Success
Info
Warning
Danger
Backups are configured to run nightly at 02:00 IST.
System configuration saved.
The financial year 2025-26 will lock in 15 days.
Two failed login attempts detected in the last 5 minutes.
| # |
{{ __('Module') }} |
{{ __('Sub-sprint') }} |
{{ __('Status') }} |
{{ __('Effort') }} |
@foreach ([
['Environment Configuration', 'S0.1', 'success', '2 hrs'],
['Logging System', 'S0.1', 'success', '3 hrs'],
['Base Layouts + Theme', 'S0.1', 'success', '6 hrs'],
['Authentication', 'S0.2', 'info', 'planned'],
['RBAC & Permissions', 'S0.2', 'info', 'planned'],
] as $i => $row)
| {{ $i + 1 }} |
{{ $row[0] }} |
{{ $row[1] }} |
{{ ucfirst($row[2]) }} |
{{ $row[3] }} |
@endforeach
{{ __('Business modules land from Sprint 1 onwards. This screen becomes your working dashboard.') }}
@endsection