All Projects → transcranial → Atom Transparency

transcranial / Atom Transparency

How to make your Atom editor transparent

Projects that are alternatives of or similar to Atom Transparency

Apex Ui
Apex monochrome Atom theme UI.
Stars: ✭ 407 (-14.68%)
Mutual labels:  atom, atom-editor
electron-highlighter-syntax
Syntax theme for Atom editor
Stars: ✭ 16 (-96.65%)
Mutual labels:  atom, atom-editor
nord-atom-syntax
An arctic, north-bluish clean and elegant Atom syntax theme.
Stars: ✭ 72 (-84.91%)
Mutual labels:  atom, atom-editor
Gloom
A dark and gloomy pastel color syntax theme for Atom.
Stars: ✭ 182 (-61.84%)
Mutual labels:  atom, atom-editor
atom-toolbar-almighty
Atom editor's missing toolbar
Stars: ✭ 21 (-95.6%)
Mutual labels:  atom, atom-editor
Atom Portable
Portable version of the Atom text editor
Stars: ✭ 187 (-60.8%)
Mutual labels:  atom, atom-editor
atom-carbon-now-sh
Atom package to open the current editor content in https://carbon.now.sh/
Stars: ✭ 15 (-96.86%)
Mutual labels:  atom, atom-editor
Docker Atom Editor
Run the Atom editor within a Docker container
Stars: ✭ 110 (-76.94%)
Mutual labels:  atom, atom-editor
atom-zurb-foundation
Zurb Foundation 6 for sites snippets.
Stars: ✭ 31 (-93.5%)
Mutual labels:  atom, atom-editor
atom-linter-xo
Linter for XO
Stars: ✭ 90 (-81.13%)
Mutual labels:  atom, atom-editor
Atom React Snippets
esnext React snippets
Stars: ✭ 146 (-69.39%)
Mutual labels:  atom, atom-editor
prot16
Colour schemes mainly for highlighting code syntax. Each theme uses a 16-colour palette. It comes in light and dark variants.
Stars: ✭ 18 (-96.23%)
Mutual labels:  atom, atom-editor
Markdown Themeable Pdf
ARCHIVED. NOT MAINTAINED. Themeable Markdown Converter (Print to PDF, HTML, JPEG or PNG)
Stars: ✭ 130 (-72.75%)
Mutual labels:  atom, atom-editor
RebelChat
Rebel Chat 💬 - is a modern way to keep in touch with any team, and keep your messaging under control right in your editor.
Stars: ✭ 19 (-96.02%)
Mutual labels:  atom, atom-editor
Apex Syntax
Apex monochrome Atom theme syntax.
Stars: ✭ 127 (-73.38%)
Mutual labels:  atom, atom-editor
language-mjml
Atom Editor package providing syntax support for MJML
Stars: ✭ 48 (-89.94%)
Mutual labels:  atom, atom-editor
Nord Atom Ui
An arctic, north-bluish clean and elegant minimal Atom UI theme.
Stars: ✭ 94 (-80.29%)
Mutual labels:  atom, atom-editor
Atom Ava
Snippets for AVA and run tests directly in the editor
Stars: ✭ 96 (-79.87%)
Mutual labels:  atom, atom-editor
VisualTeensy
VisualCode projects for PJRC Teensy boards
Stars: ✭ 101 (-78.83%)
Mutual labels:  atom, atom-editor
atom-ide-crystal
Crystal IDE package for Atom using the Scry Language Server
Stars: ✭ 24 (-94.97%)
Mutual labels:  atom, atom-editor

How To Achieve Atom Editor Transparency

In atom, there is no easy config (yet) to set window or background transparency as you would in iTerm or TextMate. Here's a straightforward guide on how to achieve transparent window awesomeness.

This has been tested on both macOS and Ubuntu 14.04 desktop, for Atom versions 1.0 up through 1.11.

Atom must be built from source with 2 additional lines of code. This makes Atom run as a frameless window which allows transparency to be enabled within Electron. After cloning or forking Atom, add the following to options:

frame: false
transparent: true

in src/browser/atom-window.coffee (pre-v1.9) or src/main-process/atom-window.coffee in versions 1.9+,

changing this:

options =
  show: false
  title: 'Atom'
  backgroundColor: "#fff"
  ...

to this:

options =
  frame: false
  transparent: true
  show: false
  title: 'Atom'
  #backgroundColor: "#fff"
  ...

Note backgroundColor is commented out.

Then run:

./script/clean && ./script/build

Refer to the official build guides for additional instructions if necessary. You may want to build a debian package, for example.

This can take awhile, but once complete, fire up Atom.

On linux, add an additional --enable-transparent-visuals flag while starting atom.

In Atom v1.7+, atom must be started with an additional --disable-gpu flag. Otherwise, there will be a lot of UI flickering.

Open up your editor LESS stylesheet (⌘-shift-p or ctrl-shift-p, then Application: Open Your Stylesheet), and add the following CSS. This is a basic guide - you can experiment with your own settings to get the effect you want. For example, to avoid text-on-text collisions in the autocomplete popups, I set atom-overlay > * to near-complete opacity.

html, html * {
  background: rgba(0, 0, 0, 0) !important;
}

atom-pane, atom-panel, atom-notification {
  background: rgba(0, 0, 0, 0.5) !important;
}

atom-overlay > * {
  background: rgba(0, 0, 0, 0.9) !important;
}

atom-text-editor::shadow {
  .cursor-line {
    background-color: rgba(0, 0, 0, 0.2) !important;
  }
  .selection .region {
    background-color: rgba(0, 0, 0, 0.2) !important;
  }
  .gutter {
    background-color: rgba(0, 0, 0, 0) !important;
  }
}

In the CSS above, this works pre-v1.9:

html * {
  background: rgba(0, 0, 0, 0) !important;
}

but for v1.9+, this must be:

html, html * {
  background: rgba(0, 0, 0, 0) !important;
}

That's it--pretty simple!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].