Browse Source

chore: breadcrumb full token (#35868)

pull/35882/head
MadCcc 3 years ago
committed by GitHub
parent
commit
80c950b15c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      components/breadcrumb/style/index.tsx

5
components/breadcrumb/style/index.tsx

@ -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…
Cancel
Save