wesbos / cobalt2 Goto Github PK
View Code? Open in Web Editor NEWTweaked and refined Sublime Text theme based on the original cobalt.
Tweaked and refined Sublime Text theme based on the original cobalt.
Sublime complains about BEM indented SASS syntax like
.block {
...
&__element
}
where element
is highlighted as an error.
Any way to fix this ?
CSS selectors have a lighter blue background than everything else and it's pretty distracting. It's the same color as the line focus background color. SCSS doesn't have this issue.
I'm running into an issue where specifically the Red on blue color combination which designates Error in Python has what looks like aliasing issues. (On Ubuntu, if it matters) Everything else comes out crisp and clear, and this exists outside of flipping 'subpixel_antialias' in the font options.
I'm not certain that it's an issue with the theme, but I've ruled out most of the obvious options and figured I'd raise it here in case there's something I've missed.
Image attached for illustration, font size blown up to make it clearer
Above, the caret is on line 6. I would have expected the active guide to show between the def/end for initialize, rather than where it shows which is one indentation level past the class and then goes from top to bottom on the first edge of all the methods of the class.
Is this working as designed?
(I posted this question/issue on your blog before I realized, it is more appropriate here I think. Sorry.)
FYI, I have installed Cobalt2 by using Sublime Text 3's package manager.
Everyday, each time I open Sublime Text, Cobalt2 shows me that an update is available. But in fact, there is no real update. The version is the same than the original one.
Not a critical issue, but it's really annoying to see the release note appears everyday when I start working with Sublime Text.
Any idea to solve that issue ?
I've noticed that keywords in some languages are not showing up in orange like the other keywords. In Python the def
keyword is yellow, as shown in this screenshot.
In JavaScript, var
and function
are yellow instead of orange, although they are keywords/reserved words. See this screenshot for an example.
Lastly, there are several keywords in Groovy that are not orange. This screenshot shows that the keywords class
, def
, and static
are all yellow.
Is this something that can be fixed by adjusting the Cobalt2 theme, or is this an issue with what the language file considers a "keyword"? Or are the colors correct? If so, what is the reasoning for those keywords not being orange like most of the others?
Thanks!
I really like this theme but the block highlighting hurts my eyes a little. Is there a way to turn that off?
First off, thanks for the great theme, I dig.
Secondly, I noticed the cobalt2 color scheme provides the result below when using the popular Color Highlighter plugin. Essentially these white-filled areas should be colored:
I reported it here because when I switch to any of the default color schemes, the correct colors show up. Any ideas?
I'm running Sublime3 Build 3083. All of a sudden, the Cobalt theme stopped working. I attempted to re-install the package, but can't find it the package manager.
Obviously a reinstall is in order, but why can't i find it in Package manager?
FWIW the Error message comes up as
Error loading colour scheme Packages/User/Color Highlighter/themes/cobalt2 (SL).tmTheme:
Error parsing plist xml: expected element name in file Packages/User/Color Highlighter/themes/cobalt2 > (SL).tmTheme on line: 479
Took a look in User Preferences and it reads:
"color_scheme": "Packages/User/SublimeLinter/cobalt2 (SL).tmTheme"
Thanks for the help!
Hi Wes. At first thanks for the great theme and color scheme. There is only one slight flaw - but i am unsure if it would be possible to fix at all. At the moment you are unable to figure out which of the panes is actually active and in focus.
The only indication is the indent guide if the draw active option is set - but only in case you have the cursor inside a function.
aside that both panes look identical in the screenshot. both highlight the active tab with a orange underline as well as highlight the line the cursor is in. so basically no way visually to distinguish which is the active pane. would it perhaps be possible to distinguish between an active window and a non active by the background color. use the current coloring for the active one and for all others a lighter background color? best regards Ralf
In these PHP examples all words are orange, could you use different colors ?
class ExampleClass
interface ExampleInterface extends ...
abstract class AbstractExample implements ...
public function exampleFunction(...)
protected function exampleFunction(...)
private function exampleFunction(...)
Thanks !
Could you add a separate color for the key parts of the JSON syntax?
Hi there,
I've just installed this lovely theme and it's by far my favorite of all I've tried, however the SCSS syntax package doesn't seem to work well since using the theme. I have to re-select the SCSS from the language dropdown for highlighting to take effect, despite it being selected by default. Is this a known issue?
Hello, i'm having issues when using React JS. basically, when i write jsx (html tags), it's adding blue lines next to each tag. (i'm writing my js inside html)
Is it possible to add an option so we can use a folder icon instead of the arrow?
Hello :
i want to know need i add this "indent_guide_options": ["draw_normal", "draw_active"] to "setting user" ?
I switched from Soda to Cobalt2 and accidentally had the soda_classic_tabs
setting set to true in one of my settings files. This caused Cobalt2 to use dark grey "chromium-style" tabs, which looked pretty awful. Unless you plan to style the classic tabs to match Cobalt2, I think it would be better just to disable that setting.
Press Ctrl+F and can't select string from histroy - no arrow down button.
As I see here no implemention for class 'dropdown_button_control' in the theme.
Hello,
I really like your theme and prefer its color scheme to the default Cobalt in many aspects. But the different background in this keywords... I'm not sure if this is a bug or a feature. Is it on purpose?
You can see what I mean in your own Python screenshot. Every 'self', and the function arguments in the declaration have the background a bit brighter.
JSP files are represented by RSS-like icon - maybe it should be same icon as java.
Can you add pom.xml icon (maven build config)?
I've moved everything to one simple folder so we should be okay to put this on will bond's package control. Will do this soon
http://wbond.net/sublime_packages/package_control/package_developers
I noticed that css and scss files have different colors for the same elements.
For example:
http://prntscr.com/56zr9m
http://prntscr.com/56zrui
Everything else seems to be as shown except for that.
Hi, I can't find any info on how to enable the file icons. I guess they are on by default. However I don't see any. Tried re-installing the package. Other packages installed: Emmet, Origami. Using ST3 b3065
I had the package for some time, but only had the color_scheme
turned on (because i hadn't read much of your book yet), today, I added the theme
setting and the fonts (sidebar and tags) and tabs didn't look quite right. After restarting st3, it's very nice!
Is it possible to show file icons for the "open files" section of the sidebar? I think it would be nice to see them when Im not in a project as well. Thanks!
I'm not too sure why this is occuring on my ubuntu 14.04 and sublime 3 build 3065, but all of the textfields for this theme have the background of white:
I tried editing the theme and changing various things, but can't seem to figure it out. If I change the text-field.png, it changes the background behind the white background.
Any ideas?
Here are the base colours:
<dict>
<key>name</key>
<string>SublimeLinter Annotations</string>
<key>scope</key>
<string>sublimelinter.annotations</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#FFFFAA</string>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>SublimeLinter Error Outline</string>
<key>scope</key>
<string>sublimelinter.outline.illegal</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#FF4A52</string>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>SublimeLinter Error Underline</string>
<key>scope</key>
<string>sublimelinter.underline.illegal</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#FF0000</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>SublimeLinter Warning Outline</string>
<key>scope</key>
<string>sublimelinter.outline.warning</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#DF9400</string>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>SublimeLinter Warning Underline</string>
<key>scope</key>
<string>sublimelinter.underline.warning</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#FF0000</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>SublimeLinter Violation Outline</string>
<key>scope</key>
<string>sublimelinter.outline.violation</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#ffffff33</string>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>SublimeLinter Violation Underline</string>
<key>scope</key>
<string>sublimelinter.underline.violation</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#FF0000</string>
</dict>
</dict>
Hi @wesbos the icon for HTML or htm files is missing:
ST3 Dev Build 3066
Windows 7 x64
I get the following error when I try to set cobalt2 as my color scheme:
Error loading color scheme Packages/User/cobalt2.tmTheme: Error parsing plist xml: Error reading end tag. In file "Packages/User/cobalt2.tmTheme
Anyone else running into this?
Hi.
How we can change font-size of sidebar?
Can we change the file icons in sidebar?
Is there any chance to add an icon for JSX files? The Seti-ui of Atom has done it and it is helpful. Thanks.
Can you throw this together as a package for Package Control?
Also, any chance of adding Lua language?
Can you change the color of the "function" or make it italic?
Because it merges with function name or variable name.
http://prntscr.com/51rpll
Step 2 off the instructions read:
Theme - Cobalt2
, and Drop in the Theme - Cobalt2
directory here (Right into /Preferences/)should it not say:
2. Download this repo, rename the folder to Theme - Cobalt2
, and Drop in the Theme - Cobalt2
directory here (Right into /Packages/)?
Nitpicky issue but the spacing of the arrow icons could use more consistent spacing so that they aren't up against the edges of the screen. If the 'prev/next' icons could be centered within their allotted space & the select dropdown could have appropriate padding on the right that'd be ideal.
https://www.dropbox.com/s/samld4kd4doiks4/Screenshot%202015-08-27%2010.37.02.png?dl=0
Hi,
I just updated Cobalt2 Theme and Clojure icons aren't shown any more. I removed an reinstalled Cobalt2 and still the same.
Any ideas?
I'm more than happy to help in debugging or diagnosing/
Thanks.
Hello,
I'm trying to increase the font size of the tab bar because my eyes aren't so great and the display has high DPI so 11px just isn't enough.
I succeeded, but now the text is clipped at the bottom. I tried fiddling with the height and margins but the clipping is unchanged. Thoughts?
The Sublime Package Control is one of the greatest things a user can add to their sublime install. It allows you to get direct access various addons and packages for sublime, much like this one!
The problem is, when you download this theme directly from Package Control, it will not work since it does not name the folder 'Theme - Cobalt2', instead it is just 'Cobalt2'.
While it was easy for me to rename the folder after downloading it from the package control, it would be preferred if it worked directly with the ONLY user interaction being the adding of the two lines of JSON to the settings file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.