Skip to content

Commit c9518d0

Browse files
GuitarBroGuitarBro
GuitarBro
authored and
GuitarBro
committed
Update for 2.1.x
1 parent 13145c3 commit c9518d0

File tree

2 files changed

+37
-5
lines changed

2 files changed

+37
-5
lines changed

hub_patcher.py

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
/* */
1111
/******************************************/
1212
/* */
13-
/* Last updated on 2019-07-12. */
13+
/* Last updated on 2019-08-17. */
1414
/* */
1515
/* Tested with: */
16-
/* - v2.0.2-v2.0.4 */
16+
/* - v2.1.0 */
1717
/* */
1818
/******************************************/
1919
@@ -60,6 +60,9 @@
6060
.md-caption{
6161
color: var(--main-text) !important;
6262
}
63+
.learn-nav-bar .learn-url{
64+
color: var(--main-text) !important;
65+
}
6366
project-list .project-list-row:hover {
6467
background-color: var(--bg-lighter-1) !important;
6568
}
@@ -107,7 +110,7 @@
107110
color: var(--text-lighter-1);
108111
}
109112
.install-badge{
110-
background-color: var(badge-gray) !important;
113+
background-color: var(--badge-gray) !important;
111114
}
112115
md-input-container.md-default-theme:not(.md-input-invalid).md-input-has-value label, md-input-container:not(.md-input-invalid).md-input-has-value label {
113116
color: var(--medium-ligher-1) !important;
@@ -119,6 +122,23 @@
119122
md-input-container.md-default-theme .md-input::placeholder, md-input-container .md-input::placeholder{
120123
color: var(--medium-ligher-1) !important;
121124
}
125+
/* common */
126+
md-list.md-default-theme md-list-item.md-2-line .md-list-item-text h3,
127+
md-list md-list-item.md-2-line .md-list-item-text h3,
128+
md-list.md-default-theme md-list-item.md-2-line .md-list-item-text h4,
129+
md-list md-list-item.md-2-line .md-list-item-text h4,
130+
md-list.md-default-theme md-list-item.md-3-line .md-list-item-text h3,
131+
md-list md-list-item.md-3-line .md-list-item-text h3,
132+
md-list.md-default-theme md-list-item.md-3-line .md-list-item-text h4,
133+
md-list md-list-item.md-3-line .md-list-item-text h4 {
134+
color: var(--text-lighter-1);
135+
}
136+
md-list.md-default-theme md-list-item.md-2-line .md-list-item-text p,
137+
md-list md-list-item.md-2-line .md-list-item-text p,
138+
md-list.md-default-theme md-list-item.md-3-line .md-list-item-text p,
139+
md-list md-list-item.md-3-line .md-list-item-text p {
140+
color: var(--main-text) !important;
141+
}
122142
/* button */
123143
.md-button.md-default-theme.md-raised, .md-button.md-raised {
124144
color: var(--text-lighter-1);
@@ -130,6 +150,9 @@
130150
.md-button.md-default-theme.md-raised:not([disabled]).md-focused, .md-button.md-raised:not([disabled]).md-focused {
131151
background-color: var(--bg-lighter-1);
132152
}
153+
md-nav-bar.md-default-theme .md-button._md-nav-button.md-unselected, md-nav-bar .md-button._md-nav-button.md-unselected{
154+
color: var(--text-lighter);
155+
}
133156
/* tabs */
134157
md-tabs.md-default-theme .md-tab, md-tabs .md-tab {
135158
color: var(--main-text);
@@ -144,7 +167,16 @@
144167
.um-user-account md-card{
145168
background:transparent;
146169
}
147-
</style>\n"""
170+
/* learn item */
171+
.learn-page .learn-item{
172+
background-color: var(--bg-lighter-2) !important;
173+
}
174+
/* learn item top */
175+
.learn-top-container .learn-top-items .learn-top-item .learn-top-item-text .learn-top-item-desc {
176+
color: var(--main-text) !important;
177+
}
178+
</style>
179+
"""
148180

149181
if len(sys.argv) == 2:
150182
path = sys.argv[1]

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ These instructions will get you a copy of the project up and running on your loc
1010

1111
* Node Package Manager (NPM)
1212
* Python 3.5+
13-
* Unity Hub 2.0.0+
13+
* Unity Hub 2.1.x
1414

1515
## License
1616

0 commit comments

Comments
 (0)