MadCcc
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
3 deletions
-
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, |
|
|
|