chore: update CHANGELOG.md and DESIGN_SYSTEM.md #31
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
- **Hardcoded brand colors.** Uptime page chart uses CSS variable var(--color-brand-orange) instead of #FD5E0F.
|
||||
- **Selection styling.** Removed redundant selection:bg-brand-orange/20 from page wrappers; relies on ciphera-ui base styles.
|
||||
- **Inline spinners.** Dashboard widgets (TopReferrers, Locations, TechSpecs, Campaigns, ContentStats), notifications page, and OrganizationSettings now use Spinner from ciphera-ui.
|
||||
- **Footer layout.** Authenticated footer container aligned to max-w-6xl (matches site dashboard and page-container-app).
|
||||
|
||||
### Removed
|
||||
|
||||
|
||||
@@ -21,10 +21,15 @@ This document defines the visual language and design patterns for Pulse Analytic
|
||||
--brand-orange: #FD5E0F;
|
||||
|
|
||||
--brand-orange-hover: #E54E00; /* Darker for hover states */
|
||||
|
||||
/* Injected by @ciphera-net/ui preset — use in SVG, Recharts, rgba() */
|
||||
--color-brand-orange: #FD5E0F;
|
||||
--color-brand-orange-rgb: 253, 94, 15; /* Used by .glow-orange utility; also for custom rgba(var(--color-brand-orange-rgb), 0.5) */
|
||||
|
||||
/* Usage */
|
||||
- Primary CTAs, links, focus rings
|
||||
- Accent elements, badges
|
||||
- Never use for large backgrounds (too vibrant)
|
||||
- var(--color-brand-orange) for SVG/Recharts where Tailwind classes don't apply
|
||||
```
|
||||
|
||||
### Neutral Scale
|
||||
|
||||
Reference in New Issue
Block a user
--color-brand-orange-rgbdocumented but unusedThis variable is defined in the design system doc as a convenience for
rgba()usage, but a search across all.tsx,.ts, and.cssfiles in the project shows it is not used anywhere yet. Consider either adding a note clarifying it is reserved for future use, or waiting to document it until there is an actual usage to point to — to avoid developers searching for an example that doesn't exist.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
Issue: --color-brand-orange-rgb is documented but has no usage in the Pulse repo.
Fix: Added a note that it powers the .glow-orange utility in the ciphera-ui preset. The preset injects both the variable and the .glow-orange class, which uses rgba(var(--color-brand-orange-rgb), 0.5) for its box-shadow.
Why: The usage lives in the shared preset (ciphera-ui), not in Pulse. Documenting this makes it clear the variable is used and where it comes from.