Skip to content

Commit

Permalink
Adjust font size scale: move 64px to 60px, 80px to 72px (#2619)
Browse files Browse the repository at this point in the history
* Move 64px to 60px, 80px to 72px

* Update changelog
  • Loading branch information
adamwathan committed Oct 20, 2020
1 parent fd8bacd commit 16fac7e
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 50 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgrade to PostCSS 8.0
- Use logical properties for `space` and `divide` utilities ([#1883](https://github.com/tailwindlabs/tailwindcss/pull/1883))
- Support defining theme keys as arrays wherever it makes sense, and make accessing using `theme` retrieve the expected resolved value ([e13f083c4](https://github.com/tailwindlabs/tailwindcss/commit/e13f083c4bc48bf9870d27c966136a9584943127))
- Adjust default font-size scale to include 60px and 72px instead of 64px and 80px ([#2619](https://github.com/tailwindlabs/tailwindcss/pull/2619))

## [1.9.5]

Expand Down
24 changes: 12 additions & 12 deletions __tests__/fixtures/tailwind-output-flagged.css
Expand Up @@ -15682,12 +15682,12 @@ video {
}

.text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -54999,12 +54999,12 @@ video {
}

.sm\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.sm\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -94286,12 +94286,12 @@ video {
}

.md\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.md\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -133573,12 +133573,12 @@ video {
}

.lg\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.lg\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -172860,12 +172860,12 @@ video {
}

.xl\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.xl\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -212147,12 +212147,12 @@ video {
}

.\32xl\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.\32xl\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down
24 changes: 12 additions & 12 deletions __tests__/fixtures/tailwind-output-important.css
Expand Up @@ -15682,12 +15682,12 @@ video {
}

.text-6xl {
font-size: 4rem !important;
font-size: 3.75rem !important;
line-height: 1 !important;
}

.text-7xl {
font-size: 5rem !important;
font-size: 4.5rem !important;
line-height: 1 !important;
}

Expand Down Expand Up @@ -54999,12 +54999,12 @@ video {
}

.sm\:text-6xl {
font-size: 4rem !important;
font-size: 3.75rem !important;
line-height: 1 !important;
}

.sm\:text-7xl {
font-size: 5rem !important;
font-size: 4.5rem !important;
line-height: 1 !important;
}

Expand Down Expand Up @@ -94286,12 +94286,12 @@ video {
}

.md\:text-6xl {
font-size: 4rem !important;
font-size: 3.75rem !important;
line-height: 1 !important;
}

.md\:text-7xl {
font-size: 5rem !important;
font-size: 4.5rem !important;
line-height: 1 !important;
}

Expand Down Expand Up @@ -133573,12 +133573,12 @@ video {
}

.lg\:text-6xl {
font-size: 4rem !important;
font-size: 3.75rem !important;
line-height: 1 !important;
}

.lg\:text-7xl {
font-size: 5rem !important;
font-size: 4.5rem !important;
line-height: 1 !important;
}

Expand Down Expand Up @@ -172860,12 +172860,12 @@ video {
}

.xl\:text-6xl {
font-size: 4rem !important;
font-size: 3.75rem !important;
line-height: 1 !important;
}

.xl\:text-7xl {
font-size: 5rem !important;
font-size: 4.5rem !important;
line-height: 1 !important;
}

Expand Down Expand Up @@ -212147,12 +212147,12 @@ video {
}

.\32xl\:text-6xl {
font-size: 4rem !important;
font-size: 3.75rem !important;
line-height: 1 !important;
}

.\32xl\:text-7xl {
font-size: 5rem !important;
font-size: 4.5rem !important;
line-height: 1 !important;
}

Expand Down
24 changes: 12 additions & 12 deletions __tests__/fixtures/tailwind-output-no-color-opacity.css
Expand Up @@ -14534,12 +14534,12 @@ video {
}

.text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -51883,12 +51883,12 @@ video {
}

.sm\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.sm\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -89202,12 +89202,12 @@ video {
}

.md\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.md\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -126521,12 +126521,12 @@ video {
}

.lg\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.lg\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -163840,12 +163840,12 @@ video {
}

.xl\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.xl\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -201159,12 +201159,12 @@ video {
}

.\32xl\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.\32xl\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down
24 changes: 12 additions & 12 deletions __tests__/fixtures/tailwind-output.css
Expand Up @@ -15682,12 +15682,12 @@ video {
}

.text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -54999,12 +54999,12 @@ video {
}

.sm\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.sm\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -94286,12 +94286,12 @@ video {
}

.md\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.md\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -133573,12 +133573,12 @@ video {
}

.lg\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.lg\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -172860,12 +172860,12 @@ video {
}

.xl\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.xl\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down Expand Up @@ -212147,12 +212147,12 @@ video {
}

.\32xl\:text-6xl {
font-size: 4rem;
font-size: 3.75rem;
line-height: 1;
}

.\32xl\:text-7xl {
font-size: 5rem;
font-size: 4.5rem;
line-height: 1;
}

Expand Down
4 changes: 2 additions & 2 deletions stubs/defaultConfig.stub.js
Expand Up @@ -241,8 +241,8 @@ module.exports = {
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1' }],
'6xl': ['4rem', { lineHeight: '1' }],
'7xl': ['5rem', { lineHeight: '1' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
Expand Down

0 comments on commit 16fac7e

Please sign in to comment.