Skip to content

Commit

Permalink
Commit changed files and submodule updates
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-montalvo authored and github-actions[bot] committed Jun 7, 2024
1 parent d2d9fde commit 0d8ebe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _external/aria-practices
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* high-contrast.js */

use strict;
'use strict';

const htmlColorValues = [
{
Expand Down Expand Up @@ -594,7 +594,7 @@ function computeDistance(hex1, hex2) {
Math.pow(rgb1.r - rgb2.r, 2) +
Math.pow(rgb1.g - rgb2.g, 2) +
Math.pow(rgb1.b - rgb2.b, 2)
);
);
}

/*
Expand Down Expand Up @@ -626,7 +626,7 @@ function getHTMLColorName(systemColorName, colorHex) {
if (
colorHex.substring(1, 2) === colorHex.substring(3, 4) &&
colorHex.substring(1, 2) === colorHex.substring(5, 6)
) {
) {

switch (colorHex[1]) {
case '0':
Expand Down

0 comments on commit 0d8ebe6

Please sign in to comment.