Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 3rd set of illustrations #18420

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

AdrienClairembault
Copy link
Contributor

Description

3rd set of illustration made by Pablo.
I've also modified the tests to make errors more readable and make sure it report all errors at once instead of stopping at the first invalid icon.

@trasher trasher merged commit bde3514 into glpi-project:main Dec 2, 2024
8 checks passed
Comment on lines +100 to +108
if (!str_contains($rendered_icon, 'var(--tblr-primary)')) {
$errors[] = "The '$filename' illustration is missing the primary color.";
}
if (!str_contains($rendered_icon, 'var(--tblr-primary)')) {
$errors[] = "The '$filename' illustration is missing the main menu color.";
}
if (!str_contains($rendered_icon, 'var(--tblr-primary)')) {
$errors[] = "The '$filename' illustration is missing the header color.";
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 3 checks are identical.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, will be fixed here: #18440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants