Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ux.symfony.com/assets/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ $green: #84DE2C;
$primary: #222 !default;

$size-unit: calc(8px + 1.5625vw);

$font-family-monospace: var(--font-family-code);
2 changes: 2 additions & 0 deletions ux.symfony.com/assets/styles/app/_root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
--space-larger: 2rem;

// Fonts
// --font-family-title: "Ubuntu";
--font-family-text: system-ui, sans-serif;
--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);
Expand Down
2 changes: 1 addition & 1 deletion ux.symfony.com/assets/styles/components/_Terminal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion ux.symfony.com/templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name="color-scheme" content="light dark">
<link rel="preconnect" href="https://fonts.googleapis.com" />
{% block stylesheets %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700i|Space+Mono|Ubuntu:400,700&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700i|Ubuntu:400,700&display=swap">
{{ ux_controller_link_tags() }}
<link rel="stylesheet" href="{{ asset('styles/app.scss') }}">
{% endblock %}
Expand Down