Navigator: no label plate (Meta); icon weights and the solid unread dot stay
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m14s
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d226ca45fb
commit
ec48dbf2ed
3 changed files with 13 additions and 14 deletions
|
|
@ -2,7 +2,6 @@ import React from 'react';
|
|||
import { as, Chip, Icon, Icons, Text } from 'folds';
|
||||
import classNames from 'classnames';
|
||||
import { NavGutter } from '../../components/nav';
|
||||
import { NavPlate } from '../../components/nav/styles.css';
|
||||
import * as css from './styles.css';
|
||||
|
||||
export const RoomNavCategoryButton = as<'button', { closed?: boolean }>(
|
||||
|
|
@ -22,7 +21,7 @@ export const RoomNavCategoryButton = as<'button', { closed?: boolean }>(
|
|||
src={closed ? Icons.ChevronRight : Icons.ChevronBottom}
|
||||
/>
|
||||
</NavGutter>
|
||||
<Text className={NavPlate} size="O400" priority="300" truncate>
|
||||
<Text size="O400" priority="300" truncate>
|
||||
{children}
|
||||
</Text>
|
||||
</Chip>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
import { style } from '@vanilla-extract/css';
|
||||
import { config } from 'folds';
|
||||
import { surfaceInk } from '../scene/sceneShell.css';
|
||||
import { skyLabelInk } from '../scene/skyLabelInk';
|
||||
import { NAV_ICON_REST_OPACITY } from '../../components/nav/styles.css';
|
||||
|
||||
export const CategoryButton = style({
|
||||
|
|
@ -19,6 +21,11 @@ export const CategoryButton = style({
|
|||
border: 'none',
|
||||
borderRadius: 0,
|
||||
},
|
||||
':root[data-scene] &&': {
|
||||
color: skyLabelInk('inherit'),
|
||||
textShadow: `0 0 3px ${surfaceInk}, 0 0 8px ${surfaceInk}`,
|
||||
filter: `drop-shadow(0 0 3px ${surfaceInk})`,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue