Revert "theme: fix unthemable icons in several areas (#209131)" (#210416)

This reverts commit 6b391eba24.
This commit is contained in:
Sandeep Somavarapu
2024-04-15 23:07:33 +02:00
committed by GitHub
parent 21e0716833
commit 455584024c
16 changed files with 40 additions and 68 deletions

View File

@@ -18,8 +18,6 @@ function getKnownVariableNames() {
return knownVariables;
}
const iconVariable = /^--vscode-icon-.+-(content|font-family)$/;
export interface IValidator {
(value: string, report: (message: string) => void): void;
}
@@ -31,7 +29,7 @@ export function getVariableNameValidator(): IValidator {
let match;
while (match = RE_VAR_PROP.exec(value)) {
const variableName = match[1];
if (variableName && !allVariables.has(variableName) && !iconVariable.test(variableName)) {
if (variableName && !allVariables.has(variableName)) {
report(variableName);
}
}