@teenageinterface/core
Version:
The `Core` styling for `teenageinterface` library.
158 lines (157 loc) • 4.23 kB
CSS
html[data-mode="light"] {
color-scheme: light;
background: #fafafa;
color: #0a0a0a;
}
html[data-mode="dark"] {
color-scheme: dark;
background: #0a0a0a;
color: #fafafa;
}
*:where([data-mode="light"], [data-mode="light"] *)::selection {
background-color: #bfdbfe;
}
*:where([data-mode="dark"], [data-mode="dark"] *)::selection {
background-color: #1e40af;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-Black.ttf") format("truetype");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-Bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-ExtraBold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-ExtraLight.ttf") format("truetype");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-Light.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-SemiBold.ttf") format("truetype");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Inter;
src: url("./fonts/Inter/Inter-Thin.ttf") format("truetype");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-Black.woff2") format("woff2");
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-Bold.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-Light.woff2") format("woff2");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-SemiBold.woff2") format("woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-Thin.woff2") format("woff2");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-Medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Geist Mono UltraBlack";
src: url("./fonts/Geist/GeistMono-UltraBlack.woff2") format("woff2");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Geist;
src: url("./fonts/Geist/GeistMono-UltraLight.woff2") format("woff2");
font-weight: 200;
font-style: normal;
font-display: swap;
}
*, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}