fix(ui): folds tokens for ML-denoise panel + screenshare popover (native-cinny audit 3/N)
- General ML noise-suppression panel: ungated --border-color/--bg-card/--bg-input/ --accent-orange -> color.Surface.ContainerLine/Container, SurfaceVariant.Container, Primary.Main. (The lotusTerminal-gated Boot button keeps its TDS --accent-orange.) - CallControls "Share your screen?" popover: --bg-surface/--bg-surface-border -> color.Surface.Container / ContainerLine. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import {
|
|||||||
Box,
|
Box,
|
||||||
Button,
|
Button,
|
||||||
Chip,
|
Chip,
|
||||||
|
color,
|
||||||
config,
|
config,
|
||||||
Icon,
|
Icon,
|
||||||
IconButton,
|
IconButton,
|
||||||
@@ -276,8 +277,8 @@ export function CallControls({ callEmbed }: CallControlsProps) {
|
|||||||
bottom: '110%',
|
bottom: '110%',
|
||||||
left: '50%',
|
left: '50%',
|
||||||
transform: 'translateX(-50%)',
|
transform: 'translateX(-50%)',
|
||||||
background: 'var(--bg-surface)',
|
background: color.Surface.Container,
|
||||||
border: '1px solid var(--bg-surface-border)',
|
border: `${config.borderWidth.B300} solid ${color.Surface.ContainerLine}`,
|
||||||
borderRadius: '0.75rem',
|
borderRadius: '0.75rem',
|
||||||
padding: '1rem 1.25rem',
|
padding: '1rem 1.25rem',
|
||||||
zIndex: 100,
|
zIndex: 100,
|
||||||
|
|||||||
@@ -1372,8 +1372,8 @@ function Calls() {
|
|||||||
style={{
|
style={{
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
marginTop: '8px',
|
marginTop: '8px',
|
||||||
borderTop: '1px solid var(--border-color)',
|
borderTop: `${config.borderWidth.B300} solid ${color.Surface.ContainerLine}`,
|
||||||
background: 'var(--bg-card)',
|
background: color.Surface.Container,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* ── Model selection ───────────────────────────────────────── */}
|
{/* ── Model selection ───────────────────────────────────────── */}
|
||||||
@@ -1397,8 +1397,8 @@ function Calls() {
|
|||||||
style={{
|
style={{
|
||||||
padding: '12px',
|
padding: '12px',
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
border: '1px solid var(--border-color)',
|
border: `${config.borderWidth.B300} solid ${color.Surface.ContainerLine}`,
|
||||||
background: 'var(--bg-input)',
|
background: color.SurfaceVariant.Container,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Text size="T300">{selectedDenoiseModel.name}</Text>
|
<Text size="T300">{selectedDenoiseModel.name}</Text>
|
||||||
@@ -1436,7 +1436,7 @@ function Calls() {
|
|||||||
direction="Row"
|
direction="Row"
|
||||||
gap="100"
|
gap="100"
|
||||||
style={{
|
style={{
|
||||||
borderBottom: '1px solid var(--border-color)',
|
borderBottom: `${config.borderWidth.B300} solid ${color.Surface.ContainerLine}`,
|
||||||
paddingBottom: '4px',
|
paddingBottom: '4px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -1489,7 +1489,10 @@ function Calls() {
|
|||||||
<Box
|
<Box
|
||||||
direction="Column"
|
direction="Column"
|
||||||
gap="300"
|
gap="300"
|
||||||
style={{ paddingTop: '12px', borderTop: '1px solid var(--border-color)' }}
|
style={{
|
||||||
|
paddingTop: '12px',
|
||||||
|
borderTop: `${config.borderWidth.B300} solid ${color.Surface.ContainerLine}`,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Text size="L400">Enhancements</Text>
|
<Text size="L400">Enhancements</Text>
|
||||||
<SettingTile
|
<SettingTile
|
||||||
@@ -1525,7 +1528,7 @@ function Calls() {
|
|||||||
step="1"
|
step="1"
|
||||||
value={callDenoiseGateThreshold}
|
value={callDenoiseGateThreshold}
|
||||||
onChange={(e) => setCallDenoiseGateThreshold(parseInt(e.target.value, 10))}
|
onChange={(e) => setCallDenoiseGateThreshold(parseInt(e.target.value, 10))}
|
||||||
style={{ width: '100%', accentColor: 'var(--accent-orange)' }}
|
style={{ width: '100%', accentColor: color.Primary.Main }}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
@@ -1535,7 +1538,10 @@ function Calls() {
|
|||||||
<Box
|
<Box
|
||||||
direction="Column"
|
direction="Column"
|
||||||
gap="200"
|
gap="200"
|
||||||
style={{ paddingTop: '12px', borderTop: '1px solid var(--border-color)' }}
|
style={{
|
||||||
|
paddingTop: '12px',
|
||||||
|
borderTop: `${config.borderWidth.B300} solid ${color.Surface.ContainerLine}`,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Text size="L400">Test & calibrate</Text>
|
<Text size="L400">Test & calibrate</Text>
|
||||||
<Text size="T200" priority="300">
|
<Text size="T200" priority="300">
|
||||||
@@ -1658,7 +1664,7 @@ function Calls() {
|
|||||||
value={ringtoneVolume}
|
value={ringtoneVolume}
|
||||||
onChange={(e) => setRingtoneVolume(parseInt(e.target.value, 10))}
|
onChange={(e) => setRingtoneVolume(parseInt(e.target.value, 10))}
|
||||||
aria-label="Ringtone volume"
|
aria-label="Ringtone volume"
|
||||||
style={{ flex: 1, accentColor: 'var(--accent-orange)' }}
|
style={{ flex: 1, accentColor: color.Primary.Main }}
|
||||||
/>
|
/>
|
||||||
<Text size="T200" style={{ minWidth: '32px', textAlign: 'right' }}>
|
<Text size="T200" style={{ minWidth: '32px', textAlign: 'right' }}>
|
||||||
{ringtoneVolume}%
|
{ringtoneVolume}%
|
||||||
|
|||||||
Reference in New Issue
Block a user