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

Easier to customize icons on message widget #607

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Feb 27, 2024

CSS change, works the same, but on custom tabs extending messages widget is easy to set icons
Just add label class like this:

div.phpdebugbar-widgets-messages span.phpdebugbar-widgets-my_custom_label:before {
    content: "\f058";
}

Where my_custom_label is the message label

@erikn69
Copy link
Contributor Author

erikn69 commented Feb 27, 2024

adds emergency, alert, critical, notice, debug from Prs\LogLevel standar

Log::EMERGENCY => LogLevel::EMERGENCY,
Log::ALERT => LogLevel::ALERT,
Log::CRITICAL => LogLevel::CRITICAL,
Log::ERROR => LogLevel::ERROR,
Log::WARN => LogLevel::WARNING,
Log::NOTICE => LogLevel::NOTICE,
Log::INFO => LogLevel::INFO,
Log::DEBUG => LogLevel::DEBUG

image

@barryvdh barryvdh merged commit 04f9613 into maximebf:master Mar 1, 2024
7 checks passed
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.

None yet

2 participants