feat: add transparency checking to nativeTheme
(#42862)
* feat: add transparency checking to nativeTheme
Refs 4684870
* chore: deprecate previous function
* chore: fix lint
This commit is contained in:
parent
9fc760bc4c
commit
5669a40d5c
8 changed files with 48 additions and 2 deletions
|
@ -105,4 +105,10 @@ describe('nativeTheme module', () => {
|
|||
expect(nativeTheme.inForcedColorsMode).to.be.a('boolean');
|
||||
});
|
||||
});
|
||||
|
||||
describe('nativeTheme.prefersReducesTransparency', () => {
|
||||
it('returns a boolean', () => {
|
||||
expect(nativeTheme.prefersReducedTransparency).to.be.a('boolean');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue