Sublime Text 3 테마가 사이드 바에 영향을 미치지 않는 이유는 무엇입니까?
나는 일반적으로 코딩을 위해 어두운 테마 만 사용하므로 Sublime Text 3의 사이드 바는 어떤 테마를 적용하든 밝은 테마를 유지한다는 것이 실제로 성가시다.
누구든지 이것을 바꾸는 방법을 알고 있습니까?
내 구성 : Mac OSX 10.10.1 Yosemite, Sublime Text 3 안정 채널, 빌드 3065
Sublime의 최신 버전에서이 문제가 해결되었습니다. Preferences를 클릭하고 Theme select Adaptive.sublime-theme을 클릭하십시오 . 사이드 바가 어두운 색으로 바뀝니다.
Sublime UI 테마를 찾고 있는데 Sublime의 사용자 인터페이스를 수정합니다 (예 : 사이드 바). Sublime 윈도우의 코드 부분 만 수정하는 Color Theme / Scheme과 다릅니다. 나는 많은 UI 테마를 테스트했으며 내가 가장 좋아하는 테마 는 Theme-Soda 였습니다. Sublime 's Package Control을 사용하여 설치할 수 있습니다. 사용하려면 환경 설정 >> 설정-사용자 로 이동하여 다음 줄을 추가하십시오.
"theme": "Soda Dark 3.sublime-theme",
다음은 Soda Dark UI 테마 및 Twilight 기본 색 구성표가있는 Sublime Text 3의 인쇄 화면입니다.
Default.sublime-theme를 편집하여 사이드 바 스타일을 수동으로 변경할 수 있습니다.
이렇게하려면 패키지 / 테마-Default / Default.sublime-theme의“sidebar_tree”,“sidebar_heading”등 클래스를 편집하십시오. 이 Default.sublime-theme 를 Packages / User 폴더 에 넣어서 이러한 기본값을 무시할 수 있습니다 .
Sublime Text 메뉴에서“Preferences → Browse Packages…”를 선택하면 메뉴가 나타납니다.
테마를 완전히 적용하려면 Sublime을 완전히 다시 시작해야합니다. Preferences.sublime-settings
테마 변경 플러그인을 변경하고 저장 하거나 사용하는 것만으로 는 효과가 없습니다. 빨간색 점을 클릭하여 창을 닫는 것이 아니라 ⌘Q또는 을 사용해야 Sublime Text -> Quit
합니다.
이 텍스트 편집기를 사용하는 많은 사람들에게 기본적인 오해를 설명하는 메모를 여기에 넣을 것이라고 생각했습니다 ... 특히 숭고한 텍스트 (또는 적어도 내가 사용하는 텍스트이므로 작동 방식을 모르겠습니다) 다른 편집자 용) :
"테마"와 "색 구성표"가 있습니다. 그것들은 비슷하지만 다른 것들에 영향을 미칩니다. "테마"는 전체 UI를 적극적으로 변경하며, 그렇게하면 색 구성표를 포함시킬 수 있습니다. 여기에는 일반적으로 사이드 바가 포함되며 파일 탭에 대한 옵션을 포함 할 수 있으며 일부에는 사이드 바에 대한 아이콘도 포함됩니다. 그리고 우리는 "색 구성표"를 가지고 있습니다. 이것은 코딩 창만 변경하고 사이드 바나 파일 탭 등은 변경하지 않습니다.
혼돈은 일부 사람들이 색 구성표를 "테마"라고 부르기 때문에 사람들은 "테마"가 모든 것을 바꿀 것이라고 생각하게합니다. 기술적으로는 색 구성표 일뿐입니다.
추가 참고 사항 : 테마가 모든 사용자에게 자동으로 설치되는 것은 아닙니다. 테마를 설치할 때 "환경 설정> 설정-사용자"에서 사용자 환경 설정을 열고 다음과 같은 행을 추가해야합니다.
"theme": "Theme-Name.sublime-theme"
(여기서 "테마-이름"은 테마의 이름입니다).
이것은 색 구성표를 활성화하는 것과 다릅니다. Sublime Text의 드롭 다운 메뉴를 통해 색 구성표를 선택한 경우 다음과 같은 줄이 나타납니다.
"color_scheme": "Packages/Color-Scheme-Name.tmTheme"
(여기서 "Color-Scheme-Name"은 색 구성표의 이름입니다).
짧은 버전은 다음과 같습니다.
.sublime-theme
파일은 사이드 바 및 파일 탭을 포함하여 UI의 모양을 변경합니다.- 이것을 정의하는 것은 엄청난 고통이므로, 많은 시간을 절약하고 Theme Menu Switcher 패키지를 설치하십시오 .
업데이트 : Sublime Text 3는 기본적으로 색 구성표 및 테마의 작동 방식을 변경했으며이를 처리하기 위해 만들어진 많은 패키지를 손상 시켰습니다. Sublime 개발자가 사용자 정의 시스템의 변경 사항을 완전히 설명하지 않았거나 수정 방법을 다루지 않았기 때문에이 게시물의 정확성이나 여기에 언급 된 패키지의 기능을 더 이상 확인할 수 없습니다. 그리고 최선을 다해 변경하기가 훨씬 어렵습니다.
At this point, this post should only be used as a reference to the differences between "themes" and "color schemes" in Sublime Text 2, as I myself have yet to successfully change a theme nor color scheme in Sublime Text 3.
I will update this post as I can dedicate more time to unraveling this Sublime Customization Quagmire.
Here's the long version:
Figure 1: The difference between "Color Schemes" and "Themes" - In the Sublime Community these terms are often confused and used interchangeably.
Changing the look of Sublime is a relatively difficult endeavor, for three main reasons:
- Poorly chosen terminology
- Misinformation in the Sublime Community
- Installation Nightmare
Terminology
There are 2 different sections of Sublime that can be customized:
- the editable region (the purple regions)
- the User Interface (the green regions)
These use two different file types, and they do not accurately reflect the terminology.
The "Why?" of this decision is compatibility, and for brevity's sake I won't get into it here, but the fallout of this effort is:
The file type called
tmTheme
does not affect the theme, it affects the Color Scheme.
Color Schemes (highlighted in purple)
- affect the look of the editable region (more specifically, the editable characters, ie what color they are when highlighted or not highlighted, etc).
- relatively easy to produce
- Color Schemes are Mistakenly called "Themes" all over the Sublime Community.
Themes (highlighted in green)
.sublime-theme
files change the Theme, or the UI aspects of Sublime.- difficult to produce
- It is difficult to find true Sublime Themes, compared to "Color Schemes"
Misinformation
Many packages claim to change the Theme, but actually change the Color Scheme. This is usually because the people producing them don't know that "Theme" specifically refers to the UI.
So another level of difficulty is finding a true "Theme" package, rather than Color Scheme.
Even some legit websites do not correctly make a distinction between the two, which adds to the challenges. For instance, colorsublime.com has a tutorial on changing the sublime "theme", but actually references the "Color Scheme" file type (.tmTheme
).
Installation Pains
Themes and Color Schemes are hard to install and define. In fact, it's shocking how difficult the process is. The difficulty is further exacerbated with a fundamental change in installation and definition requirements in Sublime Text 3 that are not fully explained, which breaks many of the packages we once were reliant upon to change the Themes and Color Schemes.
It requires installing an actual Theme package (good luck finding one by browsing Packages in Package Control), defining it in settings, and then restarting Sublime. And, if you did something wrong, Sublime will simply replace your user-defined theme setting with the default. Yes, you heard me right, without notice or error message, Sublime will overwrite your theme definition.
But with Themes Menu Switcher All you need to do is go to Preferences
> Theme
and you'll see a list of all themes you have installed. You can also easily switch between themes without restarting Sublime.
Here's a sample from the website:
I have no affiliation with Theme Menu Switcher at all, I'm just a fan.
Again, Theme Menu Switcher does not work the same in Sublime Text 3. If you need to have a customized look, I recommend not to update to Sublime Text 3.
I first thought I was using SBT 3, then realized I was using version 2 still....
I finally got the sidebar to be dark on Windows!
I noticed that when I had my user settings theme set to "Soda Dark 3.sublime-theme" it would half-way work but you could not see the folder structure. So I decided to try the other option in the Theme - Soda folder without the "3" and it worked right away. This should work below in your Preferences > Settings - User file.
{
"theme": "Soda Dark.sublime-theme",
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme"
}
To Sidebar ceased to be white:
- Download default theme because it is not in the folder sublime link here by default.sublime-Theme
- In sublime 3 preferences -- > > Browse package
- create a folder called "default theme" and put the downloaded file
if you installed the theme setUI, setUI file.sublime-the theme is looking for the line with comment:
"// sidebar || BG of selected files"
and under it a string
"layer0. opacity: { "target": 0.0, "speed": 50.0, "interpolation": "smoothstep" }
replaceable target": 0.0 --> target": 1.0
setting color_scheme
only sets the code pallet, setting theme
sets the whole ST3 theme to the one you specify:
{
"theme": "Nil.sublime-theme",
"color_scheme": "Packages/Theme - Nil/Big Duo.tmTheme"
...
}
One simple way to do this is :
Go to Preferences -> Package Settings -> Your Theme Name -> Activation
In my case I installed Boxy Theme so the path will be
Preferences -> Package Settings -> Boxy Theme -> Activation
Then there will be a pop-up menu that will let you choose which type of the theme package you want to activate.
Use up and down arrow so choose then press enter or simply click the one you want to choose.
This is steps only applicable if the theme installed also customized the sublime text 3 sidebar.
Hope it help anyone!
The best way to enhance your experience and change the sidebar and theme of the sublime text UI is to install two packages to control it:
- Install a theme that has UI inside its package (I use Agila Theme [dracula] )
- Install Themes Menu Switcher package
After you've installed those two, just change the color scheme (text editor) and then with the Theme Menu Switcher you'll switch to whatever UI you use.
Remember: It's required that the theme you install to have UI inside the package.
Just install package SyncedSidebarBg:it will change the sidebar theme based on current color scheme.But it seems that every time you change the color scheme,sidebar will be changed after you open file Preferences.sublime-settings
Material theme 3.1.4에서는 Tools-> Metherial Theme-> Material Theme Config와 같은 테마를 변경할 수 있습니다. 이것은 정말 쉽습니다.
나는 같은 문제가 있었다. 호출 된 json 속성을 편집하여 환경 설정-> 설정 – 사용자에서 테마를 설정하십시오.
{
// Default theme
"theme": "Material-Theme.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme"
}
내가 사용하는 머티리얼 테마. 그것은 나를 위해 일했다.
참고 URL : https://stackoverflow.com/questions/27931448/why-do-sublime-text-3-themes-not-affect-the-sidebar
'programing tip' 카테고리의 다른 글
HTML 이메일에서 작동하는 CSS 최대 너비에 해당합니까? (0) | 2020.07.30 |
---|---|
PHP를 사용하여 경고 메시지 상자를 표시하는 방법? (0) | 2020.07.30 |
“System.IO.Compression”네임 스페이스에서“ZipFile”클래스를 찾지 못했습니다 (0) | 2020.07.30 |
“오류 : 선택한 JDK에서 Java VM 실행 파일을 확인할 수 없습니다”의 이유는 무엇입니까? (0) | 2020.07.30 |
Git으로 두 날짜 사이에 발생한 모든 커밋 사이의 차이점을 어떻게 알 수 있습니까? (0) | 2020.07.30 |