feat: unify creation entry templates
This commit is contained in:
@@ -80,3 +80,24 @@ describe('index stylesheet draft mobile cards', () => {
|
||||
expect(editableBlock).toContain('-webkit-touch-callout: default;');
|
||||
});
|
||||
});
|
||||
|
||||
describe('index stylesheet creation agent hero contrast', () => {
|
||||
it('keeps dark creation progress hero text light inside remap surfaces', () => {
|
||||
const css = readIndexCss();
|
||||
|
||||
expect(css).toContain('.platform-remap-surface');
|
||||
expect(css).toContain('.creation-agent-hero');
|
||||
|
||||
const labelBlock = getCssBlock(
|
||||
css,
|
||||
':where(.creation-agent-hero__summary, .creation-agent-hero__progress-label)',
|
||||
);
|
||||
expect(labelBlock).toContain('rgba(255, 255, 255, 0.76) !important');
|
||||
|
||||
const valueBlock = getCssBlock(css, '.creation-agent-hero__progress-value');
|
||||
expect(valueBlock).toContain('rgba(255, 255, 255, 0.92) !important');
|
||||
|
||||
const hintBlock = getCssBlock(css, '.creation-agent-hero__progress-hint');
|
||||
expect(hintBlock).toContain('rgba(255, 255, 255, 0.72) !important');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user