Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bitbucket: change fonts and colors in displayed code

How do I change the font and colors used in code displays?


1 answer

0 votes
Ana Retamal Atlassian Team Dec 21, 2017

Hi Doug! Colors and fonts used for code highlighting on Bitbucket can not be customized.  

You can choose the language you're using for your repo and that will determine how the code will be displayed, but you can not change it.

If you'd like, you can submit a feature at (if you're using Bitbucket Cloud) or (if you're using Bitbucket Server)

Best regards!


@Ana RetamalIn the latest version, the PR code font is very very small, we cannot change it and if we zoom out, everything breaks apart, I cannot even comment properly.

Also the font you guys choose is not a programming font, why not use the common ones like Consolas, DejaVu, etc?

Really, is there a workaround for this? The PRs are a nightmare because of this.


Like # people like this

same here: it gives me migraines.

if you open dev tools you can mostly fix it by changing the font size in the css; but it's not

I've posted a suggestion to remove Courier from the font list, it's definitely not a programming font.

Installing Roboto Mono improved my BitBucket experience a lot. Other fonts in the list have restrictive licenses.

Maybe use Consolas?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events