@bloxwap/hig 0.8.1 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +1 -0
  2. package/chart/README.md +3 -4
  3. package/chart/dist/altimeter-burst.d.ts +2 -2
  4. package/chart/dist/altimeter-burst.js +8 -7
  5. package/chart/dist/altimeter-chart.d.ts +13 -3
  6. package/chart/dist/altimeter-chart.js +37 -12
  7. package/chart/dist/altimeter-core.d.ts +21 -0
  8. package/chart/dist/altimeter-core.js +13 -0
  9. package/chart/dist/altimeter-targets.d.ts +3 -2
  10. package/chart/dist/altimeter-targets.js +7 -7
  11. package/chart/dist/index.d.ts +2 -2
  12. package/chart/dist/outcome-chart.d.ts +4 -2
  13. package/chart/dist/outcome-chart.js +9 -6
  14. package/chart/dist/outcome-model.d.ts +14 -1
  15. package/chart/dist/outcome-model.js +12 -4
  16. package/contracts/README.md +1 -1
  17. package/contracts/dist/login.d.ts +34 -0
  18. package/contracts/dist/login.js +43 -0
  19. package/contracts/dist/messages.d.ts +1 -1
  20. package/feedback/README.md +1 -1
  21. package/native/README.md +1 -1
  22. package/native/dist/address-readout.d.ts +9 -0
  23. package/native/dist/address-readout.js +22 -0
  24. package/native/dist/animated-number.js +3 -1
  25. package/native/dist/blocks.d.ts +5 -2
  26. package/native/dist/blocks.js +5 -2
  27. package/native/dist/chart.d.ts +20 -0
  28. package/native/dist/chart.js +161 -0
  29. package/native/dist/claim-reward-block.d.ts +22 -0
  30. package/native/dist/claim-reward-block.js +16 -0
  31. package/native/dist/confirm-block.d.ts +1 -5
  32. package/native/dist/confirm-block.js +5 -16
  33. package/native/dist/data.d.ts +1 -1
  34. package/native/dist/data.js +3 -1
  35. package/native/dist/deposit-block.d.ts +19 -0
  36. package/native/dist/deposit-block.js +20 -0
  37. package/native/dist/gesture-sheet.js +1 -1
  38. package/native/dist/language-block.js +1 -1
  39. package/native/dist/login-block.d.ts +4 -0
  40. package/native/dist/login-block.js +22 -0
  41. package/native/dist/manage-position-block.d.ts +7 -0
  42. package/native/dist/manage-position-block.js +29 -28
  43. package/native/dist/modal-radius.d.ts +2 -0
  44. package/native/dist/modal-radius.js +2 -0
  45. package/native/dist/overlay.d.ts +6 -2
  46. package/native/dist/overlay.js +7 -5
  47. package/native/dist/positions-block.d.ts +28 -0
  48. package/native/dist/positions-block.js +15 -0
  49. package/native/dist/screen-header.d.ts +3 -1
  50. package/native/dist/screen-header.js +2 -2
  51. package/native/dist/status.js +3 -2
  52. package/native/dist/{swap-panel-block.d.ts → swap-block.d.ts} +10 -6
  53. package/native/dist/{swap-panel-block.js → swap-block.js} +5 -3
  54. package/native/dist/swap-sheet.d.ts +3 -3
  55. package/native/dist/swap-sheet.js +3 -3
  56. package/native/dist/token-action-block.d.ts +1 -1
  57. package/native/dist/token-action-block.js +2 -1
  58. package/native-fonts/README.md +1 -1
  59. package/og-fonts/README.md +1 -1
  60. package/package.json +76 -21
  61. package/react/README.md +1 -1
  62. package/react/dist/blocks/address-readout.d.ts +9 -0
  63. package/react/dist/blocks/address-readout.js +16 -0
  64. package/react/dist/blocks/claim-reward-block.d.ts +22 -0
  65. package/react/dist/blocks/claim-reward-block.js +10 -0
  66. package/react/dist/blocks/confirm-block.d.ts +1 -5
  67. package/react/dist/blocks/confirm-block.js +3 -13
  68. package/react/dist/blocks/deposit-block.d.ts +19 -0
  69. package/react/dist/blocks/deposit-block.js +18 -0
  70. package/react/dist/blocks/login-block.d.ts +16 -0
  71. package/react/dist/blocks/login-block.js +29 -0
  72. package/react/dist/blocks/manage-position-block.d.ts +7 -0
  73. package/react/dist/blocks/manage-position-block.js +9 -4
  74. package/react/dist/blocks/positions-block.d.ts +28 -0
  75. package/react/dist/blocks/positions-block.js +14 -0
  76. package/react/dist/blocks/{swap-panel-block.d.ts → swap-block.d.ts} +10 -6
  77. package/react/dist/blocks/{swap-panel-block.js → swap-block.js} +5 -3
  78. package/react/dist/blocks/swap-sheet.d.ts +3 -3
  79. package/react/dist/blocks/swap-sheet.js +3 -3
  80. package/react/dist/blocks/token-action-block.d.ts +1 -1
  81. package/react/dist/blocks/token-action-block.js +2 -1
  82. package/react/dist/blocks.d.ts +5 -2
  83. package/react/dist/blocks.js +5 -2
  84. package/react/dist/gesture-sheet.js +6 -2
  85. package/react/dist/overlay.d.ts +1 -29
  86. package/react/dist/overlay.js +3 -31
  87. package/react/dist/popover.d.ts +30 -0
  88. package/react/dist/popover.js +34 -0
  89. package/react/dist/styles.css +186 -33
  90. package/tokens/README.md +1 -1
  91. package/tokens/assets/onramps/apple-pay.svg +33 -0
  92. package/tokens/assets/onramps/bank.svg +98 -0
  93. package/tokens/assets/onramps/blink.svg +37 -0
  94. package/tokens/assets/onramps/cashapp.svg +33 -0
  95. package/tokens/assets/onramps/crypto.svg +121 -0
  96. package/tokens/assets/onramps/exchange.svg +105 -0
  97. package/tokens/dist/deposit-icons.d.ts +1 -0
  98. package/tokens/dist/deposit-icons.js +28 -0
  99. package/native/dist/explainer-block.d.ts +0 -91
  100. package/native/dist/explainer-block.js +0 -34
  101. package/react/dist/blocks/explainer-block.d.ts +0 -80
  102. package/react/dist/blocks/explainer-block.js +0 -20
@@ -1,10 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useEffect, useId, useRef } from 'react';
4
- import * as en from '@bloxwap/hig/contracts/messages';
5
- import { useControllable, useHIG, useThemeStyle } from './provider.js';
3
+ import { useId, useRef } from 'react';
4
+ import { useHIG, useThemeStyle } from './provider.js';
6
5
  import * as Drop from '@radix-ui/react-dropdown-menu';
7
- import * as Pop from '@radix-ui/react-popover';
8
6
  import * as Tip from '@radix-ui/react-tooltip';
9
7
  import { Button } from './button.js';
10
8
  export { Dialog, Sheet, AlertDialog } from './dialog.js';
@@ -14,31 +12,5 @@ export function Menu({ label, items }) { const { feedback, direction, locale, de
14
12
  feedback?.emit({ id: `${id}/${++sequence.current}`, source: id, intent: 'selection', origin: origin.current });
15
13
  }
16
14
  catch { /* Optional feedback cannot alter the action. */ } }, children: item.label }, i)) }) })] }); }
