From e6a4524fe3041a690e742e6e72149a6da4d241a5 Mon Sep 17 00:00:00 2001 From: agoni1212 Date: Fri, 6 Mar 2020 15:44:36 +0800 Subject: [PATCH] feat(Cell): improve cell value style in large size (#2831) * Update var.less * Update index.less --- packages/cell/index.less | 4 ++++ packages/common/style/var.less | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/cell/index.less b/packages/cell/index.less index 66c68a90..6314e987 100644 --- a/packages/cell/index.less +++ b/packages/cell/index.less @@ -101,6 +101,10 @@ .van-cell__title { .theme(font-size, '@cell-large-title-font-size'); } + + .van-cell__value { + .theme(font-size, '@cell-large-value-font-size'); + } .van-cell__label { .theme(font-size, '@cell-large-label-font-size'); diff --git a/packages/common/style/var.less b/packages/common/style/var.less index e7b5c5f7..24a4a7ee 100644 --- a/packages/common/style/var.less +++ b/packages/common/style/var.less @@ -144,6 +144,7 @@ @cell-right-icon-color: @gray-6; @cell-large-vertical-padding: @padding-sm; @cell-large-title-font-size: @font-size-lg; +@cell-large-value-font-size: @font-size-lg; @cell-large-label-font-size: @font-size-md; // CellGroup