feat: add transparency checking to nativeTheme
(#43137)
feat: add transparency checking to nativeTheme
This commit is contained in:
parent
8e21aad444
commit
832090d01c
4 changed files with 18 additions and 1 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