@callstack/rspress-theme
Version:
Callstack theme for Rspress docs
48 lines (43 loc) • 919 B
CSS
body {
background: var(--rp-c-bg) ;
color: var(--rp-c-text-1) ;
font-family: var(--rp-font-family) ;
}
body * {
line-height: 1.5 ;
letter-spacing: -0.02em ;
}
code,
kbd,
samp,
pre {
font-family: var(--rp-font-family-mono) ;
font-style: normal ;
font-weight: 500 ;
line-height: 1.5 ;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--ck-header-font-family) ;
font-variant-numeric: lining-nums tabular-nums ;
font-feature-settings: "ss04" on ;
font-style: normal ;
font-weight: 500 ;
line-height: 1.2 ;
letter-spacing: -0.04em ;
}
/* inline code in headers */
h1 > code,
h2 > code,
h3 > code,
h4 > code,
h5 > code,
h6 > code {
font-family: unset ;
background-color: unset ;
padding: unset ;
}