mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
chore: breadcrumb full token (#35868)
This commit is contained in:
parent
94cfd11b3f
commit
80c950b15c
@ -1,7 +1,7 @@
|
||||
// deps-lint-skip-all
|
||||
import type { CSSObject } from '@ant-design/cssinjs';
|
||||
import type { GenerateStyle, FullToken } from '../../_util/theme';
|
||||
import { resetComponent, genComponentStyleHook, mergeToken } from '../../_util/theme';
|
||||
import type { FullToken, GenerateStyle } from '../../_util/theme';
|
||||
import { genComponentStyleHook, mergeToken, resetComponent } from '../../_util/theme';
|
||||
|
||||
interface BreadcrumbToken extends FullToken<'Breadcrumb'> {
|
||||
breadcrumbBaseColor: string;
|
||||
@ -87,7 +87,6 @@ const genBreadcrumbStyle: GenerateStyle<BreadcrumbToken, CSSObject> = token => {
|
||||
// ============================== Export ==============================
|
||||
export default genComponentStyleHook('Breadcrumb', token => {
|
||||
const BreadcrumbToken = mergeToken<BreadcrumbToken>(token, {
|
||||
// FIXME: missing token
|
||||
breadcrumbBaseColor: token.colorTextSecondary,
|
||||
breadcrumbFontSize: token.fontSizeBase,
|
||||
breadcrumbIconFontSize: token.fontSizeBase,
|
||||
|
Loading…
Reference in New Issue
Block a user