amis/packages/amis-ui/scss/base/_typography.scss
zzy1415447829 066879f999
amis4.0样式对齐 (#4927)
Co-authored-by: zhangzheyu02 <zhangzheyu02@baidu.com>
2022-07-26 21:05:36 +08:00

64 lines
978 B
SCSS

/**
* Basic typography style for copy text
*/
html {
font-size: $remFactor;
}
body {
color: var(--body-color);
background: var(--body-bg);
font-size: var(--body-size);
font-weight: var(--body-weight);
font-family: var(--fontFamilyBase);
line-height: var(--body-lineHeight);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
color: var(--link-color);
text-decoration: var(--link-decoration);
&:hover {
color: var(--link-onHover-color);
text-decoration: var(--link-onHover-decoration);
}
&:active {
color: var(--link-onClick-color);
}
}
label {
font-weight: var(--fontWeightNormal);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: var(--fontWeightNormal);
color: var(--text--loud-color);
line-height: 1.1;
}
.is-matched {
color: var(--danger);
}
pre,
code,
kbd,
samp {
font-family: var(--fontFamilyMonospace);
}
// js sdk 中的有用到
.amis-routes-wrapper {
width: 100%;
height: 100%;
}