diff --git a/packages/theme-generator/src/common/built-in/themes/#0052D9.css b/packages/theme-generator/src/common/built-in/themes/#0052D9.css index 69ea0563..94c1051a 100644 --- a/packages/theme-generator/src/common/built-in/themes/#0052D9.css +++ b/packages/theme-generator/src/common/built-in/themes/#0052D9.css @@ -99,33 +99,31 @@ --td-bg-color-component-disabled: var(--td-gray-color-2); --td-component-stroke: var(--td-gray-color-3); --td-component-border: var(--td-gray-color-4); - --td-font-white-1: rgba(255, 255, 255, 1); - --td-font-white-2: rgba(255, 255, 255, 0.55); - --td-font-white-3: rgba(255, 255, 255, 0.35); - --td-font-white-4: rgba(255, 255, 255, 0.22); - --td-font-gray-1: rgba(0, 0, 0, 0.9); - --td-font-gray-2: rgba(0, 0, 0, 0.6); - --td-font-gray-3: rgba(0, 0, 0, 0.4); - --td-font-gray-4: rgba(0, 0, 0, 0.26); - --td-table-shadow-color: rgba(0, 0, 0, 8%); - --td-scrollbar-color: rgba(0, 0, 0, 10%); - --td-scrollbar-hover-color: rgba(0, 0, 0, 30%); + --td-font-white-2: rgba(255, 255, 255, .55); + --td-font-white-3: rgba(255, 255, 255, .35); + --td-font-white-4: rgba(255, 255, 255, .22); + --td-font-gray-1: rgba(0, 0, 0, .9); + --td-font-gray-2: rgba(0, 0, 0, .6); + --td-font-gray-3: rgba(0, 0, 0, .4); + --td-font-gray-4: rgba(0, 0, 0, .26); + --td-table-shadow-color: rgba(0, 0, 0, .08); + --td-scrollbar-color: rgba(0, 0, 0, .1); + --td-scrollbar-hover-color: rgba(0, 0, 0, .3); --td-scroll-track-color: #fff; --td-bg-color-specialcomponent: #fff; --td-border-level-1-color: var(--td-gray-color-3); --td-border-level-2-color: var(--td-gray-color-4); - --td-shadow-inset-top: inset 0 0.5px 0 #dcdcdc; - --td-shadow-inset-right: inset 0.5px 0 0 #dcdcdc; - --td-shadow-inset-bottom: inset 0 -0.5px 0 #dcdcdc; - --td-shadow-inset-left: inset -0.5px 0 0 #dcdcdc; - --td-mask-active: rgba(0, 0, 0, 0.6); - --td-mask-disabled: rgba(255, 255, 255, 0.6); + --td-shadow-inset-top: inset 0 .5px 0 #dcdcdc; + --td-shadow-inset-right: inset .5px 0 0 #dcdcdc; + --td-shadow-inset-bottom: inset 0 -.5px 0 #dcdcdc; + --td-shadow-inset-left: inset -.5px 0 0 #dcdcdc; + --td-mask-active: rgba(0, 0, 0, .6); + --td-mask-disabled: rgba(255, 255, 255, .6); /* 字体配置 */ - --td-font-family: PingFang SC, Microsoft YaHei, Arial Regular; - --td-font-family-medium: PingFang SC, Microsoft YaHei, Arial Medium; - + --td-font-family: pingfang sc, microsoft yahei, arial regular; + --td-font-family-medium: pingfang sc, microsoft yahei, arial medium; --td-font-size-link-small: 12px; --td-font-size-link-medium: 14px; --td-font-size-link-large: 16px; @@ -142,7 +140,6 @@ --td-font-size-headline-large: 36px; --td-font-size-display-medium: 48px; --td-font-size-display-large: 64px; - --td-line-height-common: 8px; --td-line-height-link-small: calc( var(--td-font-size-link-small) + var(--td-line-height-common) @@ -192,7 +189,6 @@ --td-line-height-display-large: calc( var(--td-font-size-display-large) + var(--td-line-height-common) ); - --td-font-link-small: var(--td-font-size-link-small) / var(--td-line-height-link-small) var(--td-font-family); --td-font-link-medium: var(--td-font-size-link-medium) / @@ -209,21 +205,21 @@ var(--td-line-height-body-medium) var(--td-font-family); --td-font-body-large: var(--td-font-size-body-large) / var(--td-line-height-body-large) var(--td-font-family); - --td-font-title-small: var(--td-font-size-title-small) / + --td-font-title-small: 600 var(--td-font-size-title-small) / var(--td-line-height-title-small) var(--td-font-family); - --td-font-title-medium: var(--td-font-size-title-medium) / + --td-font-title-medium: 600 var(--td-font-size-title-medium) / var(--td-line-height-title-medium) var(--td-font-family); - --td-font-title-large: var(--td-font-size-title-large) / + --td-font-title-large: 600 var(--td-font-size-title-large) / var(--td-line-height-title-large) var(--td-font-family); - --td-font-headline-small: var(--td-font-size-headline-small) / + --td-font-headline-small: 600 var(--td-font-size-headline-small) / var(--td-line-height-headline-small) var(--td-font-family); - --td-font-headline-medium: var(--td-font-size-headline-medium) / + --td-font-headline-medium: 600 var(--td-font-size-headline-medium) / var(--td-line-height-headline-medium) var(--td-font-family); - --td-font-headline-large: var(--td-font-size-headline-large) / + --td-font-headline-large: 600 var(--td-font-size-headline-large) / var(--td-line-height-headline-large) var(--td-font-family); - --td-font-display-medium: var(--td-font-size-display-medium) / + --td-font-display-medium: 600 var(--td-font-size-display-medium) / var(--td-line-height-display-medium) var(--td-font-family); - --td-font-display-large: var(--td-font-size-display-large) / + --td-font-display-large: 600 var(--td-font-size-display-large) / var(--td-line-height-display-large) var(--td-font-family); /* 字体颜色 */ @@ -234,6 +230,7 @@ --td-text-color-anti: #fff; --td-text-color-brand: var(--td-brand-color); --td-text-color-link: var(--td-brand-color); + /* end 字体配置 */ /* 圆角配置 */ @@ -244,12 +241,14 @@ --td-radius-extraLarge: 12px; --td-radius-round: 999px; --td-radius-circle: 50%; + /* end 圆角配置 */ /* 阴影配置 */ - --td-shadow-1: 0 1px 10px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.12); - --td-shadow-2: 0 3px 14px 2px rgba(0, 0, 0, 0.05), 0 8px 10px 1px rgba(0, 0, 0, 0.06), 0 5px 5px -3px rgba(0, 0, 0, 0.1); - --td-shadow-3: 0 6px 30px 5px rgba(0, 0, 0, 0.05), 0 16px 24px 2px rgba(0, 0, 0, 0.04), 0 8px 10px -5px rgba(0, 0, 0, 0.08); + --td-shadow-1: 0 1px 10px rgba(0, 0, 0, .05), 0 4px 5px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .12); + --td-shadow-2: 0 3px 14px 2px rgba(0, 0, 0, .05), 0 8px 10px 1px rgba(0, 0, 0, .06), 0 5px 5px -3px rgba(0, 0, 0, .1); + --td-shadow-3: 0 6px 30px 5px rgba(0, 0, 0, .05), 0 16px 24px 2px rgba(0, 0, 0, .04), 0 8px 10px -5px rgba(0, 0, 0, .08); + /* end 阴影配置 */ /* 尺寸配置 */ @@ -308,6 +307,7 @@ --td-comp-margin-xxl: var(--td-size-8); --td-comp-margin-xxxl: var(--td-size-10); --td-comp-margin-xxxxl: var(--td-size-12); + /* end 尺寸配置 */ } @@ -408,15 +408,14 @@ --td-bg-color-component-disabled: var(--td-gray-color-12); --td-component-stroke: var(--td-gray-color-11); --td-component-border: var(--td-gray-color-9); - - --td-font-white-1: rgba(255, 255, 255, 0.9); - --td-font-white-2: rgba(255, 255, 255, 0.55); - --td-font-white-3: rgba(255, 255, 255, 0.35); - --td-font-white-4: rgba(255, 255, 255, 0.22); - --td-font-gray-1: rgba(0, 0, 0, 0.9); - --td-font-gray-2: rgba(0, 0, 0, 0.6); - --td-font-gray-3: rgba(0, 0, 0, 0.4); - --td-font-gray-4: rgba(0, 0, 0, 0.26); + --td-font-white-1: rgba(255, 255, 255, .9); + --td-font-white-2: rgba(255, 255, 255, .55); + --td-font-white-3: rgba(255, 255, 255, .35); + --td-font-white-4: rgba(255, 255, 255, .22); + --td-font-gray-1: rgba(0, 0, 0, .9); + --td-font-gray-2: rgba(0, 0, 0, .6); + --td-font-gray-3: rgba(0, 0, 0, .4); + --td-font-gray-4: rgba(0, 0, 0, .26); --td-text-color-primary: var(--td-font-white-1); --td-text-color-secondary: var(--td-font-white-2); --td-text-color-placeholder: var(--td-font-white-3); @@ -424,22 +423,20 @@ --td-text-color-anti: #fff; --td-text-color-brand: var(--td-brand-color); --td-text-color-link: var(--td-brand-color); - - --td-shadow-1: 0 4px 6px rgba(0, 0, 0, 0.06), 0 1px 10px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.12); - --td-shadow-2: 0 8px 10px rgba(0, 0, 0, 0.12), 0 3px 14px rgba(0, 0, 0, 0.10), 0 5px 5px rgba(0, 0, 0, 0.16); - --td-shadow-3: 0 16px 24px rgba(0, 0, 0, 0.14), 0 6px 30px rgba(0, 0, 0, 0.12), 0 8px 10px rgba(0, 0, 0, 0.20); - --td-shadow-inset-top: inset 0 0.5px 0 #5e5e5e; - --td-shadow-inset-right: inset 0.5px 0 0 #5e5e5e; - --td-shadow-inset-bottom: inset 0 -0.5px 0 #5e5e5e; - --td-shadow-inset-left: inset -0.5px 0 0 #5e5e5e; - - --td-table-shadow-color: rgba(0, 0, 0, 55%); - --td-scrollbar-color: rgba(255, 255, 255, 10%); - --td-scrollbar-hover-color: rgba(255, 255, 255, 30%); + --td-shadow-1: 0 4px 6px rgba(0, 0, 0, .06), 0 1px 10px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .12); + --td-shadow-2: 0 8px 10px rgba(0, 0, 0, .12), 0 3px 14px rgba(0, 0, 0, .10), 0 5px 5px rgba(0, 0, 0, .16); + --td-shadow-3: 0 16px 24px rgba(0, 0, 0, .14), 0 6px 30px rgba(0, 0, 0, .12), 0 8px 10px rgba(0, 0, 0, .20); + --td-shadow-inset-top: inset 0 .5px 0 #5e5e5e; + --td-shadow-inset-right: inset .5px 0 0 #5e5e5e; + --td-shadow-inset-bottom: inset 0 -.5px 0 #5e5e5e; + --td-shadow-inset-left: inset -.5px 0 0 #5e5e5e; + --td-table-shadow-color: rgba(0, 0, 0, .55); + --td-scrollbar-color: rgba(255, 255, 255, .1); + --td-scrollbar-hover-color: rgba(255, 255, 255, .3); --td-scroll-track-color: #333; --td-bg-color-specialcomponent: transparent; --td-border-level-1-color: var(--td-gray-color-11); --td-border-level-2-color: var(--td-gray-color-9); - --td-mask-active: rgba(0, 0, 0, 0.4); - --td-mask-disabled: rgba(0, 0, 0, 0.6); + --td-mask-active: rgba(0, 0, 0, .4); + --td-mask-disabled: rgba(0, 0, 0, .6); }