17
- /** How long the pointer may be off the trigger and the popover before a hover-opened popover closes, so it can cross the gap between them. */
18
- const hoverCloseDelay = 150;
19
- export function Popover({ label, children, closeLabel, hideClose, open, defaultOpen = false, onOpenChange, trigger, openOnHover, testID, tone, className, style }) {
20
- const { messages, direction, locale, density } = useHIG();
21
- const themeStyle = useThemeStyle();
22
- const [current, set] = useControllable(open, defaultOpen, onOpenChange, null);
23
- const timer = useRef(undefined), hovered = useRef(false), pinned = useRef(false);
24
- useEffect(() => () => clearTimeout(timer.current), []);
25
- // Hover handlers only for a mouse: a touch's pointerenter comes just before its click, which toggles. A hover opens without moving focus into the popover.
26
- const hover = openOnHover ? {
27
- onPointerEnter: (event) => { if (event.pointerType !== 'mouse')
28
- return; clearTimeout(timer.current); if (!current) {
29
- hovered.current = true;
30
- set(true);
31
- } },
32
- onPointerLeave: (event) => { if (event.pointerType !== 'mouse' || pinned.current)
33
- return; clearTimeout(timer.current); timer.current = setTimeout(() => set(false), hoverCloseDelay); },
34
- } : undefined;
35
- // A click on the trigger of a hover-opened popover pins it open instead of toggling it shut: the pointer always hovers before it clicks.
36
- const pin = openOnHover ? { onClick: (event) => { if (!hovered.current)
37
- return; event.preventDefault(); clearTimeout(timer.current); hovered.current = false; pinned.current = true; } } : undefined;
38
- return _jsxs(Pop.Root, { open: current, onOpenChange: next => { clearTimeout(timer.current); if (!next) {
39
- hovered.current = false;
40
- pinned.current = false;
41
- } set(next); }, children: [_jsx(Pop.Trigger, { asChild: true, ...hover, ...pin, children: trigger ?? _jsx(Button, { intent: 'secondary', suppressFeedback: true, children: label }) }), _jsx(Pop.Portal, { children: _jsxs(Pop.Content, { ...hover, className: `hig-popover${className ? ` ${className}` : ''}`, "data-tone": tone, sideOffset: 6, collisionPadding: 16, style: style ? { ...themeStyle, ...style } : themeStyle, dir: direction, lang: locale, "data-hig-density": density, "aria-label": trigger ? label : undefined, "data-testid": testID, onOpenAutoFocus: event => { if (hovered.current)
42
- event.preventDefault(); }, children: [children, hideClose ? null : _jsx(Pop.Close, { asChild: true, children: _jsx(Button, { intent: 'ghost', suppressFeedback: true, children: closeLabel ?? messages.close ?? en.close }) })] }) })] });
43
- }
15
+ export { Popover } from './popover.js';
44
16
  export function Tooltip({ content, children }) { const { direction, locale, density } = useHIG(); const themeStyle = useThemeStyle(); return _jsx(Tip.Provider, { children: _jsxs(Tip.Root, { children: [_jsx(Tip.Trigger, { asChild: true, children: children }), _jsx(Tip.Portal, { children: _jsx(Tip.Content, { className: 'hig-popover hig-tooltip', sideOffset: 6, collisionPadding: 16, style: themeStyle, dir: direction, lang: locale, "data-hig-density": density, children: content }) })] }) }); }
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ export interface PopoverProps {
3
+ /** Text of the built-in trigger, a secondary Button. With `trigger`, it names the popover instead (`aria-label` on its content). */
4
+ label: string;
5
+ children?: React.ReactNode;
6
+ /** Close button text and accessible name; defaults to HIGProvider `messages.close`. */
7
+ closeLabel?: string;
8
+ /** Leaves out the Close button, for a popover that holds only information or that the host closes itself. Escape and a press outside still close it. */
9
+ hideClose?: boolean;
10
+ /** Controls whether the popover is open. Omit it, with `defaultOpen`, to let the popover keep its own state. */
11
+ open?: boolean;
12
+ defaultOpen?: boolean;
13
+ /** Called with the next state when the trigger, Close, Escape, a press outside or (with `openOnHover`) the pointer opens or closes it. */
14
+ onOpenChange?: (open: boolean) => void;
15
+ /** The host's own trigger in place of the built-in Button: one element that accepts a ref and spreads its props onto a focusable element, such as a HIG `Button`, `IconButton` or a `<button>`. */
16
+ trigger?: React.ReactElement;
17
+ /** Also opens while a mouse pointer rests on the trigger, and closes shortly after it leaves both the trigger and the popover. Touch and pen keep press to open; keyboard focus is not moved by a hover. */
18
+ openOnHover?: boolean;
19
+ /** `data-testid` of the popover's content. */
20
+ testID?: string;
21
+ /** Tints the popover's surface from a token role: a 12% wash over its fill, a 40% stroke and a soft glow in the role's colour, such as `warning` for a gold badge's explanation. `data-tone` on the content. Without it the surface is neutral. */
22
+ tone?: PopoverTone;
23
+ /** Classes added to the popover's content after `hig-popover`, for a host surface treatment the tones do not cover. */
24
+ className?: string;
25
+ /** Inline style for the popover's content, after the theme's variables, so it can set `--hig-popover-tone` or a host border, background or shadow. */
26
+ style?: React.CSSProperties;
27
+ }
28
+ /** A token role that tints a `Popover`'s surface. */
29
+ export type PopoverTone = 'info' | 'positive' | 'warning' | 'negative';
30
+ export declare function Popover({ label, children, closeLabel, hideClose, open, defaultOpen, onOpenChange, trigger, openOnHover, testID, tone, className, style }: PopoverProps): React.JSX.Element;
@@ -0,0 +1,34 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useEffect, useRef } from 'react';
4
+ import * as en from '@bloxwap/hig/contracts/messages';
5
+ import { useControllable, useHIG, useThemeStyle } from './provider.js';
6
+ import * as Pop from '@radix-ui/react-popover';
7
+ import { Button } from './button.js';
8
+ /** How long the pointer may be off the trigger and the popover before a hover-opened popover closes, so it can cross the gap between them. */
9
+ const hoverCloseDelay = 150;
10
+ export function Popover({ label, children, closeLabel, hideClose, open, defaultOpen = false, onOpenChange, trigger, openOnHover, testID, tone, className, style }) {
11
+ const { messages, direction, locale, density } = useHIG();
12
+ const themeStyle = useThemeStyle();
13
+ const [current, set] = useControllable(open, defaultOpen, onOpenChange, null);
14
+ const timer = useRef(undefined), hovered = useRef(false), pinned = useRef(false);
15
+ useEffect(() => () => clearTimeout(timer.current), []);
16
+ // Hover handlers only for a mouse: a touch's pointerenter comes just before its click, which toggles. A hover opens without moving focus into the popover.
17
+ const hover = openOnHover ? {
18
+ onPointerEnter: (event) => { if (event.pointerType !== 'mouse')
19
+ return; clearTimeout(timer.current); if (!current) {
20
+ hovered.current = true;
21
+ set(true);
22
+ } },
23
+ onPointerLeave: (event) => { if (event.pointerType !== 'mouse' || pinned.current)
24
+ return; clearTimeout(timer.current); timer.current = setTimeout(() => set(false), hoverCloseDelay); },
25
+ } : undefined;
26
+ // A click on the trigger of a hover-opened popover pins it open instead of toggling it shut: the pointer always hovers before it clicks.
27
+ const pin = openOnHover ? { onClick: (event) => { if (!hovered.current)
28
+ return; event.preventDefault(); clearTimeout(timer.current); hovered.current = false; pinned.current = true; } } : undefined;
29
+ return _jsxs(Pop.Root, { open: current, onOpenChange: next => { clearTimeout(timer.current); if (!next) {
30
+ hovered.current = false;
31
+ pinned.current = false;
32
+ } set(next); }, children: [_jsx(Pop.Trigger, { asChild: true, ...hover, ...pin, children: trigger ?? _jsx(Button, { intent: 'secondary', suppressFeedback: true, children: label }) }), _jsx(Pop.Portal, { children: _jsxs(Pop.Content, { ...hover, className: `hig-popover${className ? ` ${className}` : ''}`, "data-tone": tone, sideOffset: 6, collisionPadding: 16, style: style ? { ...themeStyle, ...style } : themeStyle, dir: direction, lang: locale, "data-hig-density": density, "aria-label": trigger ? label : undefined, "data-testid": testID, onOpenAutoFocus: event => { if (hovered.current)
33
+ event.preventDefault(); }, children: [children, hideClose ? null : _jsx(Pop.Close, { asChild: true, children: _jsx(Button, { intent: 'ghost', suppressFeedback: true, children: closeLabel ?? messages.close ?? en.close }) })] }) })] });
34
+ }
@@ -81,23 +81,41 @@ textarea.hig-input { border-radius:var(--hig-radius-xl,14px);resize:vertical; }
81
81
  .hig-link { display:inline-flex;align-items:center;min-height:var(--hig-button);min-width:var(--hig-button);color:var(--hig-action);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere; }
