Just as title says, I'd like to know if it's possible to change the color theme of Firefox Developer dev tools. Light and dark theme are nice, but I'd like to use a code color theme like Monokai or something similar, how can I do that?
Below you can see the current dark theme in the dev tools:
[
It's not documented (yet), but you could make an Add-on that uses gDevTools.registerTheme(themeDefinition) to create your own dev tools theme.
I found the answer to this in the Mozilla support forum and basically you have to modify the css style creating an overriding chrome stylesheet.
You would have to write your own style rules and apply them via
userChrome.css or Stylish. Use the !important flag to override
existing style rules.
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#The_!important_exception
The customization files userChrome.css (user interface) and
userContent.css (websites) are located in the chrome folder in the
Firefox profile folder.
http://kb.mozillazine.org/Editing_configuration
I have integrated some hints (a prep handler to update the cvt and glyph instructions (simple MIAPs to copy the cvt values to specific points) into a custom TTF font.
I changed the fonts via Python fontTools.ttx
The font and the hints work perfectly when I test the font in TrueTypeViewerQt.
The font (and the hints) work also in PIL.
I can also see the hints in FontForge (for prep and the glyphs), but debugging them just shows "".
I also get this message in the console window:
SplineFontPieceMeal() going unhinted...
When I now use the font from a PDF file (written via reportlab), the font is used, but my hints seem to be ignored by Acrobat Reader, Ghostscript, mudraw, Chrome Web Browser (integrated PDF view), or an own application based on PDFium.
Then font exported from the PDF (via mutool) still contains the hints which work in TrueTypeViewerQt.
PDF: https://www.dropbox.com/s/qn3iooazsq1z2w5/d85.pdf?dl=0
Font: https://www.dropbox.com/s/p6qwug9h6vcgps0/testbar.ttf?dl=0
Any ideas?
I want to install a new font in RStudio.
More specifically, I use RStudio in my office (Windows) and at home (OS X), but I see that the fonts are different and takes me a while to get used to that.
Can someone suggest how to install SAS monospace font in RStudio in Mac?
(I did a search here and in Google but I had no luck finding an answer to my question.)
Thank you in advance!
I ran into similar issue on Windows I wanted to use a new font I installed, mononoki font. I could not find an option to change so I look at RStudio source code and discovered that for Desktop Version of RStudio, RStudio automatically loads fonts from the OS. It should work the same way on MAC.
All you have to do is:
1.Install your font as usual for your OS
2.Then restart RStudio
3.The new font appears in the Editor Fonts pull down menu
(navigation: Global Options -->Appearance --> Editor Fonts)
4.Select the font from Editor Fonts pulldown menu.(Your Done!)
Here is the code which loads the fonts from RStudio. As you can see it automatically loads proportional and fixed fonts. The Web Version of RStudio restricts the font selection to only a few fonts.
static class DesktopThemeFontLoader implements ThemeFontLoader
{
public native final String getProportionalFont() /*-{
return $wnd.desktop.proportionalFont();
}-*/;
public native final String getFixedWidthFont() /*-{
return $wnd.desktop.fixedWidthFont();
}-*/;
}
I want to use Inconsolata font on a intelliJ editor (Android Studio) on Windows but it looks messy.
I managed to load inconsolata by adding some antialiasing options on studio.exe.vmoptions. I just added these options
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Dsun.java2d.xrender=true
and now the font loads but it looks too much crappy to use. Actually any font on this ide looks crappy. Here's a screenshot of the same font on SublimeText right and on Android Studio left
Anyone knows if you can use this font on intelliJ based editors or if there are some issues associated with this font?
We can simply use google fonts It's very easy to implements. only you have to follow these steps.
step 1) Open layout.xml of your project and the select font family of text view in attributes (for reference screen shot is attached)
step 2) The in font family select More fonts.. option if your font is not there. then you will see a new window will open, there you can type your required font & select the desired font from that list i.e) Regular, Bold, Italic etc.. as shown in below image.
step 3) Then you will observe a font folder will be auto generated in /res folder having your selected fonts xml file
Then you can directly use this font family in xml as
android:fontFamily="#font/inconsolata"
I like the dark "FakeVim" color scheme in Qt Creator. However it only makes the editor part dark while everything else stays normal, which is a bit disturbing. Is there any way to make such dark scheme global for Qt Creator?
Vim (dark) Color Scheme
Color scheme is applied solely to text editor (as this is the only option), and not the environment.
Simple in two line
Go to "Tools" -> "Options" -> "Environment" -> "General" tab,
Change "Theme" to dark
I found some trick for your problem!
Here you can see it: Habrahabr -- Redesigning Qt Creator by your hands (russian lang.)
According to that article, that trick is kind of not so dirty, but "hack" (probably it wouldn't harm your system, but it can leave some artifacts on your interface).
You don't need to patch something (there is possibility, but I don't recommend).
Main idea is to use stylesheet like this stylesheet.css:
// on Linux
qtcreator -stylesheet='.qt-stylesheet.css'
// on Windows
[pathToQt]\QtCreator\bin\qtcreator.exe -stylesheet [pathToStyleSheet]
To get such effect:
To customize by your needs, you may need to read documentation: Qt Style Sheets Reference, Qt Style Sheets Examples and so on.
This wiki page is dedicated to custom Qt Creator styling.
P.S. If you'll got better stylesheet, share it, I'll be happy! :)
UPD (10.12.2014): Hopefully, now we can close this topic. Thanks, Simon G., Things have changed once again. Users may use custom themes since QtCreator 3.3. So hacky stylesheets are no longer needed.
Everyone can take a look at todays update: Qt 5.4 released. There you can find information that Qt 5.4, also comes with a brand new version of Qt Creator 3.3. Just take a look at official video at Youtube.
So, to apply dark theme you need go to "Tools" -> "Options" -> "Environment" -> "General" tab, and there you need to change "Theme".
See more information about its configuring here: Configuring Qt Creator.
In newer versions of Qt Creator (Currently using 4.4.1), you can follow these simple steps:
Tools > Options > Environment > Interface
Here you can change the theme to Flat Dark.
It will change the whole Qt Creator theme, not just the editor window.
Here is my dark theme (based on Darcula IntelliJ Theme):
https://github.com/mervick/Qt-Creator-Darcula
QTcreator obeys your kde-wide configurations.
If you choose "obsidian-coast" as the system-wide color scheme qt creator will be all dark as well.
I know it is a partial solution but it works.
My Dark Color scheme for QtCreator is at:
https://github.com/borzh/qt-creator-css/blob/master/qt-creator.css
To use with Vim (dark) scheme.
Hope it is useful for someone.
I found a way to change the Application Output theme and everything that can't be edited from .css.
If you use osX:
Navigate to your Qt install directory.
Right click Qt Creator application and select "Show Package Contents"
Copy the following file to your desktop> Contents/Resources/themes/dark.creatortheme
or /default.creatortheme. Depending on if you are using dark theme or default theme.
Edit the file in text editor.
Under [Palette], there is a line that says error=ffff0000.
Set a new color, save, and override the original file.
Linux, Qt Creator >= 3.4:
You could edit theese themes:
/usr/share/qtcreator/themes/default.creatortheme
/usr/share/qtcreator/themes/dark.creatortheme
Here is a theme that I copied all the important parts of the Visual Studio 2013 dark theme.
**Update 08/Sep/15 - Qt Creator 3.5.1/Qt 5.5.1 might have fixed the rest of Qt not being dark properly and hard to read.