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 darkMode for logger #231

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

PhantasWeng
Copy link

My Chrome console is Dark Mode, current logger's color are not clearly for debug.
I add darkMode option to change the color of log.

thislooksfun added a commit to thislooksfun/audio-queue that referenced this pull request Jan 17, 2020
The default colors in the debug output of vue-socket.io are tuned for light mode consoles, and viewing them in dark mode is effectively impossible. Since the base version does not yet support switching the output color, we instead switch to PhantasWeng's patched version, pending MetinSeylan/Vue-Socket.io#231.
src/logger.js Show resolved Hide resolved
@Grawl Grawl mentioned this pull request Sep 30, 2020
@PhantasWeng
Copy link
Author

default to match media, and can force darkMode when match media is false

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