mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 18:06:14 -04:00
refactor: system font stack
This commit is contained in:
parent
1dfbf84833
commit
662e12f007
10 changed files with 28 additions and 17 deletions
|
@ -7,7 +7,10 @@
|
|||
* Styles
|
||||
*/
|
||||
:root {
|
||||
--pico-font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu", "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
--pico-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
--pico-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, var(--pico-font-family-emoji);
|
||||
--pico-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji);
|
||||
--pico-font-family: var(--pico-font-family-sans-serif);
|
||||
--pico-line-height: 1.5;
|
||||
--pico-font-weight: 400;
|
||||
--pico-font-size: 100%;
|
||||
|
@ -223,7 +226,7 @@ pre,
|
|||
code,
|
||||
kbd,
|
||||
samp {
|
||||
--pico-font-family: "Menlo", "Consolas", "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
--pico-font-family: var(--pico-font-family-monospace);
|
||||
}
|
||||
|
||||
kbd {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue