Skip to content

Commit 1c5e4c4

Browse files
committed
Remove unused contrast constants
1 parent aa00af8 commit 1c5e4c4

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/core/constants.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,22 +1294,3 @@ export const EXCLUDE = Symbol('exclude');
12941294
* @private
12951295
*/
12961296
export const JOIN = Symbol('join');
1297-
1298-
/**
1299-
* Can be used with `Color.contrast` to check if graphics, UI elements, and large text
1300-
* have enough contrast.
1301-
* @typedef {'color-contrast-minimum-graphics'} COLOR_CONTRAST_MINIMUM_GRAPHICS
1302-
* @property {COLOR_CONTRAST_MINIMUM_GRAPHICS} COLOR_CONTRAST_MINIMUM_GRAPHICS
1303-
* @final
1304-
*/
1305-
export const COLOR_CONTRAST_MINIMUM_GRAPHICS = 4.5;
1306-
1307-
1308-
/**
1309-
* Can be used with `Color.contrast` to check if text smaller than 14pt (~19px)
1310-
* has enough contrast.
1311-
* @typedef {'color-contrast-minimum-text'} COLOR_CONTRAST_MINIMUM_TEXT
1312-
* @property {COLOR_CONTRAST_MINIMUM_TEXT} COLOR_CONTRAST_MINIMUMD_TEXT
1313-
* @final
1314-
*/
1315-
export const COLOR_CONTRAST_MINIMUM_TEXT = 7.0;

0 commit comments

Comments
 (0)