From: Sebastián Ramírez Date: Fri, 28 Nov 2025 15:55:15 +0000 (-0800) Subject: 💅 Update CSS to explicitly use emoji font (#14415) X-Git-Tag: 0.122.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ab7167eaf046fb1c7a700dd72e773bb16e7d88f;p=thirdparty%2Ffastapi%2Ffastapi.git 💅 Update CSS to explicitly use emoji font (#14415) --- diff --git a/docs/en/docs/css/custom.css b/docs/en/docs/css/custom.css index 8849d87412..87111ff64e 100644 --- a/docs/en/docs/css/custom.css +++ b/docs/en/docs/css/custom.css @@ -1,9 +1,16 @@ /* Fira Code, including characters used by Rich output, like the "heavy right-pointing angle bracket ornament", not included in Google Fonts */ @import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css); +/* Noto Color Emoji for emoji support with the same font everywhere */ +@import url(https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap); /* Override default code font in Material for MkDocs to Fira Code */ :root { - --md-code-font: "Fira Code", monospace; + --md-code-font: "Fira Code", monospace, "Noto Color Emoji"; +} + +/* Override default regular font in Material for MkDocs to include Noto Color Emoji */ +:root { + --md-text-font: "Roboto", "Noto Color Emoji"; } .termynal-comment {