Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
{
"path": "lib/components/internal/widget-exports.js",
"brotli": false,
"limit": "1360 kB",
"limit": "1370 kB",
"ignore": "react-dom"
}
],
Expand Down
35 changes: 17 additions & 18 deletions pages/box/visual-accent.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,28 @@ import ScreenshotArea from '../utils/screenshot-area';
// ─── Data ──────────────────────────────────────────────────────────────────────

const ALL_VARIANTS: BoxProps.VisualAccent.Color[] = [
'red',
'yellow',
'grey',
'indigo',
'red',
'green',
'orange',
'purple',
'mint',
'lime',
'grey',
'yellow',

'amber',
'teal',
'cyan',
'purple',
'blue',
'violet',
'fuchsia',
'magenta',
'lime',

'violet',

'pink',
'rose',
'amber',
'orange',
];

const BOX_VARIANTS: { variant: BoxProps['variant']; label: string; content: string }[] = [
{ variant: 'h3', label: 'h3', content: 'Heading 3' },
{ variant: 'p', label: 'p', content: 'Body paragraph text' },
{ variant: 'h3', label: 'h3', content: 'Heading' },
{ variant: 'p', label: 'p', content: 'Paragraph' },
];

const LIST_ITEMS: { id: string; content: string; icon: string; color: BoxProps.VisualAccent.Color }[] = [
Expand All @@ -46,7 +45,7 @@ const LIST_ITEMS: { id: string; content: string; icon: string; color: BoxProps.V
{ id: 'network', content: 'Network configuration', icon: 'globe', color: 'grey' },
{ id: 'multi-session', content: 'Multi-session data', icon: 'multiscreen', color: 'purple' },
{ id: 'alert', content: 'Alert center', icon: 'security', color: 'red' },
{ id: 'communication', content: 'Communication', icon: 'contact', color: 'mint' },
{ id: 'communication', content: 'Communication', icon: 'contact', color: 'teal' },
];

// ─── Page ──────────────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -114,7 +113,7 @@ export default function StyleBoxPage() {
label: 'Components',
value: (
<Box
visualAccent={{ color: 'mint' }}
visualAccent={{ color: 'teal' }}
padding={{ horizontal: 'xxxs', vertical: 'xxxs' }}
margin={{ top: 'xxs' }}
>
Expand All @@ -126,7 +125,7 @@ export default function StyleBoxPage() {
label: 'Patterns',
value: (
<Box
visualAccent={{ color: 'mint' }}
visualAccent={{ color: 'teal' }}
padding={{ horizontal: 'xxxs', vertical: 'xxxs' }}
margin={{ top: 'xxs' }}
>
Expand All @@ -138,7 +137,7 @@ export default function StyleBoxPage() {
label: 'Demos',
value: (
<Box
visualAccent={{ color: 'mint' }}
visualAccent={{ color: 'teal' }}
padding={{ horizontal: 'xxxs', vertical: 'xxxs' }}
margin={{ top: 'xxs' }}
>
Expand Down
Loading
Loading