Merge pull request #747 from tailwindcss/update-mono-font-stack

Update default monospace font stack to match Bootstrap
This commit is contained in:
Adam Wathan 2019-03-12 20:10:05 -04:00 committed by GitHub
commit be4665ec5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 11 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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',