Giter Club home page Giter Club logo

atom-visual-studio-code-ui's Introduction

Atom Visual Studio Code UI theme Build Status

Banner Atom Visual Studio Code UI

This theme aims to reproduce the exact feeling of work with Visual Studio Code. So you don't need to renounce to the features of Atom to enjoy a great workflow. It looks even better with monokai syntax. If you prefer, there is an alternative version in light colors.

Made by @Zeioth


atom-visual-studio-code-ui

Install your toolbar

After you install this theme you'll only have the color scheme of Visual Studio Code. To enjoy the full experience you must install the next packages.

  1. tool-bar by suda - This will enable the sidebar. You can set the position to left.
  2. flex-tool-bar by cakecatz - It will allow us to configure the elements of the tool-bar.
  3. git-plus by akonwi - Having this you can run git commands from your toolbar.

Customize your toolbar

You can't see the toolbar yet. To configure it, you must press ctrl+shift+p and write "Flex Tool Bar: Edit Config File". Then paste this code and save it. You should be able to see your new toolbar after restart Atom.

[
  {
    type: "button"
    iconset: "ion"
    icon: "ios-copy"
    callback: "tree-view:toggle"
    tooltip: "Toggle Project Tree"
  }
  {
    type: "button"
    iconset: "fa"
    icon: "columns"
    tooltip: "Split Screen"
    callback: ["pane:split-right"]
  }
  {
    type: "button"
    iconset: "devicon"
    icon: "git-plain"
    callback: "git-plus:menu"
    tooltip: "Git"
    style:
      color: "#0198E1"
  }
  {
    type: "url"
    iconset: "ion"
    icon: "bug"
    url: "http://localhost:8000"
    tooltip: "Debug Django Project"
    show: [ "Python", "HTML", "JavaScript" ]
  }
]

FAQ

Can I custumize this theme? Yes, you can change anything in your styles.less like this:

.theme-atom-visual-studio-code-ui {
  atom-text-editor {
    background-color: #272822;
  }
}

My toolbar icons are too small! You can edit the size of the icons in "Preferences > Packages > Tool-bar".

Something has an incorrect color or size? Go to our Github repository, and open an issue uploading an image of your problem. I will fix it as soon as possible. Also, this theme is based on One Dark UI, so if you need further help, please refer to the documentation of said theme.

atom-visual-studio-code-ui's People

Contributors

anaisbetts avatar benogle avatar brucevang avatar fredwu avatar izuzak avatar jessegrosjean avatar kevinsawicki avatar marcusguttenplan avatar mcolyer avatar mnquintana avatar postcasio avatar shama avatar simurai avatar steverandy avatar taylorlapeyre avatar thedaniel avatar thomasjo avatar vmarkovtsev avatar zeioth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

atom-visual-studio-code-ui's Issues

Problem with atom 1.8

Hi there.

I've tried to install and it was all fine. The problem was when changing the theme in the options. It shows up the VS theme, I select it but it does nothing. after few seconds, it change back to atom dark one.

Anything I can do?

Thanks

about syntax theme

Hi,
what is the syntax theme you are using in your demo image, I install your package but the syntax doesn't look same as yours.

thanks!

Deprecated selector in `atom-visual-studio-code-ui\index.less`

In atom-visual-studio-code-ui\index.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor[mini] .placeholder-text, atom-text-editor[mini]::shadow .placeholder-text => atom-text-editor[mini] .placeholder-text, atom-text-editor[mini].editor .placeholder-text

  • atom-text-editor[mini] .selection .region, atom-text-editor[mini]::shadow .selection .region => atom-text-editor[mini] .selection .region, atom-text-editor[mini].editor .selection .region

  • atom-text-editor[mini] .cursor, atom-text-editor[mini]::shadow .cursor => atom-text-editor[mini] .cursor, atom-text-editor[mini].editor .cursor

  • atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow => atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused.editor

  • atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused::shadow .selection .region => atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused.editor .selection .region

  • .markdown-preview atom-text-editor::shadow .line.cursor-line => .markdown-preview atom-text-editor.editor .line.cursor-line

  • .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor::shadow .gutter => .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor.editor .gutter

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Deprecated selector in `atom-visual-studio-code-ui/index.less`

In atom-visual-studio-code-ui/index.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor[mini] .placeholder-text, atom-text-editor[mini]::shadow .placeholder-text => atom-text-editor[mini] .placeholder-text, atom-text-editor[mini].editor .placeholder-text

  • atom-text-editor[mini] .selection .region, atom-text-editor[mini]::shadow .selection .region => atom-text-editor[mini] .selection .region, atom-text-editor[mini].editor .selection .region

  • atom-text-editor[mini] .cursor, atom-text-editor[mini]::shadow .cursor => atom-text-editor[mini] .cursor, atom-text-editor[mini].editor .cursor

  • atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow => atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused.editor

  • atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused::shadow .selection .region => atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused.editor .selection .region

  • .markdown-preview atom-text-editor::shadow .line.cursor-line => .markdown-preview atom-text-editor.editor .line.cursor-line

  • .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor::shadow .gutter => .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor.editor .gutter

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Deprecated selector in atom-visual-studio-code-ui/index.less

