Skip to content

Commit d2f47df

Browse files
authored
Merge pull request #403 from element-hq/t3chguy/PSB-968
Make components contrast-control friendly
2 parents b832c1b + 4dc19ba commit d2f47df

File tree

245 files changed

+153
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+153
-16
lines changed

playwright.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ export default defineConfig({
2323
viewport: { width: 720, height: 720 },
2424
},
2525
},
26+
{
27+
name: "contrast",
28+
use: {
29+
...devices["Desktop Firefox"],
30+
viewport: { width: 720, height: 720 },
31+
launchOptions: {
32+
firefoxUserPrefs: {
33+
"browser.display.document_color_use": 2,
34+
},
35+
},
36+
},
37+
},
2638
],
2739
webServer: {
2840
command: `npx serve -c ../.serverc.json -p ${port} -L storybook-static/`,
27.7 KB
26.4 KB
20.3 KB
20 KB
14.9 KB
19.4 KB
15.9 KB
12.6 KB
11.8 KB

0 commit comments

Comments
 (0)