Skip to content

Commit

Permalink
fix(Drawer): change Drawer title font-size to 18px (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
superman66 committed Oct 31, 2023
1 parent 4a30f64 commit 3eff439
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/styles/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@

@font-family-base: Apple-System, Arial, Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STXihei, sans-serif;

@font-size-extra-large: 18px;
@font-size-large: 16px;
@font-size-base: 14px;
@font-size-small: 12px;
Expand All @@ -147,6 +148,7 @@
@line-height-large-computed: 22px;

// Unit-less `line-height` for use in components like buttons.
@line-height-extra-large: unit((@line-height-large-computed / @font-size-extra-large)); // ~1.222
@line-height-large: unit((@line-height-large-computed / @font-size-large)); // ~1.375
@line-height-base: unit((@line-height-computed / @font-size-base)); // ~1.4285714285714286
@line-height-small: unit((@line-height-computed / @font-size-small)); // ~1.6666666666666667
Expand Down Expand Up @@ -517,9 +519,9 @@
@modal-body-margin: 20px;
@modal-border-radius: @border-radius;

@modal-title-font-size: @font-size-large;
@modal-title-font-size: @font-size-extra-large;
@modal-title-color: var(--rs-text-primary);
@modal-title-line-height: @line-height-large;
@modal-title-line-height: @line-height-extra-large;

@modal-close-btn-size: @font-size-small;
@modal-close-btn-line-height: @line-height-small;
Expand Down

1 comment on commit 3eff439

@vercel
Copy link

@vercel vercel bot commented on 3eff439 Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rsuite-nextjs – ./docs

rsuite-nextjs-git-main-rsuite.vercel.app
rsuite.vercel.app
rsuitejs.com
rsuite-nextjs-rsuite.vercel.app

Please sign in to comment.