Merge pull request #747 from tailwindcss/update-mono-font-stack
Update default monospace font stack to match Bootstrap
This commit is contained in:
commit
be4665ec5c
3 changed files with 19 additions and 11 deletions
|
|
@ -2932,7 +2932,7 @@ strong {
|
|||
}
|
||||
|
||||
.font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
||||
}
|
||||
|
||||
.font-hairline {
|
||||
|
|
@ -8953,7 +8953,7 @@ strong {
|
|||
}
|
||||
|
||||
.sm\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
||||
}
|
||||
|
||||
.sm\:font-hairline {
|
||||
|
|
@ -14959,7 +14959,7 @@ strong {
|
|||
}
|
||||
|
||||
.md\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
||||
}
|
||||
|
||||
.md\:font-hairline {
|
||||
|
|
@ -20965,7 +20965,7 @@ strong {
|
|||
}
|
||||
|
||||
.lg\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
||||
}
|
||||
|
||||
.lg\:font-hairline {
|
||||
|
|
@ -26971,7 +26971,7 @@ strong {
|
|||
}
|
||||
|
||||
.xl\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
||||
}
|
||||
|
||||
.xl\:font-hairline {
|
||||
|
|
|
|||
|
|
@ -2932,7 +2932,7 @@ strong {
|
|||
}
|
||||
|
||||
.font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
.font-hairline {
|
||||
|
|
@ -8953,7 +8953,7 @@ strong {
|
|||
}
|
||||
|
||||
.sm\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
.sm\:font-hairline {
|
||||
|
|
@ -14959,7 +14959,7 @@ strong {
|
|||
}
|
||||
|
||||
.md\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
.md\:font-hairline {
|
||||
|
|
@ -20965,7 +20965,7 @@ strong {
|
|||
}
|
||||
|
||||
.lg\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
.lg\:font-hairline {
|
||||
|
|
@ -26971,7 +26971,7 @@ strong {
|
|||
}
|
||||
|
||||
.xl\:font-mono {
|
||||
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
.xl\:font-hairline {
|
||||
|
|
|
|||
|
|
@ -139,7 +139,15 @@ module.exports = function() {
|
|||
'Georgia',
|
||||
'serif',
|
||||
],
|
||||
mono: ['Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
|
||||
mono: [
|
||||
'SFMono-Regular',
|
||||
'Menlo',
|
||||
'Monaco',
|
||||
'Consolas',
|
||||
'"Liberation Mono"',
|
||||
'"Courier New"',
|
||||
'monospace',
|
||||
],
|
||||
},
|
||||
fontSize: {
|
||||
xs: '.75rem',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue