mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
60 lines
922 B
SCSS
60 lines
922 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);
|
|
}
|
|
}
|
|
|
|
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%;
|
|
}
|