Make CWA linking and uploads optional
This commit is contained in:
@@ -130,6 +130,10 @@ test('sortable headings fill the column with one clickable highlight without shi
|
||||
assert.doesNotMatch(css, /\.stories-table th button:hover\s*\{[^}]*underline/);
|
||||
});
|
||||
|
||||
test('disabled checkbox labels use muted text', () => {
|
||||
assert.equal(declarations("label:has(> input[type='checkbox']:disabled)").color, 'var(--muted)');
|
||||
});
|
||||
|
||||
function luminance(hex) {
|
||||
const channels = hex.slice(1).match(/../g).map((channel) => {
|
||||
const value = parseInt(channel, 16) / 255;
|
||||
|
||||
Reference in New Issue
Block a user