82
82
  .hig-separator { border:0;height:2px;border-radius:9999px;background:var(--hig-fill-raised);width:100%; }
83
83
  .hig-backdrop { position:fixed;inset:0;background:#000b;z-index:40; }
84
+ @media not (prefers-reduced-transparency: reduce) {
85
+ .hig-backdrop { -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px); }
86
+ }
84
87
  /* Centred with physical left: the content carries the provider dir, and inset-inline-start would flip to right:50% in RTL while the translate stays negative. */
85
- .hig-dialog { position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);max-width:min(560px,calc(100vw - 32px));width:100%;max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;padding:24px;background:var(--hig-overlay,#111);box-shadow:0 24px 64px #000a;z-index:41;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere; }
88
+ /* Controls and floating panels share an 8px gutter inside the horizontal safe area. */
89
+ .hig-dialog,.hig-gesture-sheet,.hig-app-modal {
90
+ --hig-panel-left:calc(8px + env(safe-area-inset-left,0px));
91
+ --hig-panel-right:calc(8px + env(safe-area-inset-right,0px));
92
+ }
93
+ .hig-dialog { position:fixed;top:50%;left:calc((100% + var(--hig-panel-left) - var(--hig-panel-right)) / 2);transform:translate(-50%,-50%);max-width:560px;width:calc(100% - var(--hig-panel-left) - var(--hig-panel-right));max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;background:var(--hig-overlay,#111);box-shadow:0 24px 64px #000a;z-index:41;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere; }
94
+ /* A panel's outer curve includes the inset to the capsule at its padded edge. */
95
+ .hig-dialog, .hig-alert, .hig-app-modal {
96
+ --hig-modal-padding: 24px;
97
+ --hig-modal-border: 0px;
98
+ --hig-modal-inner-radius: calc(var(--hig-button) / 2);
99
+ padding: var(--hig-modal-padding);
100
+ border-radius: calc(var(--hig-modal-inner-radius) + var(--hig-modal-padding) + var(--hig-modal-border));
101
+ }
102
+ .hig-dialog, .hig-app-modal { border: 0; }
103
+ .hig-alert { --hig-modal-border: 1px; --hig-modal-padding: var(--hig-space-xl,20px); }
86
104
  .hig-dialog-title { margin:0;font-size:1.25rem;font-weight:600;line-height:1.3; }
87
105
  .hig-dialog-description { margin:0;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
88
106
  .hig-gesture-sheet { position:fixed;z-index:41;display:flex;flex-direction:column;max-height:95dvh;background:var(--hig-overlay,#111);color:var(--hig-text);box-shadow:0 0 64px #000a;outline:none; }
89
- .hig-gesture-sheet[data-vaul-drawer-direction='bottom'] { inset:auto 0 0;border-radius:14px 14px 0 0; }
90
- .hig-gesture-sheet[data-vaul-drawer-direction='top'] { inset:0 0 auto;border-radius:0 0 14px 14px; }
91
- .hig-gesture-sheet[data-vaul-drawer-direction='left'] { inset:0 auto 0 0;width:min(420px,95vw);max-height:none;border-radius:0 14px 14px 0; }
92
- .hig-gesture-sheet[data-vaul-drawer-direction='right'] { inset:0 0 0 auto;width:min(420px,95vw);max-height:none;border-radius:14px 0 0 14px; }
93
- .hig-gesture-sheet[data-hig-content-mode='default'] { overflow:auto;overscroll-behavior:contain;gap:12px;padding:24px; }
94
- .hig-gesture-sheet[data-hig-content-mode='custom'] { padding:0; }
107
+ .hig-gesture-sheet:is([data-vaul-drawer-direction='left'],[data-vaul-drawer-direction='right'])::after { display:none; }
108
+ /* Match the card curve at the sheet edge: 24px card radius plus the 24px content inset. */
109
+ .hig-gesture-sheet[data-vaul-drawer-direction='bottom'] { inset:auto var(--hig-panel-right) 0 var(--hig-panel-left);border-radius:48px 48px 0 0; }
110
+ .hig-gesture-sheet[data-vaul-drawer-direction='top'] { inset:0 var(--hig-panel-right) auto var(--hig-panel-left);border-radius:0 0 14px 14px; }
111
+ .hig-gesture-sheet[data-vaul-drawer-direction='left'] { inset:0 auto 0 var(--hig-panel-left);width:min(420px,95vw,calc(100% - var(--hig-panel-left) - var(--hig-panel-right)));max-height:none;border-radius:0 14px 14px 0; }
112
+ .hig-gesture-sheet[data-vaul-drawer-direction='right'] { inset:0 var(--hig-panel-right) 0 auto;width:min(420px,95vw,calc(100% - var(--hig-panel-left) - var(--hig-panel-right)));max-height:none;border-radius:14px 0 0 14px; }
113
+ :is(.hig-gesture-sheet,.hig-gesture-dynamic)[data-hig-content-mode='default'] { overflow:auto;overscroll-behavior:contain;gap:12px;padding:24px; }
114
+ :is(.hig-gesture-sheet,.hig-gesture-dynamic)[data-hig-content-mode='custom'] { padding:0; }
95
115
  .hig-gesture-sheet[data-hig-dynamic='true'] { overflow:hidden;gap:0;padding:0; }
96
116
  .hig-gesture-views { position:relative;min-width:0; }
97
117
  .hig-gesture-view[data-leaving] { position:absolute;inset-block-start:0;inset-inline:0;pointer-events:none; }
98
118
  .hig-gesture-dynamic { display:flex;flex-direction:column;flex:none;min-height:0;max-height:inherit; }
99
- .hig-gesture-dynamic[data-hig-content-mode='default'] { overflow:auto;overscroll-behavior:contain;gap:12px;padding:24px; }
100
- .hig-gesture-dynamic[data-hig-content-mode='custom'] { padding:0; }
101
119
  /* A leaving view is out of flow and can be taller than the view replacing it. It must not make the sheet scrollable for the length of the swap: the content-sized sheet lets it show through to its own animating edge, and no scrollbar is drawn. */
102
120
  .hig-gesture-dynamic:has(.hig-gesture-view[data-leaving]) { overflow:visible; }
103
121
  :is(.hig-gesture-sheet,.hig-gesture-dynamic):has(.hig-gesture-view[data-leaving]) { scrollbar-width:none; }
@@ -108,7 +126,12 @@ textarea.hig-input { border-radius:var(--hig-radius-xl,14px);resize:vertical; }
108
126
  .hig-gesture-sheet:is([data-vaul-drawer-direction='left'],[data-vaul-drawer-direction='right'])[data-hig-content-mode='default']:not([data-hig-dynamic]) { padding-top:calc(24px + env(safe-area-inset-top,0px));padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); }
109
127
  .hig-gesture-sheet[data-vaul-drawer-direction='left'][data-hig-content-mode='default']:not([data-hig-dynamic]) { padding-left:calc(24px + env(safe-area-inset-left,0px)); }
110
128
  .hig-gesture-sheet[data-vaul-drawer-direction='right'][data-hig-content-mode='default']:not([data-hig-dynamic]) { padding-right:calc(24px + env(safe-area-inset-right,0px)); }
129
+ .hig-detent-bar { position:sticky;top:0;z-index:3;display:flex;flex:none;justify-content:center;pointer-events:none; }
130
+ .hig-pin :is(.hig-screen-header,.hig-swap-view-header) { position:sticky;top:22px;z-index:2;--hig-blur-top:-46px; }
131
+ .hig-detent-bar::after,.hig-pin :is(.hig-screen-header,.hig-swap-view-header)::after,.hig-app-modal-live-activity .hig-dialog-title::after { content:"";position:absolute;inset:var(--hig-blur-top,-24px) var(--hig-blur-inline,-24px) -12px;z-index:-1;pointer-events:none;background:#111b;backdrop-filter:blur(12px);mask-image:linear-gradient(#000 calc(100% - 16px),transparent); }
132
+ .hig-pin:has(.hig-screen-header,.hig-swap-view-header) .hig-detent-bar::after { content:none; }
111
133
  .hig-gesture-handle[data-vaul-handle] { flex:none;align-self:center;width:100px;height:6px;border-radius:9999px;opacity:1;background:var(--hig-action);box-shadow:0 0 12px color-mix(in srgb,var(--hig-action) 60%,transparent),0 12px 48px 12px color-mix(in srgb,var(--hig-action) 12%,transparent);margin-block:4px 12px; }
134
+ .hig-detent-bar > [data-vaul-handle] { pointer-events:auto;margin-block-end:0; }
112
135
  .hig-gesture-sheet[data-hig-motion='reduced'],.hig-gesture-backdrop[data-hig-motion='reduced'] { animation:none!important;transition:none!important; }
113
136
  .hig-popover { max-width:min(360px,calc(100vw - 32px));max-height:var(--radix-popover-content-available-height,calc(100dvh - 32px));overflow-y:auto;overscroll-behavior:contain;background:var(--hig-nested);color:var(--hig-text);padding:12px;border:1px solid transparent;border-radius:var(--hig-radius-xl,14px);box-shadow:0 8px 24px #0006;line-height:1.5;overflow-wrap:anywhere;z-index:50; }
114
137
  .hig-menu { min-width:min(12rem,calc(100vw - 32px));max-height:var(--radix-dropdown-menu-content-available-height,calc(100dvh - 32px));padding:4px; }
@@ -202,7 +225,8 @@ textarea.hig-input { border-radius:var(--hig-radius-xl,14px);resize:vertical; }
202
225
  .hig-market-text { display:flex;flex-direction:column;align-items:flex-start;min-width:0;text-align:start; }
203
226
  .hig-market-detail { font-size:.875rem;line-height:1.43;font-weight:400;color:var(--hig-muted); }
204
227
  .hig-market-trailing { display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0; }
205
- .hig-market-check,.hig-asset-row-check,.hig-list-row-check,.hig-language-check { flex:none;color:var(--hig-text); }
228
+ .hig-market-check,.hig-asset-row-check,.hig-list-row-check { flex:none;color:var(--hig-text); }
229
+ .hig-language-check { flex:none;color:var(--hig-positive); }
206
230
  .hig-market-row[data-active] { border-radius:var(--hig-radius-xl,14px);background:var(--hig-fill); }
207
231
  .hig-market-row[data-disabled] :is(.hig-market-name,.hig-market-price,.hig-market-change,.hig-market-volume,.hig-market-trailing,.hig-market-icon) { opacity:.5; }
208
232
  .hig-badge { display:inline-flex;align-items:center;gap:4px;width:fit-content;max-width:100%;min-width:0;padding:4px 10px;border-radius:9999px;background:var(--hig-fill);color:var(--hig-text);line-height:1.5;vertical-align:middle;overflow-wrap:anywhere; }
@@ -522,14 +546,14 @@ button.hig-swap-receive:active { opacity:.8; }
522
546
  .hig-swap-view[data-direction='pop'],[dir='rtl'] .hig-swap-view[data-direction='push'] { --hig-swap-from:-24px; }
523
547
  @keyframes hig-swap-push { from { opacity:0;transform:translateX(var(--hig-swap-from)); } }
524
548
  /* Every block's column: the swap views, the blocks and the AssetsBlock list. */
525
- .hig-swap-picker,.hig-swap-settings-view,.hig-account-block,.hig-token-card,.hig-manage-position-block,.hig-settings-block,.hig-position-block,.hig-reward-block,.hig-trade-history-list,.hig-trade-detail,.hig-language-block,.hig-assets-block,.hig-assets-list,.hig-confirm,.hig-preset-picker,.hig-explainer { display:flex;flex-direction:column;gap:16px;min-width:0; }
549
+ .hig-swap-picker,.hig-swap-settings-view,.hig-account-block,.hig-token-card,.hig-manage-position-block,.hig-settings-block,.hig-position-block,.hig-reward-block,.hig-trade-history-list,.hig-trade-detail,.hig-language-block,.hig-assets-block,.hig-assets-list,.hig-confirm,.hig-preset-picker,.hig-modal-body { display:flex;flex-direction:column;gap:16px;min-width:0; }
526
550
  .hig-swap-view-header { display:flex;align-items:center;gap:4px;min-width:0;margin-inline-start:-8px; }
527
551
  .hig-swap-view-title { margin:0;min-width:0;font-size:1.5rem;line-height:1.25;font-weight:700;overflow-wrap:anywhere;outline:none; }
528
552
  .hig-swap-back { appearance:none;flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hig-muted);cursor:pointer; }
529
553
  .hig-swap-back:active { background:var(--hig-surface);color:var(--hig-text); }
530
554
  [dir='rtl'] .hig-swap-back > svg,[dir='rtl'] .hig-swap-setting-value > svg { transform:scaleX(-1); }
531
555
  /* In a gesture sheet the panel fills the sheet width and the sheet follows the height of the view on show. */
532
- .hig-gesture-sheet.hig-swap-sheet { max-width:30rem;margin-inline:auto;border-radius:24px 24px 0 0; }
556
+ .hig-gesture-sheet.hig-swap-sheet { max-width:30rem;margin-inline:auto;border-radius:36px 36px 0 0; }
533
557
  .hig-swap-sheet .hig-swap-panel { max-width:none;padding:4px 12px calc(16px + env(safe-area-inset-bottom,0px)); }
534
558
  /* From and To pickers: a wallet or address row, the search, the chain filter and the token list, 16 apart. */
535
559
  .hig-picker { display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;color:var(--hig-text);line-height:1.5; }
@@ -672,6 +696,26 @@ button.hig-asset-row:disabled:active { background:var(--hig-fill); }
672
696
  .hig-setting-switch[data-locked] { cursor:default; }
673
697
  .hig-setting-switch-accessory { display:inline-flex;align-items:center;margin-inline-start:8px;vertical-align:middle; }
674
698
  .hig-setting-hint { margin:0;padding-inline:20px;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
699
+ .hig-login-block { display:grid;gap:16px; }
700
+ .hig-login-analytics { display:flex;align-items:center; }
701
+ .hig-login-analytics > .hig-switch { margin-inline-start:auto; }
702
+ .hig-login-providers,.hig-login-extra:not([hidden]) { display:grid;gap:8px; }
703
+ .hig-login-provider { display:grid;grid-template-columns:1fr auto 1fr;padding-inline:10px; }
704
+ .hig-login-provider-label { grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;overflow-wrap:anywhere; }
705
+ .hig-login-provider-label > span { display:flex;flex:none; }
706
+ .hig-login-provider > .hig-badge { grid-column:3;justify-self:end;padding:2px 6px;font-size:.6875rem;background:color-mix(in srgb,currentColor 12%,transparent);color:inherit; }
707
+ .hig-login-block > footer { display:flex;flex-wrap:wrap;justify-content:center;gap:16px; }
708
+ .hig-login-block > footer a { color:var(--hig-muted);font-size:.875rem;text-decoration:underline; }
709
+ .hig-deposit-qr { display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--hig-background); }
710
+ .hig-deposit-icon { display:block;width:44px;height:44px;background:center / contain no-repeat; }
711
+ .hig-deposit-icon[data-method="apple-pay"] { background-image:url("../../tokens/assets/onramps/apple-pay.svg"); }
712
+ .hig-deposit-icon[data-method="cash-app"] { background-image:url("../../tokens/assets/onramps/cashapp.svg"); }
713
+ .hig-deposit-icon[data-method="exchange"] { background-image:url("../../tokens/assets/onramps/exchange.svg"); }
714
+ .hig-deposit-icon[data-method="crypto"] { background-image:url("../../tokens/assets/onramps/crypto.svg"); }
715
+ .hig-deposit-icon[data-method="bank"] { background-image:url("../../tokens/assets/onramps/bank.svg"); }
716
+ .hig-deposit-icon[data-method="blink"] { background-image:url("../../tokens/assets/onramps/blink.svg"); }
717
+ .hig-deposit-block { display:grid;gap:12px; }
718
+ .hig-deposit-block .hig-settings-description { text-align:center; }
675
719
  .hig-settings-description,.hig-reward-status { margin:0;padding-inline:4px;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
676
720
  .hig-notifications-group { display:flex;flex-direction:column;gap:8px;margin-block-start:8px; }
677
721
  .hig-notifications-action { margin-block-start:8px; }
@@ -716,9 +760,9 @@ button.hig-asset-row:disabled:active { background:var(--hig-fill); }
716
760
  .hig-reward-promo,.hig-target-prices,.hig-bar-mark { display:flex;flex-direction:column;gap:12px; }
717
761
  .hig-reward-promo > p,.hig-reward-footnote { margin:0; }
718
762
  .hig-reward-promo-top,.hig-reward-columns { display:flex;align-items:center;justify-content:space-between;gap:12px; }
719
- .hig-reward-eyebrow,.hig-reward-columns,.hig-screen-eyebrow,.hig-explainer-eyebrow { color:var(--hig-muted);font-size:.75rem;line-height:1.33;letter-spacing:.12em;text-transform:uppercase; }
763
+ .hig-reward-eyebrow,.hig-reward-columns,.hig-screen-eyebrow,.hig-modal-eyebrow { color:var(--hig-muted);font-size:.75rem;line-height:1.33;letter-spacing:.12em;text-transform:uppercase; }
720
764
  .hig-reward-eyebrow,.hig-screen-heading { min-width:0; }
721
- .hig-screen-eyebrow,.hig-explainer-eyebrow { margin:0; }
765
+ .hig-screen-eyebrow,.hig-modal-eyebrow { margin:0; }
722
766
  .hig-screen-eyebrow { text-align:center; }
723
767
  .hig-reward-rules { appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;min-height:var(--hig-button);min-width:var(--hig-button);margin-block:-12px;padding:0;border:0;background:none;color:var(--hig-muted);font:inherit;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent; }
724
768
  .hig-reward-rules:active { color:var(--hig-text); }
@@ -979,31 +1023,29 @@ button.hig-list-row:active,a.hig-list-row:active { background:var(--hig-fill-rai
979
1023
  .hig-confirm-points { display:flex;flex-direction:column;gap:8px;padding-inline-start:20px;list-style:disc;color:var(--hig-muted);line-height:1.5; }
980
1024
  .hig-confirm-tertiary { margin-top:-8px; }
981
1025
  .hig-confirm-tertiary[data-tone='destructive']:not(:disabled) { color:var(--hig-negative); }
982
- /* ExplainerBlock: sections on the neutral fill, or tinted 10% in their tone with a 15% disc and the heading in the tone. */
983
- .hig-explainer-sections,.hig-explainer-section > div { display:flex;flex-direction:column;gap:12px;min-width:0; }
984
- .hig-explainer-section > div { flex:1;gap:4px; }
985
- .hig-explainer-section { --hig-explainer-tone:var(--hig-text);display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--hig-fill); }
1026
+ .hig-modal-sections,.hig-modal-section > div { display:flex;flex-direction:column;gap:12px;min-width:0; }
1027
+ .hig-modal-section > div { flex:1;gap:4px; }
1028
+ .hig-modal-section { --hig-modal-tone:var(--hig-text);display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--hig-fill); }
986
1029
  /* Icon rows: 20px disc radius + 12px inset. */
987
- .hig-explainer-section:has(> .hig-explainer-icon) { border-radius:32px;align-items:flex-start; }
988
- .hig-explainer-section[data-tone] { background:color-mix(in srgb,var(--hig-explainer-tone) 10%,transparent); }
989
- .hig-explainer-section[data-tone='up'] { --hig-explainer-tone:var(--hig-up,var(--hig-buy)); }
990
- .hig-explainer-section[data-tone='down'] { --hig-explainer-tone:var(--hig-down,var(--hig-sell)); }
991
- .hig-explainer-section[data-tone='positive'] { --hig-explainer-tone:var(--hig-positive); }
992
- .hig-explainer-section[data-tone='negative'] { --hig-explainer-tone:var(--hig-negative); }
993
- .hig-explainer-section[data-tone='warning'] { --hig-explainer-tone:var(--hig-warning); }
994
- .hig-explainer-icon { flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--hig-explainer-tone);background:color-mix(in srgb,var(--hig-explainer-tone) 15%,transparent); }
995
- .hig-explainer-section h3 { margin:0;font-size:1rem;line-height:1.5;font-weight:700;color:var(--hig-explainer-tone); }
996
- .hig-explainer-section h3 > span { color:var(--hig-muted); }
997
- .hig-explainer-media { display:flex;flex-direction:column;align-items:center;gap:8px;margin-block:12px; }
998
- .hig-explainer-text { margin:0;color:var(--hig-muted);font-size:.875rem;line-height:1.43; }
999
- .hig-explainer-steps { display:flex;flex-direction:column;gap:8px;padding-inline-start:20px; }
1030
+ .hig-modal-section:has(> .hig-modal-icon) { border-radius:32px;align-items:flex-start; }
1031
+ .hig-modal-section[data-tone] { background:color-mix(in srgb,var(--hig-modal-tone) 10%,transparent); }
1032
+ .hig-modal-section[data-tone='up'] { --hig-modal-tone:var(--hig-up,var(--hig-buy)); }
1033
+ .hig-modal-section[data-tone='down'] { --hig-modal-tone:var(--hig-down,var(--hig-sell)); }
1034
+ .hig-modal-section[data-tone='positive'] { --hig-modal-tone:var(--hig-positive); }
1035
+ .hig-modal-section[data-tone='negative'] { --hig-modal-tone:var(--hig-negative); }
1036
+ .hig-modal-section[data-tone='warning'] { --hig-modal-tone:var(--hig-warning); }
1037
+ .hig-modal-icon { flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--hig-modal-tone);background:color-mix(in srgb,var(--hig-modal-tone) 15%,transparent); }
1038
+ .hig-modal-section h3 { margin:0;font-size:1rem;line-height:1.5;font-weight:700;color:var(--hig-modal-tone); }
1039
+ .hig-modal-section h3 > span { color:var(--hig-muted); }
1040
+ .hig-modal-media { display:flex;flex-direction:column;align-items:center;gap:8px;margin-block:12px; }
1041
+ .hig-modal-text { margin:0;color:var(--hig-muted);font-size:.875rem;line-height:1.43; }
1042
+ .hig-modal-steps { display:flex;flex-direction:column;gap:8px;padding-inline-start:20px; }
1000
1043
  .hig-popover[data-tone] { background:color-mix(in srgb,var(--hig-popover-tone) 12%,var(--hig-nested));border-color:color-mix(in srgb,var(--hig-popover-tone) 40%,transparent);box-shadow:0 8px 24px #0006,0 0 24px color-mix(in srgb,var(--hig-popover-tone) 25%,transparent); }
1001
1044
  .hig-popover[data-tone='info'] { --hig-popover-tone:var(--hig-info); }
1002
1045
  .hig-popover[data-tone='positive'] { --hig-popover-tone:var(--hig-positive); }
1003
1046
  .hig-popover[data-tone='warning'] { --hig-popover-tone:var(--hig-warning); }
1004
1047
  .hig-popover[data-tone='negative'] { --hig-popover-tone:var(--hig-negative); }
1005
- .hig-explainer-hero { display:flex;flex-direction:column;align-items:center; }
1006
- .hig-explainer-action-icon { display:inline-flex; }
1048
+ .hig-modal-hero { display:flex;flex-direction:column;align-items:center; }
1007
1049
  .hig-assets-status { flex:none;padding:2px 10px;font:600 .75rem/1.33 var(--hig-font-mono,'Bloxwap Mono',ui-monospace,monospace);letter-spacing:.08em; }
1008
1050
  .hig-assets-status[data-countdown] { color:var(--hig-muted);letter-spacing:.02em;font-variant-numeric:tabular-nums; }
1009
1051
  .hig-assets-status .hig-number { font-family:inherit; }
@@ -1037,3 +1079,114 @@ span.hig-press-decoration[data-kind] > * { pointer-events:auto; }
1037
1079
  @media(prefers-reduced-motion:reduce) { .hig-accordion::details-content { transition:none; } .hig-progress progress:not([value])::-webkit-progress-bar { animation:none; } }
1038
1080
  [data-hig-motion='reduced'] .hig-accordion::details-content { transition:none; }
1039
1081
  [data-hig-motion='reduced'] .hig-progress progress:not([value])::-webkit-progress-bar { animation:none; }
1082
+
1083
+ .hig-app-modal {
1084
+ box-sizing: border-box;
1085
+ width: calc(100% - var(--hig-panel-left) - var(--hig-panel-right));
1086
+ max-width: 28rem;
1087
+ display: flex;
1088
+ flex-direction: column;
1089
+ gap: 16px;
1090
+ background: var(--hig-overlay,#111);
1091
+ box-shadow: 0 24px 50px #0006;
1092
+ }
1093
+ .hig-app-modal-default, .hig-app-modal-approval, .hig-app-modal-trend, .hig-app-modal-swing {
1094
+ background: radial-gradient(140% 80% at 50% -10%, color-mix(in srgb,var(--hig-action) 14%,transparent),transparent 60%),var(--hig-overlay,#111);
1095
+ }
1096
+ .hig-app-modal-close {
1097
+ position: absolute;
1098
+ inset-block-start: 12px;
1099
+ inset-inline-end: 12px;
1100
+ width: 44px;
1101
+ height: 44px;
1102
+ border-radius: 50%;
1103
+ border: 0;
1104
+ background: transparent;
1105
+ color: var(--hig-muted);
1106
+ font-size: 24px;
1107
+ cursor: pointer;
1108
+ }
1109
+ .hig-app-modal .hig-dialog-title { padding-inline-end: 40px; }
1110
+ :is(.hig-app-modal-trend,.hig-app-modal-swing) .hig-modal-eyebrow, .hig-app-modal-approval .hig-dialog-title, .hig-app-modal-default .hig-dialog-title {
1111
+ font-family: var(--hig-font-mono,monospace);
1112
+ font-size: 11px;
1113
+ font-weight: 800;
1114
+ letter-spacing: .1em;
1115
+ text-transform: uppercase;
1116
+ }
1117
+ :is(.hig-app-modal-trend,.hig-app-modal-swing) .hig-modal-eyebrow, .hig-app-modal-default .hig-dialog-title, .hig-app-modal-approval .hig-dialog-title, .hig-app-modal em,
1118
+ .hig-app-modal-zero, .hig-app-modal-discount { color: var(--hig-action); }
1119
+ .hig-app-modal .hig-modal-hero:has(h2), .hig-app-modal .hig-modal-hero:has(.hig-app-modal-discount) { align-items: flex-start; }
1120
+ .hig-app-modal .hig-modal-hero h2 { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.05; }
1121
+ .hig-app-modal-default .hig-modal-hero h2 { font-size: 40px; }
1122
+ .hig-app-modal em { font-style: normal; }
1123
+ .hig-app-modal-zero { font-size: 120px; line-height: 1; font-weight: 900; text-shadow: 0 0 32px color-mix(in srgb,var(--hig-action) 50%,transparent); }
1124
+ .hig-app-modal-zero, .hig-app-modal-discount { letter-spacing: -.045em; }
1125
+ .hig-app-modal-discount { font-size: 64px; font-weight: 900; line-height: 1; }
1126
+ .hig-app-modal:has(.hig-app-modal-zero) .hig-modal-body > .hig-modal-text { text-align: center; }
1127
+ .hig-app-modal-latency > div { display: flex; gap: 12px; }
1128
+ .hig-app-modal-latency > div { flex-wrap: wrap; justify-content: space-between; margin-top: 12px; }
1129
+ .hig-app-modal-latency b { color: var(--hig-down); }
1130
+ .hig-app-modal-latency i { width: 100%; height: 6px; border-radius: 4px; background: currentColor; color: var(--hig-down); }
1131
+ .hig-app-modal-latency > div + div :is(b,i) { color: var(--hig-action); }
1132
+ .hig-app-modal-latency > div + div i { margin-inline-end: 88%; }
1133
+ .hig-app-modal-donut {
1134
+ display: grid; place-items: center; width: min(200px,100%); aspect-ratio: 1; border-radius: 50%;
1135
+ background: conic-gradient(var(--hig-action) 1deg,var(--hig-border) 1deg);
1136
+ }
1137
+ .hig-app-modal-donut strong { display: grid; place-content: center; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--hig-surface); text-align: center; font-size: 32px; }
1138
+ .hig-app-modal-donut small { font: 10px monospace; text-transform: uppercase; }
1139
+ .hig-app-modal-live-activity { max-width:300px; --hig-modal-padding: 12px; gap: 8px; }
1140
+ .hig-live-activity-markets {
1141
+ display: flex;
1142
+ flex-direction: column;
1143
+ gap: 4px;
1144
+ min-height: 0;
1145
+ max-height: min(20rem, 60dvh);
1146
+ overflow-y: auto;
1147
+ overscroll-behavior-y: contain;
1148
+ margin: 0;
1149
+ margin-block-start: -8px;
1150
+ padding: 12px 4px 4px;
1151
+ list-style: none;
1152
+ }
1153
+ .hig-live-activity-markets > li { flex: none; }
1154
+ .hig-app-modal-live-activity > :is(.hig-dialog-title, .hig-button) { flex: none; }
1155
+ .hig-app-modal-live-activity .hig-dialog-title { position: relative; z-index: 1; --hig-blur-top: 0; --hig-blur-inline: 0; padding: 0; text-align: center; font-size: 16px; }
1156
+
1157
+ .hig-app-modal-approval .hig-confirm-actions { display: flex; flex-direction: column-reverse; align-items: center; }
1158
+ .hig-app-modal-approval .hig-confirm-actions > :last-child { width: 100%; }
1159
+ .hig-app-modal-default .hig-modal-steps { list-style: none; padding: 0; text-align: center; }
1160
+ .hig-app-modal-approval .hig-modal-section:has(.hig-app-modal-donut) { padding: 0; background: transparent; }
1161
+ .hig-app-modal-approval .hig-modal-media:has(.hig-app-modal-donut) { margin: 0; }
1162
+ .hig-app-modal-metrics {
1163
+ display: grid;
1164
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1165
+ width: 100%;
1166
+ margin: 12px 0 0;
1167
+ padding-block: 12px;
1168
+ background: var(--hig-nested);
1169
+ }
1170
+ :is(.hig-dialog,.hig-app-modal) :is(.hig-app-modal-metrics, .hig-modal-section, .hig-market-row) { border-radius: var(--hig-modal-inner-radius); }
1171
+ .hig-app-modal-metrics > div { padding-inline: 16px; }
1172
+ .hig-app-modal-metrics > div + div { border-inline-start: 1px solid var(--hig-border); }
1173
+ .hig-app-modal-metrics dt { color: var(--hig-muted); font-size: .8125rem; }
1174
+ .hig-app-modal-metrics dd { margin: 2px 0 0; color: var(--hig-text); font-size: 1.25rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
1175
+ .hig-app-modal-metrics > div + div dd { color: var(--hig-action); }
1176
+ .hig-app-modal-approval:has(.hig-app-modal-donut) .hig-modal-text[data-caveat] { text-align: center; }
1177
+
1178
+ .hig-app-modal-savings > p { margin: 0; font-size: .8125rem; color: var(--hig-muted); }
1179
+ .hig-app-modal-savings .hig-app-modal-metrics { margin-top: 8px; }
1180
+ .hig-app-modal-savings dd { color: var(--hig-action); }
1181
+
1182
+ .hig-app-modal-tournament .hig-app-modal-metrics { margin-block-start: 0; }
1183
+ .hig-app-modal-tournament .hig-field { gap: 6px; }
1184
+ .hig-app-modal-tournament .hig-input { background: var(--hig-nested); }
1185
+ .hig-app-modal-tournament .hig-field p { font-size: .8125rem; }
1186
+ .hig-swing-sample { display:flex;align-items:center;gap:12px;width:100%;max-width:24rem;box-sizing:border-box;padding:8px 8px 8px 16px;border:2px solid var(--hig-up,var(--hig-buy));border-radius:999px;background:var(--hig-background);box-shadow:0 0 20px color-mix(in srgb,var(--hig-up,var(--hig-buy)) 25%,transparent); }
1187
+ .hig-swing-bars { flex:none;display:flex;align-items:flex-end;gap:2px;height:24px; }
1188
+ .hig-swing-bars i { width:3px;border-radius:2px;background:var(--hig-up,var(--hig-buy)); }
1189
+ .hig-swing-bars i:last-child { background:var(--hig-muted); }
1190
+ .hig-swing-sample b,.hig-swing-caption { color:var(--hig-muted); }
1191
+ .hig-swing-direction { margin-inline-start:auto;padding:6px 12px;border-radius:999px;background:color-mix(in srgb,var(--hig-up,var(--hig-buy)) 15%,transparent);color:var(--hig-up,var(--hig-buy));font-size:14px;font-weight:800;white-space:nowrap; }
1192
+ .hig-swing-caption { font-size:12px; }
package/tokens/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @bloxwap/hig/tokens
2
2
 
3
- Version 0.8.1, an entry of `@bloxwap/hig`. See the HIG architecture and platform limitations before adoption.
3
+ Version 0.9.1, an entry of `@bloxwap/hig`. See the HIG architecture and platform limitations before adoption.
4
4
 
5
5
  `resolvePrimaryColor('#ff0000')` resolves a custom brand's `action`, `focus`, and
6
6
  `onAction` roles. Input is opaque sRGB hex (`#RGB` or `#RRGGBB`); the foreground
@@ -0,0 +1,33 @@
1
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2664_127)">
3
+ <rect width="40" height="40" rx="12" fill="#1B1B1B" style="fill:#1B1B1B;fill:color(display-p3 0.1056 0.1056 0.1056);fill-opacity:1;"/>
4
+ <rect x="0.125" y="0.125" width="39.75" height="39.75" rx="11.875" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.25"/>
5
+ <path d="M9.84633 15.6938C9.47133 16.1375 8.87133 16.4875 8.27133 16.4375C8.19633 15.8375 8.49008 15.2 8.83383 14.8062C9.20883 14.35 9.86508 14.025 10.3963 14C10.4588 14.625 10.2151 15.2375 9.84633 15.6938ZM10.3901 16.5563C9.52133 16.5063 8.77758 17.05 8.36508 17.05C7.94633 17.05 7.31508 16.5812 6.62758 16.5938C5.73383 16.6063 4.90258 17.1125 4.44633 17.9188C3.50883 19.5312 4.20258 21.9187 5.10883 23.2312C5.55258 23.8812 6.08383 24.5938 6.78383 24.5688C7.44633 24.5438 7.70883 24.1375 8.50883 24.1375C9.31508 24.1375 9.54633 24.5687 10.2463 24.5562C10.9713 24.5437 11.4276 23.9062 11.8713 23.2563C12.3776 22.5188 12.5838 21.8 12.5963 21.7625C12.5838 21.75 11.1963 21.2188 11.1838 19.6188C11.1713 18.2812 12.2776 17.6437 12.3276 17.6063C11.7026 16.6813 10.7276 16.5813 10.3901 16.5563ZM15.4088 14.7437V24.4875H16.9213V21.1562H19.0151C20.9276 21.1562 22.2713 19.8438 22.2713 17.9437C22.2713 16.0437 20.9526 14.7437 19.0651 14.7437H15.4088ZM16.9213 16.0187H18.6651C19.9776 16.0187 20.7276 16.7188 20.7276 17.95C20.7276 19.1813 19.9776 19.8875 18.6588 19.8875H16.9213V16.0187ZM25.0338 24.5625C25.9838 24.5625 26.8651 24.0813 27.2651 23.3188H27.2963V24.4875H28.6963V19.6375C28.6963 18.2312 27.5713 17.325 25.8401 17.325C24.2338 17.325 23.0463 18.2437 23.0026 19.5062H24.3651C24.4776 18.9062 25.0338 18.5125 25.7963 18.5125C26.7213 18.5125 27.2401 18.9438 27.2401 19.7375V20.275L25.3526 20.3875C23.5963 20.4937 22.6463 21.2125 22.6463 22.4625C22.6463 23.725 23.6276 24.5625 25.0338 24.5625ZM25.4401 23.4062C24.6338 23.4062 24.1213 23.0188 24.1213 22.425C24.1213 21.8125 24.6151 21.4563 25.5588 21.4L27.2401 21.2937V21.8438C27.2401 22.7563 26.4651 23.4062 25.4401 23.4062ZM30.5651 27.1375C32.0401 27.1375 32.7338 26.575 33.3401 24.8687L35.9963 17.4188H34.4588L32.6776 23.175H32.6463L30.8651 17.4188H29.2838L31.8463 24.5125L31.7088 24.9438C31.4776 25.675 31.1026 25.9563 30.4338 25.9563C30.3151 25.9563 30.0838 25.9437 29.9901 25.9312V27.1C30.0776 27.125 30.4526 27.1375 30.5651 27.1375Z" fill="white" style="fill:white;fill-opacity:1;"/>
6
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
7
+ <rect width="40" height="40" rx="12" fill="url(#paint0_linear_2664_127)"/>
8
+ </g>
9
+ </g>
10
+ <defs>
11
+ <linearGradient id="paint0_linear_2664_127" x1="20" y1="0" x2="20" y2="40" gradientUnits="userSpaceOnUse">
12
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
13
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
14
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
15
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
16
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
17
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
18
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
19
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
20
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
21
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
22
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
23
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
24
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
25
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
26
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
27
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
28
+ </linearGradient>
29
+ <clipPath id="clip0_2664_127">
30
+ <rect width="40" height="40" fill="white" style="fill:white;fill-opacity:1;"/>
31
+ </clipPath>
32
+ </defs>
33
+ </svg>
@@ -0,0 +1,98 @@
1
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2802_2728)">
3
+ <mask id="mask0_2802_2728" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20">
4
+ <rect width="20" height="20" rx="6" fill="#1B1B1B" style="fill:#1B1B1B;fill:color(display-p3 0.1056 0.1056 0.1056);fill-opacity:1;"/>
5
+ </mask>
6
+ <g mask="url(#mask0_2802_2728)">
7
+ <path d="M0 0H20V20H0V0Z" fill="#EEEEEE" style="fill:#EEEEEE;fill:color(display-p3 0.9333 0.9333 0.9333);fill-opacity:1;"/>
8
+ <path d="M0 4.78125V2.17578H20V4.78125H0ZM0 10V7.39062H20V10H0ZM0 15.2187V12.6094H20V15.2187H0ZM0 20H20V17.8242H0V20Z" fill="#D80027" style="fill:#D80027;fill:color(display-p3 0.8471 0.0000 0.1529);fill-opacity:1;"/>
9
+ <path d="M0 0H10V10H0V0Z" fill="#0052B4" style="fill:#0052B4;fill:color(display-p3 0.0000 0.3216 0.7059);fill-opacity:1;"/>
10
+ <path d="M2.08594 7.78516H3.17969L2.29297 8.42578L2.63281 9.46484L1.75 8.82422L0.867188 9.46484L1.20703 8.42578L0.324219 7.78516H1.41406L1.75 6.75L2.08594 7.78516ZM5.33594 7.78516H6.42969L5.54297 8.42578L5.88281 9.46484L5 8.82422L4.11719 9.46484L4.45312 8.42578L3.57422 7.78516H4.66406L5 6.75L5.33594 7.78516ZM8.58594 7.78516H9.67969L8.78906 8.42578L9.12891 9.46484L8.24609 8.82422L7.36328 9.46484L7.70312 8.42578L6.82031 7.78516H7.91016L8.24609 6.75L8.58594 7.78516ZM2.08594 4.53516H3.17969L2.29297 5.17578L2.63281 6.21484L1.75 5.57422L0.867188 6.21094L1.20703 5.17187L0.324219 4.53125H1.41406L1.75 3.49609L2.08594 4.53516ZM5.33594 4.53516H6.42969L5.54297 5.17578L5.88281 6.21484L5 5.57422L4.11719 6.21484L4.45312 5.17578L3.57422 4.53516H4.66406L5 3.5L5.33594 4.53516ZM8.58594 4.53516H9.67969L8.78906 5.17578L9.12891 6.21484L8.24609 5.57422L7.36328 6.21484L7.70312 5.17578L6.82031 4.53516H7.91016L8.24609 3.5L8.58594 4.53516ZM2.08594 1.28906H3.17969L2.28906 1.92578L2.63281 2.96875L1.75 2.32422L0.867188 2.96484L1.21094 1.92578L0.324219 1.28906H1.41406L1.75 0.253906L2.08594 1.28906ZM5.33594 1.28906H6.42969L5.54297 1.92969L5.88281 2.96875L5 2.32422L4.11719 2.96484L4.45312 1.92578L3.57812 1.28906H4.66797L5 0.25L5.33594 1.28906ZM8.58594 1.28906H9.67969L8.78906 1.92578L9.12891 2.96484L8.24609 2.32422L7.36328 2.96484L7.70312 1.92578L6.82422 1.28906H7.91406L8.25 0.253906L8.58594 1.28906Z" fill="#EEEEEE" style="fill:#EEEEEE;fill:color(display-p3 0.9333 0.9333 0.9333);fill-opacity:1;"/>
11
+ </g>
12
+ <rect x="0.0625" y="0.0625" width="19.875" height="19.875" rx="5.9375" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.125"/>
13
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
14
+ <rect width="20" height="20" rx="6" fill="url(#paint0_linear_2802_2728)"/>
15
+ </g>
16
+ <mask id="mask1_2802_2728" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="20" y="0" width="20" height="20">
17
+ <rect x="20" width="20" height="20" rx="6" fill="#1B1B1B" style="fill:#1B1B1B;fill:color(display-p3 0.1056 0.1056 0.1056);fill-opacity:1;"/>
18
+ </mask>
19
+ <g mask="url(#mask1_2802_2728)">
20
+ <path d="M25 20V0H35V20H25Z" fill="#EEEEEE" style="fill:#EEEEEE;fill:color(display-p3 0.9333 0.9333 0.9333);fill-opacity:1;"/>
21
+ <path d="M20 20V0H25.625V20H20ZM34.375 20V0H40V20H34.375ZM31.7383 11.3047L33.4766 10.4297L32.6094 10V9.12891L30.8711 10L31.7383 8.26172H30.8711L30 6.95312L29.1289 8.25781H28.2617L29.1289 9.99609L27.3906 9.125V10L26.5234 10.4336L28.2617 11.3047L27.8242 12.1758H29.5703V13.4766H30.4297V12.1758H32.1719L31.7383 11.3047Z" fill="#D80027" style="fill:#D80027;fill:color(display-p3 0.8471 0.0000 0.1529);fill-opacity:1;"/>
22
+ </g>
23
+ <rect x="20.0625" y="0.0625" width="19.875" height="19.875" rx="5.9375" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.125"/>
24
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
25
+ <rect x="20" width="20" height="20" rx="6" fill="url(#paint1_linear_2802_2728)"/>
26
+ </g>
27
+ <mask id="mask2_2802_2728" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="20" width="20" height="20">
28
+ <rect y="20" width="20" height="20" rx="6" fill="#0052B4" style="fill:#0052B4;fill:color(display-p3 0.0000 0.3216 0.7059);fill-opacity:1;"/>
29
+ </mask>
30
+ <g mask="url(#mask2_2802_2728)">
31
+ <path d="M0 20H20V40H0V20Z" fill="#0052B4" style="fill:#0052B4;fill:color(display-p3 0.0000 0.3216 0.7059);fill-opacity:1;"/>
32
+ </g>
33
+ <rect x="0.0625" y="20.0625" width="19.875" height="19.875" rx="5.9375" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.125"/>
34
+ <path d="M14.7148 23.0625L15.2148 24.5977H16.8281L15.5195 25.5469L16.0195 27.082L14.7148 26.1367L13.4063 27.082L13.9063 25.5469L12.6016 24.5977H14.2148L14.7148 23.0625ZM16.668 27.7773L17.1641 29.3125H18.7812L17.4727 30.2617L17.9727 31.7969L16.668 30.8477L15.3594 31.7969L15.8594 30.2617L14.5547 29.3125H16.168L16.668 27.7773ZM14.7148 32.4922L15.2148 34.0273H16.8281L15.5195 34.9766L16.0195 36.5117L14.7148 35.5625L13.4063 36.5117L13.9063 34.9766L12.6016 34.0273H14.2148L14.7148 32.4922ZM10 34.4453L10.5 35.9805H12.1094L10.8047 36.9297L11.3008 38.4648L9.99609 37.5156L8.69141 38.4648L9.1875 36.9297L7.89062 35.9766H9.50391L10 34.4453ZM5.28516 32.4922L5.78516 34.0273H7.39844L6.09375 34.9766L6.59375 36.5117L5.28516 35.5625L3.98047 36.5117L4.48047 34.9766L3.17187 34.0234H4.78516L5.28516 32.4922ZM3.33203 27.7773L3.83203 29.3125H5.44531L4.14062 30.2617L4.64062 31.7969L3.33203 30.8477L2.03125 31.7969L2.53125 30.2617L1.22266 29.3125H2.83984L3.33203 27.7773ZM5.28516 23.0625L5.78516 24.5977H7.39844L6.09375 25.5469L6.59375 27.082L5.28516 26.1367L3.98047 27.082L4.48047 25.5469L3.17187 24.5977H4.78516L5.28516 23.0625ZM10 21.1094L10.5 22.6484H12.1094L10.8086 23.5937L11.3047 25.1289L10 24.1797L8.69531 25.1289L9.19141 23.5937L7.89062 22.6523H9.50391L10 21.1094Z" fill="#FFC635" style="fill:#FFC635;fill:color(display-p3 1.0000 0.7765 0.2078);fill-opacity:1;"/>
35
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
36
+ <rect y="20" width="20" height="20" rx="6" fill="url(#paint2_linear_2802_2728)"/>
37
+ </g>
38
+ </g>
39
+ <defs>
40
+ <linearGradient id="paint0_linear_2802_2728" x1="10" y1="0" x2="10" y2="20" gradientUnits="userSpaceOnUse">
41
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
42
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
43
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
44
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
45
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
46
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
47
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
48
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
49
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
50
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
51
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
52
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
53
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
54
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
55
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
56
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
57
+ </linearGradient>
58
+ <linearGradient id="paint1_linear_2802_2728" x1="30" y1="0" x2="30" y2="20" gradientUnits="userSpaceOnUse">
59
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
60
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
61
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
62
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
63
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
64
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
65
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
66
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
67
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
68
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
69
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
70
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
71
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
72
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
73
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
74
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
75
+ </linearGradient>
76
+ <linearGradient id="paint2_linear_2802_2728" x1="10" y1="20" x2="10" y2="40" gradientUnits="userSpaceOnUse">
77
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
78
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
79
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
80
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
81
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
82
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
83
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
84
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
85
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
86
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
87
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
88
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
89
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
90
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
91
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
92
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
93
+ </linearGradient>
94
+ <clipPath id="clip0_2802_2728">
95
+ <rect width="40" height="40" fill="white" style="fill:white;fill-opacity:1;"/>
96
+ </clipPath>
97
+ </defs>
98
+ </svg>