Try to create or edit file named DefaultLookup in the NetBeans user directory (~/.netbeans/<version>). Add custom CSS rules example:
Code:
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
* {
font-family: 'Roboto', sans-serif !important;
}
this example using Google Fonts API to import the "Roboto" font. You can replace it with any other font you prefer. Make sure to choose a font that is available through a web font service or one that is installed on your system. but example changes the font for all elements (*) in NetBeans to Roboto with a fallback to the generic sans-serif font family. But you are free
to adjust the font family, size, or other properties according to your preferences.
Alternatively, if you prefer to use a different font, you can replace "Roboto" with the name of a font that is available on your system in the CSS rule. For example, if you have the "Liberation Sans" font installed, you can modify the rule like this:
Code:
* {
font-family: 'Liberation Sans', sans-serif !important;
}
or
Code:
* {
font-family: 'Liberation Mono', monospace !important;
font-weight: bold !important;
}
run fc-list to find local nice view fonts