feat(theme): update Hanmac Green and Brown palette steps
Seven shared Hanmac color tokens change: - Green Default #123328 -> #164434, Dark 1 #0a221d -> #11372d, Dark 2 #071e18 -> #0b2b23, Dark 3 #020a07 -> #030e0a - Brown Default #3e3523 -> #4e422d, Dark 1 #352d1d -> #403726, Dark 3 #1d1810 -> #0d0b07 Updates primitives.css, the generated default values, themes/default.json, the verification baseline and the hard-coded Default expectations in the theme Stories and the quality-reference script. --hm-sem-on-accent is intentionally unchanged. check:theme-defaults reports generated outputs match.
This commit is contained in:
1 parent
be0661062f
commit
73ef042c55
8 files changed
+48
-48
No files matched your search
@@ -62,11 +62,11 @@ try {
|
||||
const page = await browser.newPage();
|
||||
await page.goto(`${base}/storybook/iframe.html?id=theme-designer-playground--editor&viewMode=story`, { waitUntil: 'networkidle' });
|
||||
await page.getByRole('button', { name: 'Load Service Example JSON', exact: true }).click();
|
||||
await page.waitForFunction(() => document.querySelector('[aria-label="Primary / Brand HEX"]')?.value !== '#123328');
|
||||
await page.waitForFunction(() => document.querySelector('[aria-label="Primary / Brand HEX"]')?.value !== '#164434');
|
||||
const changed = await page.getByRole('textbox', { name: 'Primary / Brand HEX', exact: true }).inputValue();
|
||||
await page.getByRole('button', { name: 'Load Default JSON', exact: true }).click();
|
||||
await page.waitForFunction(() => document.querySelector('[aria-label="Primary / Brand HEX"]')?.value === '#123328');
|
||||
await page.close(); return { servicePrimary: changed, defaultPrimary: '#123328' };
|
||||
await page.waitForFunction(() => document.querySelector('[aria-label="Primary / Brand HEX"]')?.value === '#164434');
|
||||
await page.close(); return { servicePrimary: changed, defaultPrimary: '#164434' };
|
||||
});
|
||||
await task('RUNTIME_THEME_KEYBOARD', async () => {
|
||||
const page = await browser.newPage();
|
||||
|
||||
Reference in new issue
Block a user