refactor: replace noto sans display with noto sans (#1764)

This commit is contained in:
Julio C. Estrada
2025-04-25 14:51:28 -04:00
committed by GitHub
parent 928d6efb26
commit 8ac8ba3561
6 changed files with 34 additions and 31 deletions

View File

@@ -28,15 +28,15 @@ module.exports = {
silver: '#B5C9D3',
},
extend: {
fontFamily: {
'sans': [
'"Noto Sans"',
process.env.ENVIRONMENT_NAME == 'Development Environment' ?
'serif'
:
'sans-serif',
]
}
// fontFamily: {
// 'sans': [
// '"Noto Sans"',
// process.env.ENVIRONMENT_NAME == 'Development Environment' ?
// 'serif'
// :
// 'sans-serif',
// ]
// }
}
},
variants: {

View File

@@ -110,7 +110,6 @@
kbd,
samp,
pre {
font-family: 'Noto Mono', monospace;
/* 1 */
@apply text-sm text-sky-800 dark:text-sky-200 overflow-x-scroll;
/* 2 */

View File

@@ -42,15 +42,15 @@ module.exports = {
900: '#151E37',
}
},
fontFamily: {
'sans': [
'"Noto Sans"',
process.env.ENVIRONMENT_NAME == 'Development Environment' ?
'serif'
:
'sans-serif',
],
}
// fontFamily: {
// 'sans': [
// '"Noto Sans"',
// process.env.ENVIRONMENT_NAME == 'Development Environment' ?
// 'serif'
// :
// 'sans-serif',
// ],
// }
},
},
variants: {

View File

@@ -38,13 +38,13 @@
{% block extra_head %}
<link href="{% static 'css/styles.css' %}" rel="stylesheet">
<link href="{% static 'css/components.css' %}" rel="stylesheet">
<link rel="preload" as="style" href="{% static 'css/fonts.css' %}" rel="stylesheet">
{% comment %} <link rel="preload" as="style" href="{% static 'css/fonts.css' %}" rel="stylesheet"> {% endcomment %}
<link href="{% static 'css/boostlook.css' %}" rel="stylesheet">
{% endblock %}
{% block css %}{% endblock css %}
<style>
@import url({% static 'css/fonts.css' %});
{% comment %} @import url({% static 'css/fonts.css' %}); {% endcomment %}
{% include "includes/_css_variables.css" %}
.header-menu-bar {
padding: 0 1rem;
@@ -324,6 +324,10 @@
color: #f00;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wdth,wght@62.5..100,100..900&family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap" rel="stylesheet">
</head>
<body x-init="() => {const m = localStorage.getItem('colorMode');

View File

@@ -3,7 +3,7 @@
{% block extra_head %}
<link href="{% static 'css/styles.css' %}" rel="stylesheet" />
<link rel="preload" data-modernizer="boost-legacy-docs-extra-head" href="{% static 'css/fonts.css' %}" rel="stylesheet" />
{% comment %} <link rel="preload" data-modernizer="boost-legacy-docs-extra-head" href="{% static 'css/fonts.css' %}" rel="stylesheet" /> {% endcomment %}
{% if not skip_use_boostlook %}
<link rel="preload" data-modernizer="boost-legacy-docs-extra-head" href="{% static 'css/boostlook.css' %}" rel="stylesheet" />
{% endif %}

View File

@@ -29,15 +29,15 @@ module.exports = {
active: '#1565c0',
},
extend: {
fontFamily: {
'sans': [
'"Noto Sans"',
process.env.ENVIRONMENT_NAME == 'Development Environment' ?
'serif'
:
'sans-serif',
]
}
// fontFamily: {
// 'sans': [
// '"Noto Sans"',
// process.env.ENVIRONMENT_NAME == 'Development Environment' ?
// 'serif'
// :
// 'sans-serif',
// ]
// }
},
},
variants: {