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

[Feature Request]: Add possibility to change DevTools font #42055

Open
3 tasks done
pmadhur opened this issue May 7, 2024 · 1 comment
Open
3 tasks done

[Feature Request]: Add possibility to change DevTools font #42055

pmadhur opened this issue May 7, 2024 · 1 comment

Comments

@pmadhur
Copy link

pmadhur commented May 7, 2024

Preflight Checklist

Problem Description

The default font/size of DevTools seems to be changed in the latest stable version (30.0.2). See below the comparision between 29.3.2 and 30.0.2 (tried out with Electron Fiddle). 30.0.2 seems to have different background color and font.

29.3.2:
Electron 29 3 2

30.0.2:
Electron 30 0 2

Proposed Solution

Similar to BrowserView WebPreferences, defaultFontFamily and defaultFontSize, add defaultDevToolsFontFamily defaultDevToolsFontSize. Or add a method in webContents to set the default font/size.

Alternatives Considered

Could not find any possibility to change the DevTools font family/size.

Additional Information

No response

@thorsent
Copy link

Chrome 124.0.6367.207 vs. Electron:
image

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

No branches or pull requests

2 participants