mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
refactor(typography): add header margin & make light theme text more blue
This commit is contained in:
parent
67668d5120
commit
4629fc76a0
@ -117,9 +117,9 @@ const derived = {
|
||||
errorColorSuppl: base.errorSuppl,
|
||||
// text color
|
||||
textColorBase: base.neutralTextBase,
|
||||
textColor1: neutral(base.alpha1),
|
||||
textColor2: neutral(base.alpha2),
|
||||
textColor3: neutral(base.alpha3),
|
||||
textColor2: 'rgb(70, 74, 78)',
|
||||
textColor1: 'rgb(44, 47, 50)',
|
||||
textColor3: 'rgb(158, 164, 170)',
|
||||
// textColor4: neutral(base.alpha4), // disabled, placeholder, icon
|
||||
// textColor5: neutral(base.alpha5),
|
||||
|
||||
@ -136,8 +136,8 @@ const derived = {
|
||||
opacity5: base.alpha5,
|
||||
opacityPending: base.alphaPending,
|
||||
|
||||
dividerColor: neutral(base.alphaDivider),
|
||||
borderColor: neutral(base.alphaBorder),
|
||||
dividerColor: 'rgb(239, 239, 245)',
|
||||
borderColor: 'rgb(224, 224, 230)',
|
||||
|
||||
// close
|
||||
closeColorHover: neutral(Number(base.alphaClose) * 0.8),
|
||||
|
@ -5,12 +5,12 @@ export default {
|
||||
headerFontSize4: '16px',
|
||||
headerFontSize5: '16px',
|
||||
headerFontSize6: '16px',
|
||||
headerMargin1: '24px 0 16px 0',
|
||||
headerMargin2: '24px 0 16px 0',
|
||||
headerMargin3: '24px 0 16px 0',
|
||||
headerMargin4: '24px 0 16px 0',
|
||||
headerMargin5: '24px 0 16px 0',
|
||||
headerMargin6: '24px 0 16px 0',
|
||||
headerMargin1: '28px 0 20px 0',
|
||||
headerMargin2: '28px 0 20px 0',
|
||||
headerMargin3: '28px 0 20px 0',
|
||||
headerMargin4: '28px 0 18px 0',
|
||||
headerMargin5: '28px 0 18px 0',
|
||||
headerMargin6: '28px 0 18px 0',
|
||||
headerPrefixWidth1: '16px',
|
||||
headerPrefixWidth2: '16px',
|
||||
headerPrefixWidth3: '12px',
|
||||
@ -23,7 +23,7 @@ export default {
|
||||
headerBarWidth4: '3px',
|
||||
headerBarWidth5: '3px',
|
||||
headerBarWidth6: '3px',
|
||||
pMargin: '0 0 16px 0',
|
||||
pMargin: '0 0 18px 0',
|
||||
liMargin: '.25em 0 0 0',
|
||||
olPadding: '0 0 0 2em',
|
||||
ulPadding: '0 0 0 2em'
|
||||
|
Loading…
Reference in New Issue
Block a user