diff --git a/ux.symfony.com/assets/styles/_variables.scss b/ux.symfony.com/assets/styles/_variables.scss index 89bb8e3fa82..968348cc135 100644 --- a/ux.symfony.com/assets/styles/_variables.scss +++ b/ux.symfony.com/assets/styles/_variables.scss @@ -16,3 +16,5 @@ $green: #84DE2C; $primary: #222 !default; $size-unit: calc(8px + 1.5625vw); + +$font-family-monospace: var(--font-family-code); diff --git a/ux.symfony.com/assets/styles/app/_root.scss b/ux.symfony.com/assets/styles/app/_root.scss index 47f82457d52..1160c392600 100644 --- a/ux.symfony.com/assets/styles/app/_root.scss +++ b/ux.symfony.com/assets/styles/app/_root.scss @@ -16,7 +16,7 @@ // Fonts // --font-family-title: "Inter"; --font-family-text: "Inter"; - // --font-family-code: "Inter"; + --font-family-code: ui-monospace, "SF Mono", SFMono-Regular, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace; // Colors --color-primary: var(--bs-body-color); diff --git a/ux.symfony.com/assets/styles/components/_Terminal.scss b/ux.symfony.com/assets/styles/components/_Terminal.scss index 190f7a071d6..8d7a6920204 100644 --- a/ux.symfony.com/assets/styles/components/_Terminal.scss +++ b/ux.symfony.com/assets/styles/components/_Terminal.scss @@ -76,7 +76,7 @@ .Terminal_body { background-color: $n-800; height: 100%; - font-family: 'Space Mono', monospace; + font-family: var(--font-family-code); font-size: 14px; line-height: 160%; color: #FFF; diff --git a/ux.symfony.com/assets/styles/components/_TerminalCommand.scss b/ux.symfony.com/assets/styles/components/_TerminalCommand.scss index 41e2d0be4db..09b286ae6a1 100644 --- a/ux.symfony.com/assets/styles/components/_TerminalCommand.scss +++ b/ux.symfony.com/assets/styles/components/_TerminalCommand.scss @@ -34,7 +34,7 @@ background: transparent; z-index: 4; outline: none; - font-family: var(--bs-font-monospace); + font-family: var(--font-family-code); font-size: .9rem; padding: 0 .5rem; width: inherit; diff --git a/ux.symfony.com/templates/base.html.twig b/ux.symfony.com/templates/base.html.twig index 0f36d3b9561..662491f7345 100644 --- a/ux.symfony.com/templates/base.html.twig +++ b/ux.symfony.com/templates/base.html.twig @@ -12,7 +12,7 @@ {% block stylesheets %} - + {{ ux_controller_link_tags() }} {% endblock %}