Skip to content

Commit

Permalink
fix(typography): fix title font size bug (#1954)
Browse files Browse the repository at this point in the history
* fix(typography): fix title font size bug

* chore: fix style
  • Loading branch information
uyarn authored Sep 27, 2024
1 parent 3946684 commit 61f5be7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions style/web/components/swiper/_var.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

// 颜色
@swiper-navigation-item-bg: @font-white-4;
@swiper-navigation-item-bg-outside: @font-gray-4;
@swiper-navigation-item-bg-outside: @text-color-disabled;

@swiper-navigation-item-bg-hover: @font-white-2;
@swiper-navigation-item-bg-active: @bg-color-container;

@swiper-navigation-item-outside-bg-hover: @brand-color;
@swiper-navigation-item-outside-bg-hover: @text-color-primary;
@swiper-navigation-item-outside-bg-active: @brand-color-active;

@swiper-navigation-arrow-color-fraction: @font-gray-4;
@swiper-navigation-arrow-color-fraction: @text-color-secondary;
@swiper-navigation-text-color-fraction: @text-color-secondary;

@swiper-arrow-active: @font-white-3;
Expand Down
12 changes: 6 additions & 6 deletions style/web/components/typography/_var.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

@typography-text-font: @font-body-medium;
@typography-code-font: @font-body-small;
@typography-h1-font: @typography-text-strong @font-headline-large;
@typography-h2-font: @typography-text-strong @font-headline-medium;
@typography-h3-font: @typography-text-strong @font-headline-small;
@typography-h4-font: @typography-text-strong @font-title-large;
@typography-h5-font: @typography-text-strong @font-title-medium;
@typography-h6-font: @typography-text-strong @font-title-small;
@typography-h1-font: @font-headline-large;
@typography-h2-font: @font-headline-medium;
@typography-h3-font: @font-headline-small;
@typography-h4-font: @font-title-large;
@typography-h5-font: @font-title-medium;
@typography-h6-font: @font-title-small;

@typography-code-family: Source Code Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei;

0 comments on commit 61f5be7

Please sign in to comment.