Skip to content
antares-sqlPublic

About

Antares SQL theme gallery

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Antares SQL themes

Themes for Antares SQL. A theme sets the colors of the interface and of the code editor, and can also change corner radii, border widths, the focus ring and the scrollbars (useful for accessibility themes).

Install a theme

  1. Open the folder of the theme below and download its theme.json.
  2. In Antares open Settings → Themes → Import from file and pick the file.

Imported themes can be exported or removed from the same page. Themes need a version of Antares with theme support.

Create a theme

A theme is a JSON file. Everything except id, name and appearance is optional: missing values are taken from the built-in dark or light theme.

{
  "$schema": "https://raw.githubusercontent.com/antares-sql/themes/main/schema/theme.schema.json",
  "id": "my-theme",
  "name": "My theme",
  "appearance": "dark",
  "author": "Your name",
  "colors": { "bg-app": "#101418", "text": "#e6e6e6" },
  "shape": { "radius": "0.2rem" },
  "editor": {
    "colors": { "background": "#101418", "foreground": "#e6e6e6" },
    "syntax": { "keyword": { "color": "#ff9e64", "fontWeight": "bold" } }
  }
}
  • No code needed: the web theme editor shows a live Antares window: click an element, change its colors, then export the JSON. It can start from the built-in themes or from any theme of this gallery.
  • Start from a complete theme: base/dark.json and base/light.json contain every value of the built-in themes. Every theme can also be exported from Antares (Settings → Themes → Export).
  • Try it while you work: import it in Antares, edit the file and import it again (same id replaces it).
  • The schema (schema/theme.schema.json) lists every token: editors such as VS Code complete and check the file thanks to the $schema line.
  • Colors are hex, rgb()/rgba()/hsl()/hsla() or CSS color names. accent means the color of the connection folder: themes can use it but never change it. Free CSS, url() and var() are not accepted.
  • Accessibility: keep text readable (WCAG contrast 4.5:1 for text on its background). The text size is a separate Antares setting, so a theme doesn't need to change it.

Publish a theme

  1. Fork this repository and add themes/<id>/theme.json (the folder name is the theme id).
  2. Add themes/<id>/preview.png: a screenshot of Antares with the theme, 1024×800, with a query tab, its results and the explorer visible.
  3. Run npm install and npm run build: it validates the theme and generates its README and the index.
  4. Open a pull request.

The themes tagged ace are the code editor themes Antares inherited from the Ace editor (BSD-3-Clause), turned into complete themes.

Themes

Theme Appearance Preview
Ambiance 🌙 Dark
Chaos 🌙 Dark
Chrome ☀️ Light
Clouds ☀️ Light
Clouds Midnight 🌙 Dark
Cobalt 🌙 Dark
Crimson Editor ☀️ Light
Dark Color-Blind Safe 🌙 Dark
Dawn ☀️ Light
Dracula 🌙 Dark
Dreamweaver ☀️ Light
Eclipse ☀️ Light
GitHub ☀️ Light
Green on Black 🌙 Dark
Gruvbox 🌙 Dark
High Contrast Dark 🌙 Dark
High Contrast Light ☀️ Light
Idle Fingers 🌙 Dark
IPlastic ☀️ Light
KatzenMilch ☀️ Light
krTheme 🌙 Dark
Kuroir ☀️ Light
Light Color-Blind Safe ☀️ Light
Merbivore 🌙 Dark
Mono Industrial 🌙 Dark
Monokai 🌙 Dark
Nord Dark 🌙 Dark
Pastel on Dark 🌙 Dark
Solarized Dark 🌙 Dark
Solarized Light ☀️ Light
SQL Server ☀️ Light
Terminal 🌙 Dark
TextMate ☀️ Light
Tomorrow ☀️ Light
Tomorrow Night 🌙 Dark
Tomorrow Night Blue 🌙 Dark
Tomorrow Night Bright 🌙 Dark
Tomorrow Night 80s 🌙 Dark
Twilight 🌙 Dark
Vibrant Ink 🌙 Dark
Xcode ☀️ Light

Maintainers

schema/ (theme.schema.json and tokens.json, the token catalog read by the web editor) and base/ are generated from the Antares sources, which are the reference for the tokens: node scripts/themeKit.js <path of this repository> in the Antares repository. Previews can be regenerated with the real app: node scripts/themePreviews.js <path of this repository> [ids...] (see the script for the setup).

About

Antares SQL theme gallery

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages