Brasileirão Theme
Português | English

A dark theme and an icon theme for each of 27 clubs of the Brazilian league system (Brasileirão and the lower divisions). The base is the same for all (dark background, light text, discreet syntax). What changes is the club's identity: its color shows up on the active line, line numbers, indent guides, bracket pairs, rulers, the active tab, the cursor, the selection and the status bar — and, behind your code, a faint version of the club's crest.
Independent project. Not affiliated with any football club, with the CBF or with the Brasileirão. Club names and crests are trademarks of their owners. See Credits and licenses.
Teams: Flamengo, Fluminense, Vasco, Botafogo, Palmeiras, Santos, São Paulo, Corinthians, Guarani, Bragantino, Mirassol, Cruzeiro, Atlético-MG, Grêmio, Internacional, Bahia, Vitória, Fortaleza, Ceará, Athletico-PR, Coritiba, Sport, Remo, Paysandu, Amazonas, Goiás and Chapecoense.
What you get
- A color theme per club, with contrast checked on every theme (editor text at 7:1 or better; comments, line numbers, status bar, buttons and bracket levels at 4.5:1 or better).
- An icon theme per club: the club's crest replaces the folder icon. File icons come from Material Icon Theme.
- The crest behind the code: the club's current crest in the editor background, in full color and faint (Flamengo shows a white monogram instead).
- A "Titles" section in the Explorer: the Copa do Brasil, Libertadores and Brasileirão trophies, each with the number of titles. Hover a trophy to see the years. Only the competitions where the club has a title appear, centered: Copa do Brasil, Libertadores, Brasileirão, the Club World Cup, Sudamericana, Copa do Nordeste (northeastern clubs only) and Série B, C and D, each with a trophy photo. The 12 big clubs do not show Série B, C or D titles.
- Old crests for the editor background: the "Escudos" button in the status bar, or the command "Brasileirão: Escolher escudo do fundo" switches the background between the current crest and the club's historical ones (62 crests for all 27 clubs, from the Wikimedia Commons and from images supplied by the project author; each file's source is in
icons/retro-CREDITS.txt). The folder icons in the Explorer follow the chosen old crest too (each old crest has its own icon theme, which also shows up in "Set File Icon Theme"). The old crests keep their original colors. Each one shows the period it was used; a few dates are approximate.
- A team picker with crests, from the status bar or the command palette.
- Indent Rainbow in the club's colors, if you use that extension.
- Better Comments in the club's colors:
// !, // ?, // TODO and // * each get their own look. Better Comments is installed together with the theme.
Installation
Search for Brasileirão Theme in the Extensions view, or:
code --install-extension lucasnicolau30.brasileirao-theme
Requires VS Code 1.80 or newer. The crest in the editor background also needs the Background extension (see Crest in the editor background); everything else works without it.
Choosing a team
Pick the team in one of these ways:
- The "Times" button in the status bar (bottom left) or
Ctrl+Shift+P → "Brasileirão: Escolher time": lists the 27 clubs with the crest of each one that has it, its colors, and the current one selected. Each club says how many crest options it has ("· 5 opções de escudo"), and picking a club that has more than one opens the list with all of them (current, alternates and retro), each with its dates. This is the recommended way.
Ctrl+K Ctrl+T: VS Code's own theme picker, with the Brasileirão: <club> themes among the others.
- Avoid the Set Color Theme and Set File Icon Theme buttons on the extension page. They belong to VS Code (one per kind of theme, and they can't be removed): the list opens in alphabetical order, doesn't mark the current theme, and previews the first item.
VS Code doesn't link a color theme to an icon theme. A bit of extension code does it: when it detects a Brasileirão: <club> theme, it writes the matching workbench.iconTheme to your user settings. When you leave the collection it restores the icon theme you had (if you pick another by hand, it respects that). To turn this off, set "brasileirao.syncIconTheme": false.
Crest in the editor background
VS Code has no API to put an image behind the code. The extension uses the Background extension (shalldie.background), which edits a file of VS Code itself. All of this is expected:
- VS Code asks you to restart when you pick a team (and the first time the crest is applied). The first time, the extension explains this in a message.
- In some versions VS Code warns that the installation is "corrupt". Background tries to hide the warning, but it may show up. Nothing is broken.
- A VS Code update erases the change; the extension reapplies it the next time you open VS Code.
- To not use the background crest, turn off
brasileirao.crestBackground. That restores what you had before. Themes, icons and the "Titles" section keep working without Background.
All crests have the same total height (80% of the window), stars and crown included. The current crests are shown in full color, at 1.5 times the opacity set in brasileirao.crestOpacity; Flamengo shows only its monogram, in white.
Titles
The Titles section at the bottom of the Explorer shows only the competitions where the club has a title, centered: Copa do Brasil, Libertadores (larger), Brasileirão, Club World Cup, Sudamericana, Copa do Nordeste (northeastern clubs only) and Série B, C and D, each with a trophy photo; the 12 big clubs do not show Série B, C or D titles. A club with a single Série C title shows just the Série C. With 4 or 5 competitions everything fits on a single line (items and text shrink to the sidebar width). The Club World Cup is the apex: right next to the Libertadores and centered when there are 5. All trophies have the same height. Each has a badge in the club's color with the number of titles ("x9"). Hovering a trophy shows the years.
The data lives in the titles field of src/teams.js, up to the 2025 season (Copa do Nordeste up to 2026). The Brasileirão follows the CBF's unified criterion (1959 onwards, plus Atlético-MG's 1937); Flamengo also counts 1987. Tests check the years against a table made by hand.
Palettes
| Club |
Main color |
Text accent |
Status bar |
| Flamengo |
#c52613 |
#ff5a45 |
#c52613 |
| Fluminense |
#8f1d3d |
#ec7898 |
#8f1d3d |
| Vasco |
#e0e0e0 |
#f0f0f0 |
#000000 |
| Botafogo |
#eef3f9 |
#ffffff |
#eef3f9 |
| Palmeiras |
#0b7a43 |
#3ccf8a |
#006437 |
| Santos |
#f3ead8 |
#f6eedc |
#e8dfcc |
| São Paulo |
#d3112d |
#ff5c6c |
#f4f4f4 |
| Corinthians |
#bdbdbd |
#ffffff |
#000000 |
| Guarani |
#18a35a |
#4fe08f |
#0b6b3b |
| Bragantino |
#d81f3c |
#ff5a6e |
#b8142b |
| Mirassol |
#f2d21a |
#ffe45c |
#0b6b27 |
| Cruzeiro |
#1d4fc4 |
#7aa2ff |
#0f3fa8 |
| Atlético-MG |
#d0d0d0 |
#f5f5f5 |
#000000 |
| Grêmio |
#0b76b0 |
#4db8f5 |
#0a6aa3 |
| Internacional |
#d4161c |
#ff5d5d |
#b8121a |
| Bahia |
#1f5fd1 |
#6ea4ff |
#0d3f9a |
| Vitória |
#c8102e |
#ff4d63 |
#c8102e |
| Fortaleza |
#2a52c9 |
#7c9bff |
#12308f |
| Ceará |
#d8d8d8 |
#f4f4f4 |
#000000 |
| Athletico-PR |
#d4161c |
#ff5a60 |
#b8121a |
| Coritiba |
#0f9a4f |
#3fd98a |
#0a7a3f |
| Sport |
#d4141c |
#ff5959 |
#b50f16 |
| Remo |
#2a56c6 |
#7a9dff |
#0d2a73 |
| Paysandu |
#1b8fd6 |
#8fd6ff |
#0a6aa8 |
| Amazonas |
#f2c200 |
#ffd84d |
#f2c200 |
| Goiás |
#0aa876 |
#3fe0b0 |
#0a7a5c |
| Chapecoense |
#17a344 |
#4fe08a |
#0b7a32 |
A club's official color doesn't always work as text on a dark background (blues, for instance, look dull). So each club has a main color, used on filled areas, and a lighter version for text.
Six clubs are black and white (Botafogo, Vasco, Corinthians, Santos, Atlético-MG and Ceará). They stand apart by subtle details: the tone of the background and of the white (cool or warm), a light or dark status bar, and the border. In those themes the six bracket levels cycle through three tones instead of six colors.
The terminal and the bottom panel use the same color as the Explorer sidebar.
Indent Rainbow
If you use Indent Rainbow (oderwat.indent-rainbow), it paints indentation yellow, green, pink and blue, which clashes with the club's colors. A theme can't change another extension's settings, so this extension does it with a bit of code: when a Brasileirão: <club> theme becomes active, it replaces indentRainbow.colors (in your user settings) with four of the club's colors at 8% opacity. When you pick a theme outside the collection, it restores the previous value. Without Indent Rainbow installed, nothing happens.
A theme can't color // ! or // TODO: that is done by the Better Comments extension (aaron-bond.better-comments), which is why it is installed together with this one. When a Brasileirão: <club> theme becomes active, the extension writes better-comments.tags (in your user settings) with the club's colors:
| Tag |
Look |
// ! |
the club's highlight color, bold, on a faint background |
// ? |
a soft tone of the club, italic |
// TODO |
the club's second tone, bold and underlined |
// * |
the club's main tone |
// // |
struck-through gray (commented-out code) |
Better Comments only reads its tags at startup, so after changing club VS Code offers to reload the window. When you pick a theme outside the collection, the previous value is restored.
File icons
If Material Icon Theme is installed on the machine that builds the package, the club's icon theme uses its file icons (hundreds of types) and replaces all folders with the club's crest. Material is MIT-licensed and its license ships in icons/_material/LICENSE.txt. Without Material, the build uses 18 icons of its own (JavaScript, TypeScript, JSX, TSX, JSON, package.json, HTML, CSS, Markdown, Python, Java, C#, SQL, YAML, shell, images, text, config files and the node_modules and .git folders).
Settings
| Setting |
Default |
What it does |
brasileirao.syncIconTheme |
true |
Picking a Brasileirão: <club> theme also switches to the same club's icon theme. |
brasileirao.crestBackground |
true |
Shows the crest in the editor background. Needs the Background extension. Turning it off restores the previous configuration. |
brasileirao.crestOpacity |
0.08 |
Opacity of the background crest (0.01 to 0.3). |
Development
npm run build # generates themes, icons and the package.json contributes block
npm run check # checks the minimum contrasts on the 27 themes
npm test # data, generated files and contrast tests (node --test)
npm run package # build + check + brasileirao-theme.vsix
npm run instalar # package + installs in VS Code (then reload the window)
npm run preview # generates preview/index.html with the 27 clubs side by side
The team table is src/teams.js. To change a color, a label or a club's titles, edit it there and run npm run build. The files in themes/ and icons/ are generated and must not be edited by hand.
To try it without installing, open this folder in VS Code and press F5.
Crest images
Crests are trademarks of the clubs. The sources live in assets/escudos/ (and assets/escudos/fundo/ for the editor-background silhouettes) and are in .gitignore, so they don't go to the repository. npm run build uses the ones that exist; without a file, the folder uses the club's color.
Credits and licenses
This project's code is under the MIT License. Third-party material, and how it is used:
Software
| What |
Author |
License |
How it is used |
| Material Icon Theme |
Philipp Kief |
MIT |
File icons, bundled in icons/_material/ with its license. |
| Background |
shalldie |
MIT |
Not bundled. Required only for the editor-background crest. |
| Better Comments |
Aaron Bond |
MIT |
Not bundled. Installed as a dependency; only its tags setting is changed. |
| Indent Rainbow |
oderwat |
MIT |
Not bundled. Only its colors setting is changed, if it is installed. |
Trophy photos
Cut out from their background and resized, via Wikimedia Commons.
The adapted Libertadores image (images/trofeus/libertadores.png) is distributed under the same license as the original, CC BY-SA 4.0. The rest of the project stays under MIT.
Crests and marks
Public-domain status on Wikimedia Commons concerns copyright only; the crests remain trademarks of the clubs.
Data
Title counts and years come from the Portuguese and English Wikipedia articles on the Campeonato Brasileiro (Séries A to D), the Copa do Brasil, the Copa Libertadores, the Copa Sul-Americana, the Club World Cup, the Copa do Nordeste and each club (text under CC BY-SA 4.0; the facts themselves are not copyrightable).
Disclaimer
Independent extension, with no link to any football club, the CBF or the Brasileirão. Club names, crests and the competition logo are trademarks of their respective owners and appear here only to identify each theme. If an owner asks for removal, the package comes down.
License
MIT