-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add user stylesheet #40764
Add user stylesheet #40764
Conversation
I'm vscode fans, but to be honest, Brackets's interface is better than vscode. I'm look forward this pull-request. |
🎉 Let's make this happen. |
Thanks for this PR but we decided to not allow these kinds of modifications to our CSS directly. Rather, we think that our theming story should be evolved to allow more user configurations. See #26128, #26129 and #26130 for example. The two main issues with this approach here is:
|
You can't make 10n configs to change every minor CSS setting. |
I'm a bit disappointed :c |
|
I don't think anyone expects you to. Just like with Atom, classes change all the time, and users should expect to have to adjust their custom CSS accordingly. My use-case for custom CSS isn't changing the entire skin of vscode, it's tiny things like wanting to change the border around the bracket matchers because I don't like how they render next to the cursor
I think this could easily be solved by a strict enforcement of not allowing bug reports while custom CSS is enabled. Similarly to how you may ask someone to disable plugins/extensions, people should also disable their custom CSS |
@chrisdothtml I suggest to file enhancement requests for these little things that you want to see different and we can think about adding an option for it specifically. |
Well, you really think that's the best solution? |
@bpasero is the decision to not implement custom CSS a branding thing? It would make sense if the team wanted to maintain a consistent appearance for vscode (and it would explain why the theming is so limited in general). It just feels like the reasoning given for not doing it doesn't hold water. This is a tool for people who like to hack their tools and make them their own. I agree with @felipenmoura that it would be much more extra work to go through a feature request for every tiny tweak to the UI. Quite a lot of development tools allow for this (either natively or via an extension) because it makes the authors' jobs easier! Why waste time addressing everyone's opinion on the UI, when you can just let them make any adjustments they want |
End war the on user customization@bpasero My points have already been stated, but seeing as the issue hasn't been solved yet I will reiterate and expand. This will be direct, but I write in all friendliness and am directing this not just to you but the entire VSCode team.
We aren't asking for stability, just the option to enable user stylesheets. Just add a disclaimer notification upon toggling the proposed
That is already happening because you have despoiled the commons and forced users underground. Anyone who was intending to add user styling has already done so through bootstrapping 3rd-party solutions like Custom CSS and JS Loader. Adding a user stylesheet setting will not change the amount of people hacking their vscode, it will just change the way they do it. In fact, it will do it in a much more controlled way that you can eventually seamlessly fully integrate and iron all the issues out of. Furthermore, you have spawned a plague of unnecessary issues (ex. #46403) that could have been cured with a single core setting. Now, instead of users just typing a single line of CSS in their local stylesheet, they are forced to pollute your Github with numerous requests for minuscule changes to their VSCode appearance, making your jobs harder, not easier! It is infinitely easier to write some local CSS than to convince Github maintainers to implement a core solution, and it is way easier to just allow user customization than to meticulously review PR's and Issues, and write fresh code where no one is contributing. You can rest assured by virtue of sheer human laziness that all of us editor hackers will prefer to just continue editing our user stylesheets than arduously voting, commenting, and creating PR's and Issues. Allowing this will drastically cut down on issues.
Why does it have to be one or the other? Why not both? We already wrote the code for you, you're literally creating more work for yourselves by disallowing user styling. As @ironyman pointed out so succinctly "regulation over prohibition". You have prohibited us, so the people have taken to the streets, over 150,000 of them (Installs on Custom CSS and JS). End war the on user customization. |
@bpasero Is there a way to define custom font in the CSS via |
@kiwi0fruit Install Custom CSS and JS Loader and then follow the instructions to add the following to your imported stylesheet: .settings-editor * {
font-family: Ubuntu !important;
} You can experiment with and without the I'm not familiar with |
@ashrafhadden Thanks. But I meant setting in the standard interface in settings. Not playing with themes. And I also prefer to do that without Custom CSS and JS Loader. I guess that not possible but I'm at least curious if it ever would be possible. |
The problem is, with over 5,000 open issues, many of the theming feature requests are being closed, with the reasoning being that they won't be implemented any time soon. So while more configurations would be nice, realistically, that might not happen for years, if ever. This would have been an instant solution.
As others have already stated, extensions that allow you to hack this problem are already contributing to this By the way, for anyone looking for a less-hacky solution, Customize UI works well. |
Implements the feature request from #459