Skip to content

Commit 8201846

Browse files
adamwathanthecrypticace
authored andcommitted
Extend opacity scale to include all steps of 5 (#11832)
* Extend opacity scale to include all steps of 5 * Update changelog --------- Co-authored-by: Adam Wathan <[email protected]>
1 parent 0183a84 commit 8201846

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Add `svh`, `lvh`, and `dvh` values to default `height`/`min-height`/`max-height` theme ([#11317](https://github.com/tailwindlabs/tailwindcss/pull/11317))
1313
- Add `has-*` variants for `:has(...)` pseudo-class ([#11318](https://github.com/tailwindlabs/tailwindcss/pull/11318))
1414
- Add `text-wrap` utilities including `text-balance` and `text-pretty` ([#11320](https://github.com/tailwindlabs/tailwindcss/pull/11320), [#12031](https://github.com/tailwindlabs/tailwindcss/pull/12031))
15+
- Extend default `opacity` scale to include all steps of 5 ([#11832](https://github.com/tailwindlabs/tailwindcss/pull/11832))
1516

1617
## [3.3.7] - 2023-12-18
1718

stubs/config.full.js

+6
Original file line numberDiff line numberDiff line change
@@ -685,15 +685,21 @@ module.exports = {
685685
0: '0',
686686
5: '0.05',
687687
10: '0.1',
688+
15: '0.15',
688689
20: '0.2',
689690
25: '0.25',
690691
30: '0.3',
692+
35: '0.35',
691693
40: '0.4',
694+
45: '0.45',
692695
50: '0.5',
696+
55: '0.55',
693697
60: '0.6',
698+
65: '0.65',
694699
70: '0.7',
695700
75: '0.75',
696701
80: '0.8',
702+
85: '0.85',
697703
90: '0.9',
698704
95: '0.95',
699705
100: '1',

tests/getClassList.test.js

+6
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,21 @@ crosscheck(() => {
9797
'0',
9898
'5',
9999
'10',
100+
'15',
100101
'20',
101102
'25',
102103
'30',
104+
'35',
103105
'40',
106+
'45',
104107
'50',
108+
'55',
105109
'60',
110+
'65',
106111
'70',
107112
'75',
108113
'80',
114+
'85',
109115
'90',
110116
'95',
111117
'100',

0 commit comments

Comments
 (0)