Skip to content

Commit 00e73b0

Browse files
authored
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 <4323180+adamwathan@users.noreply.github.com>
1 parent 4f404ff commit 00e73b0

26 files changed

+219436
-9
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939
- Add `has-*` variants for `:has(...)` pseudo-class ([#11318](https://github.com/tailwindlabs/tailwindcss/pull/11318))
4040
- Add `text-wrap` utilities including `text-balance` ([#11320](https://github.com/tailwindlabs/tailwindcss/pull/11320))
4141
- Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist ([#11402](https://github.com/tailwindlabs/tailwindcss/pull/11402), [#11412](https://github.com/tailwindlabs/tailwindcss/pull/11412))
42+
- Extend default `opacity` scale to include all steps of 5 ([#11832](https://github.com/tailwindlabs/tailwindcss/pull/11832))
4243

4344
### Changed
4445

stubs/config.full.js

+6
Original file line numberDiff line numberDiff line change
@@ -678,15 +678,21 @@ module.exports = {
678678
0: '0',
679679
5: '0.05',
680680
10: '0.1',
681+
15: '0.15',
681682
20: '0.2',
682683
25: '0.25',
683684
30: '0.3',
685+
35: '0.35',
684686
40: '0.4',
687+
45: '0.45',
685688
50: '0.5',
689+
55: '0.55',
686690
60: '0.6',
691+
65: '0.65',
687692
70: '0.7',
688693
75: '0.75',
689694
80: '0.8',
695+
85: '0.85',
690696
90: '0.9',
691697
95: '0.95',
692698
100: '1',

tests/getClassList.test.js

+6
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,21 @@ it('should generate utilities with modifier data when requested', () => {
9595
'0',
9696
'5',
9797
'10',
98+
'15',
9899
'20',
99100
'25',
100101
'30',
102+
'35',
101103
'40',
104+
'45',
102105
'50',
106+
'55',
103107
'60',
108+
'65',
104109
'70',
105110
'75',
106111
'80',
112+
'85',
107113
'90',
108114
'95',
109115
'100',

0 commit comments

Comments
 (0)