Have this error:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor[mini] .placeholder-text, atom-text-editor[mini]::shadow .placeholder-text => atom-text-editor[mini] .placeholder-text, atom-text-editor[mini].editor .placeholder-text
atom-text-editor[mini] .selection .region, atom-text-editor[mini]::shadow .selection .region => atom-text-editor[mini] .selection .region, atom-text-editor[mini].editor .selection .region
atom-text-editor[mini] .cursor, atom-text-editor[mini]::shadow .cursor => atom-text-editor[mini] .cursor, atom-text-editor[mini].editor .cursor
atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow => atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused.editor
atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused::shadow .selection .region => atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused.editor .selection .region
.markdown-preview atom-text-editor::shadow .line.cursor-line => .markdown-preview atom-text-editor.editor .line.cursor-line
.theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor::shadow .gutter => .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor.editor .gutter
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
Report Issue

Deprecated selector in `atom-visual-studio-code-ui\index.less`

In atom-visual-studio-code-ui\index.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor[mini] .placeholder-text, atom-text-editor[mini]::shadow .placeholder-text => atom-text-editor[mini] .placeholder-text, atom-text-editor[mini].editor .placeholder-text

  • atom-text-editor[mini] .selection .region, atom-text-editor[mini]::shadow .selection .region => atom-text-editor[mini] .selection .region, atom-text-editor[mini].editor .selection .region

  • atom-text-editor[mini] .cursor, atom-text-editor[mini]::shadow .cursor => atom-text-editor[mini] .cursor, atom-text-editor[mini].editor .cursor

  • atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow => atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused.editor

  • atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused::shadow .selection .region => atom-text-editor[mini].is-focused .selection .region, atom-text-editor[mini].is-focused.editor .selection .region

  • .markdown-preview atom-text-editor::shadow .line.cursor-line => .markdown-preview atom-text-editor.editor .line.cursor-line

  • .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor::shadow .gutter => .theme-atom-visual-studio-code-ui atom-text-editor .gutter, .theme-atom-visual-studio-code-ui atom-text-editor.editor .gutter

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Failed to activate the atom-visual-studio-code-ui theme

[Enter steps to reproduce:]

  1. Goto themes and selected Atom-Visual-Studio-Code UI Theme

Atom: 1.27.2 x64
Electron: 1.7.15
OS: Mac OS X 10.13.4
Thrown From: atom-visual-studio-code-ui package 1.3.4

Stack Trace

Failed to activate the atom-visual-studio-code-ui theme

At Unrecognised input. Possibly missing something in /Users/komplex/.atom/packages/atom-visual-studio-code-ui/styles/panes.less:72:0

LessError: Unrecognised input. Possibly missing something
at /Users/komplex/.atom/packages/atom-visual-studio-code-ui/styles/panes.less:72:0

Commands

Non-Core Packages

atom-clock 0.1.16 
atom-visual-studio-code-ui 1.3.4 
city-lights-syntax 1.1.8 
city-lights-ui 1.3.3 
code-snapshot 0.1.0 
flex-tool-bar 2.1.0 
folded-code-preview 0.2.5 
git-plus 7.10.2 
Hydrogen 2.5.0 
mark-code-blocks 0.1.0 
styri-syntax 0.2.0 
term3 0.22.1 
tool-bar 1.1.7 

[question] change font

How can I change the font on the tabs and on the side menu?

Thanks for the great work btw, really nice

merge panes.less with one-dark-ui

I hate to open an issue because I know you put a lot of hard work in on this on your own time! Thank you for making such a great tool.

But I have been running into the issue of not being able to resize split-down panes, which can get frustrating. Digging in, a lot of themes have this issue, but after seeing that you based this on one-dark, I checked out their panes.less files and it looks like they've been updated to handle vertical reiszing (I haven't tested it though). It seems like it would be easy to quickly sync up the .less files, but I'm not sure if it would create issues with your existing code!

Here's how one-dark-ui handles resizing:


atom-pane-container {
  padding-top: @ui-padding-pane;

  atom-pane {
    position: relative;

    .item-views {
      border: 1px solid @pane-item-border-color;
      border-top: none;

      // prevent atom-text-editor from leaking ouside
      // might improve performance
      overflow: hidden;
    }
  }

  // TODO: Remove once it lands in core
  atom-pane-axis {
    & > atom-pane-resize-handle {
      position: relative;
      &:before {
        content: "";
        position: absolute;
        z-index: 3;
      }
    }
  }

  atom-pane-axis.vertical {
    & > atom-pane-resize-handle {
      &:before {
        height: 8px;
        top: -4px;
        left: 0;
        right: 0;
        cursor: row-resize;
      }
    }
  }

  atom-pane-axis.horizontal {
    & > atom-pane-resize-handle {
      &:before {
        width: 8px;
        left: -4px;
        top: 0;
        bottom: 0;
        cursor: col-resize;
      }
    }
  }


  // Add some space between panes
  atom-pane-resize-handle.horizontal.horizontal,
  atom-pane-resize-handle.vertical.vertical {
    margin: 0;
  }
  atom-pane-resize-handle.horizontal.horizontal {
    width: @ui-padding-pane;
    height: initial;
  }
  atom-pane-resize-handle.vertical.vertical {
    width: initial;
    height: @ui-padding-pane;
  }

  atom-pane-resize-handle.horizontal.horizontal:before {
    width: inherit;
    left: initial;
  }
  atom-pane-resize-handle.vertical.vertical:before {
    height: inherit;
    top: initial;
  }

}

Is this feasible? I can also PR if needed.

Thank you!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.