diff --git a/components.d.ts b/components.d.ts index bb63627a..3e14a292 100644 --- a/components.d.ts +++ b/components.d.ts @@ -270,6 +270,7 @@ declare module '@vue/runtime-core' { NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default'] NCode: typeof import('naive-ui')['NCode'] NCollapseTransition: typeof import('naive-ui')['NCollapseTransition'] + NColorPicker: typeof import('naive-ui')['NColorPicker'] NConfigProvider: typeof import('naive-ui')['NConfigProvider'] NDivider: typeof import('naive-ui')['NDivider'] NEllipsis: typeof import('naive-ui')['NEllipsis'] @@ -285,7 +286,10 @@ declare module '@vue/runtime-core' { NLayout: typeof import('naive-ui')['NLayout'] NLayoutSider: typeof import('naive-ui')['NLayoutSider'] NMenu: typeof import('naive-ui')['NMenu'] + NP: typeof import('naive-ui')['NP'] + NRate: typeof import('naive-ui')['NRate'] NScrollbar: typeof import('naive-ui')['NScrollbar'] + NTag: typeof import('naive-ui')['NTag'] NumberInput: typeof import('./src/tools/pomodoro-timer/app/components/NumberInput.vue')['default'] NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default'] OcrImage: typeof import('./src/tools/ocr-image/ocr-image.vue')['default'] diff --git a/package.json b/package.json index dcce43a9..de189017 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "@xmldom/xmldom": "^0.8.10", "@younestouati/playing-cards-standard-deck": "^6.0.1", "@zxing/library": "^0.21.3", + "a11y-color-contrast": "^0.2.0", "aircodes": "^1.3.16", "ansible-vault": "^1.3.0", "apache-md5": "^1.1.8", @@ -269,7 +270,6 @@ "vuedraggable": "^4.1.0", "vuex": "^4.1.0", "w-websocket-client": "^1.0.29", - "wcag-contrast-utils": "^1.0.1", "webcrack": "^2.15.0", "webp-converter-browser": "^1.0.4", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f7692e51..43b591ba 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,6 +131,9 @@ dependencies: '@zxing/library': specifier: ^0.21.3 version: 0.21.3 + a11y-color-contrast: + specifier: ^0.2.0 + version: 0.2.0 aircodes: specifier: ^1.3.16 version: 1.3.16 @@ -704,9 +707,6 @@ dependencies: w-websocket-client: specifier: ^1.0.29 version: 1.0.29 - wcag-contrast-utils: - specifier: ^1.0.1 - version: 1.0.1 webcrack: specifier: ^2.15.0 version: 2.15.0 @@ -7469,6 +7469,11 @@ packages: resolution: {integrity: sha512-ZJ6wx9xaKJ3yFUhq5/sk82PJMuUyLk277I8mQeyDgCTjGdjWJIvPfaU5LIXaMuaN2UO1X3kZH4+lgphublZUHw==} dev: false + /a11y-color-contrast@0.2.0: + resolution: {integrity: sha512-INSv5cMPGvJ/jMLvIxRTT9CDQqxODOhoedaQ2+yWIwbxhKyOns9m/7aJjXVQjxp1rntkbiL4lBUtikuH5YK6Cg==} + engines: {node: '>=16.6.0'} + dev: false + /abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} deprecated: Use your platform's native atob() and btoa() methods instead @@ -18180,11 +18185,6 @@ packages: resolution: {integrity: sha512-zksaLKM2fVlnB5jQQDqKXXwYHLQUVH9es+5TOOHwGOVJOCeRBCiPjwSg+3tN2AdTCzjgli4jijCH290kXb/zWQ==} dev: false - /wcag-contrast-utils@1.0.1: - resolution: {integrity: sha512-XDO0ZoIzJmZa/+dDA3hsZTRb/enObfSpo5khBHiW++s+u7ydrFZv4l/0KkomjAlsHZHSI4QCr0n6DJmqwIJOHw==} - engines: {node: '>=10'} - dev: false - /wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} dependencies: diff --git a/src/tools/color-contrast-checker/color-contrast-checker.vue b/src/tools/color-contrast-checker/color-contrast-checker.vue index 7ed4ef6a..82448a84 100644 --- a/src/tools/color-contrast-checker/color-contrast-checker.vue +++ b/src/tools/color-contrast-checker/color-contrast-checker.vue @@ -1,25 +1,49 @@