Add IBM Plex Mono as monospace font for tailwind

This commit is contained in:
2024-05-09 23:04:37 -05:00
parent 757adcf385
commit f35e500f58
2 changed files with 11 additions and 5 deletions

View File

@@ -2,7 +2,9 @@
@tailwind components;
@tailwind utilities;
@import url('https://rsms.me/inter/inter.css');
@import url("https://fonts.googleapis.com/css2\
?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700\
&family=Inter:wght@100..900&display=swap");
dd {
margin: 0.5em 0 1em 2em;
@@ -17,16 +19,17 @@ body {
@apply font-sans bg-zinc-900 text-white;
}
dd, dl {
dd,
dl {
white-space: nowrap;
}
dl {
margin: 0;
}
.rdap-status-code, .rdap-event-time {
.rdap-status-code,
.rdap-event-time {
border-bottom: 1px dashed silver;
}
@@ -42,7 +45,9 @@ dl {
}
.custom-select {
background: #fffff00 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
background: #fffff00
url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
no-repeat right 0.75rem center/8px 10px;
}
.scrollbar-thin {

View File

@@ -7,6 +7,7 @@ module.exports = {
theme: {
extend: {
fontFamily: {
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
colors: {