amis/packages/amis-ui/scss/base/_typography.scss

60 lines
922 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
/**
* Basic typography style for copy text
*/
html {
2019-12-06 09:58:08 +08:00
font-size: $remFactor;
}
2019-04-30 11:11:25 +08:00
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);
2019-12-06 09:58:08 +08:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2019-04-30 11:11:25 +08:00
}
a {
color: var(--link-color);
text-decoration: var(--link-decoration);
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
&:hover {
color: var(--link-onHover-color);
text-decoration: var(--link-onHover-decoration);
2019-12-06 09:58:08 +08:00
}
2019-04-30 11:11:25 +08:00
}
label {
font-weight: var(--fontWeightNormal);
2019-04-30 11:11:25 +08:00
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: var(--fontWeightNormal);
color: var(--text--loud-color);
2019-12-06 09:58:08 +08:00
line-height: 1.1;
2019-04-30 11:11:25 +08:00
}
.is-matched {
color: var(--danger);
}
pre,
code,
kbd,
samp {
font-family: var(--fontFamilyMonospace);
}
2021-04-21 19:24:34 +08:00
// js sdk 中的有用到
.amis-routes-wrapper {
width: 100%;
height: 100%;
}