sforkowany z mirror/soapbox
Remove unused sea-blue color
rodzic
62accd5559
commit
ed12246ae4
|
@ -43,7 +43,6 @@ const DEFAULT_COLORS = ImmutableMap<string, any>({
|
||||||
800: '#991b1b',
|
800: '#991b1b',
|
||||||
900: '#7f1d1d',
|
900: '#7f1d1d',
|
||||||
}),
|
}),
|
||||||
'sea-blue': '#2feecc',
|
|
||||||
'greentext': '#789922',
|
'greentext': '#789922',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ body,
|
||||||
--dark-blue: #1d1953;
|
--dark-blue: #1d1953;
|
||||||
--electric-blue: #5448ee;
|
--electric-blue: #5448ee;
|
||||||
--electric-blue-contrast: #e8e7fd;
|
--electric-blue-contrast: #e8e7fd;
|
||||||
--sea-blue: #2feecc;
|
|
||||||
|
|
||||||
// Sizes
|
// Sizes
|
||||||
--border-radius-base: 4px;
|
--border-radius-base: 4px;
|
||||||
|
|
|
@ -58,7 +58,6 @@ module.exports = {
|
||||||
'accent-blue': true,
|
'accent-blue': true,
|
||||||
'gradient-start': true,
|
'gradient-start': true,
|
||||||
'gradient-end': true,
|
'gradient-end': true,
|
||||||
'sea-blue': true,
|
|
||||||
'greentext': true,
|
'greentext': true,
|
||||||
}),
|
}),
|
||||||
animation: {
|
animation: {
|
||||||
|
|
|
@ -42,12 +42,10 @@ describe('parseColorMatrix()', () => {
|
||||||
accent: [300, 500],
|
accent: [300, 500],
|
||||||
'gradient-start': true,
|
'gradient-start': true,
|
||||||
'gradient-end': true,
|
'gradient-end': true,
|
||||||
'sea-blue': true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const result = parseColorMatrix(colorMatrix);
|
const result = parseColorMatrix(colorMatrix);
|
||||||
|
|
||||||
expect(result['sea-blue']({})).toEqual('rgb(var(--color-sea-blue))');
|
|
||||||
expect(result['gradient-start']({ opacityValue: .7 })).toEqual('rgb(var(--color-gradient-start) / 0.7)');
|
expect(result['gradient-start']({ opacityValue: .7 })).toEqual('rgb(var(--color-gradient-start) / 0.7)');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue