* update silver theme * update unread badge style to look more slim * update nav item style to look less sharp * fix type focus message input typo * decrease navigation drawer width to bring main chat layout to little more center * increase sidebar width to make it less congested * fix sidebar item style * decrease dark theme contrast * improve dark theme * revert sidebar width change * add join with address option in home context menu * match legacy theme with latest themes
11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
import React, { ComponentProps } from 'react';
|
|
import { Text, as } from 'folds';
|
|
import classNames from 'classnames';
|
|
import * as css from './styles.css';
|
|
|
|
export const NavItemContent = as<'p', ComponentProps<typeof Text>>(
|
|
({ className, ...props }, ref) => (
|
|
<Text className={classNames(css.NavItemContent, className)} size="T300" {...props} ref={ref} />
|
|
)
|
|
);
|