@aws-amplify/ui
Version:
`@aws-amplify/ui` contains low-level logic & styles for stand-alone usage or re-use in framework-specific implementations.
77 lines (68 loc) • 1.03 kB
CSS
*,
*::before,
*::after {
box-sizing: border-box;
}
html:focus-within {
scroll-behavior: smooth;
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
body {
min-height: 100vh;
text-rendering: optimizeSpeed;
-webkit-font-smoothing: antialiased;
line-height: var(--amplify-line-heights-medium, 1.5);
}
input,
button,
textarea,
select {
font: inherit;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
text-wrap: balance;
}
img,
picture {
max-width: 100%;
display: block;
}
a:not([class]) {
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
color: currentColor;
}
@media (prefers-reduced-motion: reduce) {
html:focus-within {
scroll-behavior: auto;
}
}
html,
[data-amplify-theme] {
font-family: var(--amplify-fonts-default-static);
}
@supports (font-variation-settings: normal) {
html,
[data-amplify-theme] {
font-family: var(--amplify-fonts-default-variable);
}
}