mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(core): pricing plans ai subscription ui (#6449)
This commit is contained in:
@@ -16,7 +16,7 @@ export const SettingHeader = ({
|
||||
return (
|
||||
<div className={settingHeader} {...otherProps}>
|
||||
<div className="title">{title}</div>
|
||||
<div className="subtitle">{subtitle}</div>
|
||||
{subtitle ? <div className="subtitle">{subtitle}</div> : null}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -2,16 +2,17 @@ import { cssVar } from '@toeverything/theme';
|
||||
import { globalStyle, style } from '@vanilla-extract/css';
|
||||
export const settingHeader = style({
|
||||
borderBottom: `1px solid ${cssVar('borderColor')}`,
|
||||
paddingBottom: '24px',
|
||||
paddingBottom: '16px',
|
||||
marginBottom: '24px',
|
||||
});
|
||||
globalStyle(`${settingHeader} .title`, {
|
||||
fontSize: cssVar('fontBase'),
|
||||
fontWeight: 600,
|
||||
lineHeight: '24px',
|
||||
marginBottom: '4px',
|
||||
});
|
||||
globalStyle(`${settingHeader} .subtitle`, {
|
||||
paddingTop: '4px',
|
||||
paddingBottom: '8px',
|
||||
fontSize: cssVar('fontXs'),
|
||||
lineHeight: '16px',
|
||||
color: cssVar('textSecondaryColor'),
|
||||
|
||||
Reference in New Issue
Block a user