Skip to content

Commit 945b996

Browse files
authored
feat: add support for the new ui (#36)
* feat: improve contrast for new ui * feat: improve contrast for new ui
1 parent 9b03d67 commit 945b996

File tree

3 files changed

+51
-51
lines changed

3 files changed

+51
-51
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group 'tv.codely'
7-
version '2.1.6'
7+
version '2.2.0'
88

99
sourceCompatibility = 1.8
1010

@@ -32,6 +32,7 @@ patchPluginXml {
3232

3333
changeNotes """
3434
<ul>
35+
<li>2.2.0 Add support to the experimental new ui</li>
3536
<li>2.1.6 Add support to 2022.2 IDEs</li>
3637
<li>2.1.5 Add support to 2022.1 IDEs</li>
3738
<li>2.1.4 Add support to 2021.3 IDEs</li>

src/main/resources/codely.theme.json

+12-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"colors": {
77
"bg": "#202124",
88
"bg0": "#232429",
9-
"bg1": "#2c2d35",
9+
"bg1": "#26282d",
1010
"bg2": "#333541",
1111
"bg3": "#393b4e",
1212
"fg": "#EBDBB2",
@@ -25,7 +25,8 @@
2525
"bright_purple": "#eb64b9",
2626
"aqua": "#689d6a",
2727
"bright_aqua": "#8ec07c",
28-
"dark_grey": "#191b1f"
28+
"dark_grey": "#191b1f",
29+
"darker_grey": "#0e0f11"
2930
},
3031
"ui": {
3132
"*": {
@@ -50,7 +51,8 @@
5051
"Borders.color": "bg1"
5152
},
5253
"CompletionPopup": {
53-
"selectionBackground": "bg0"
54+
"selectionBackground": "bg1",
55+
"Advertiser.background": "dark_grey"
5456
},
5557
"Notification.background": "dark_grey",
5658
"ToolTip.Actions.background": "dark_grey",
@@ -108,7 +110,7 @@
108110
},
109111
"FileColor": {
110112
"Blue": "#83a59844",
111-
"Green": "#303930",
113+
"Green": "#222a22",
112114
"Orange": "#fe801988",
113115
"Rose": "#cc241d44",
114116
"Violet": "#d3869b22",
@@ -132,14 +134,17 @@
132134
"background": "dark_grey"
133135
},
134136
"Popup": {
137+
"background": "dark_grey",
138+
"Advertiser.background": "dark_grey",
139+
"Toolbar.background": "dark_grey",
135140
"Header.activeBackground": "dark_grey",
136141
"Header.inactiveBackground": "dark_grey",
137-
"separatorColor": "dark_grey",
142+
"separatorColor": "bg1",
138143
"paintBorder": false
139144
},
140145
"MemoryIndicator": {
141-
"allocatedBackground": "#1d1d1d",
142-
"usedBackground": "bg"
146+
"allocatedBackground": "bg",
147+
"usedBackground": "dark_grey"
143148
},
144149
"ProgressBar": {
145150
"indeterminateStartColor": "bg",

src/main/resources/codely.xml

+37-43
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<option name="DIAGRAM_NOTE_BACKGROUND" value="a89984" />
1919
<option name="DIAGRAM_NOTE_BORDER" value="32302f" />
2020
<option name="DIAGRAM_REALIZATION_EDGE" value="fabd2f" />
21-
<option name="DOCUMENTATION_COLOR" value="141414" />
21+
<option name="DOCUMENTATION_COLOR" value="861414" />
2222
<option name="FILESTATUS_IDEA_FILESTATUS_IGNORED" value="7a725c" />
2323
<option name="FILESTATUS_MODIFIED" value="458588" />
2424
<option name="FILESTATUS_NOT_CHANGED_IMMEDIATE" value="458588" />
@@ -33,19 +33,20 @@
3333
<option name="HTML_TAG_TREE_LEVEL5" value="b16286" />
3434
<option name="HTML_TAG_TREE_LEVEL6" value="d65d0e" />
3535
<option name="HTML_TAG_TREE_LEVEL7" value="689d6a" />
36-
<option name="INDENT_GUIDE" value="303030" />
36+
<option name="INDENT_GUIDE" value="26282d" />
3737
<option name="INFORMATION_HINT" value="141414" />
38+
<option name="LINE_NUMBERS_COLOR" value="313337" />
3839
<option name="LINE_NUMBER_ON_CARET_ROW_COLOR" value="ebdbb2" />
40+
<option name="LOOKUP_COLOR" value="191b1f" />
3941
<option name="METHOD_SEPARATORS_COLOR" value="202124" />
4042
<option name="MODIFIED_LINES_COLOR" value="415f69" />
4143
<option name="NOTIFICATION_BACKGROUND" value="2e5b95" />
4244
<option name="RECENT_LOCATIONS_SELECTION" value="141414" />
43-
<option name="RIGHT_MARGIN_COLOR" value="303030" />
44-
<option name="SELECTED_INDENT_GUIDE" value="5c4e39" />
45+
<option name="RIGHT_MARGIN_COLOR" value="26282d" />
4546
<option name="SELECTED_TEARLINE_COLOR" value="8ec07c" />
46-
<option name="SELECTION_BACKGROUND" value="442b43" />
47-
<option name="SEPARATOR_ABOVE_COLOR" value="303030" />
48-
<option name="SEPARATOR_BELOW_COLOR" value="303030" />
47+
<option name="SELECTION_BACKGROUND" value="5e325b" />
48+
<option name="SEPARATOR_ABOVE_COLOR" value="26282d" />
49+
<option name="SEPARATOR_BELOW_COLOR" value="26282d" />
4950
<option name="ScrollBar.Mac.Transparent.hoverThumbBorderColor" value="" />
5051
<option name="ScrollBar.Mac.Transparent.hoverThumbColor" value="" />
5152
<option name="ScrollBar.Mac.Transparent.hoverTrackColor" value="202124" />
@@ -77,10 +78,10 @@
7778
<option name="VCS_ANNOTATIONS_COLOR_3" value="9bc1bc" />
7879
<option name="VCS_ANNOTATIONS_COLOR_4" value="5ca4a9" />
7980
<option name="VCS_ANNOTATIONS_COLOR_5" value="e6ebe0" />
80-
<option name="VISUAL_INDENT_GUIDE" value="303030" />
81-
<option name="WHITESPACES" value="202124" />
81+
<option name="VISUAL_INDENT_GUIDE" value="26282d" />
82+
<option name="WHITESPACES" value="333541" />
8283
<option name="WHITESPACES_MODIFIED_LINES_COLOR" value="86bac9" />
83-
<option name="LINE_NUMBERS_COLOR" value="313337" />
84+
<option name="SELECTED_INDENT_GUIDE" value="26282d" />
8485
</colors>
8586
<attributes>
8687
<option name="ANNOTATION_ATTRIBUTE_NAME_ATTRIBUTES" baseAttributes="DEFAULT_METADATA" />
@@ -621,7 +622,12 @@
621622
<option name="FOREGROUND" value="458588" />
622623
</value>
623624
</option>
624-
<option name="GO_BUILTIN_CONSTANT" baseAttributes="DEFAULT_CONSTANT" />
625+
<option name="GO_BLOCK_COMMENT">
626+
<value>
627+
<option name="FOREGROUND" value="a89984" />
628+
<option name="FONT_TYPE" value="2" />
629+
</value>
630+
</option>
625631
<option name="GO_BUILTIN_FUNCTION_CALL">
626632
<value>
627633
<option name="FOREGROUND" value="fac149" />
@@ -633,14 +639,20 @@
633639
<option name="FONT_TYPE" value="2" />
634640
</value>
635641
</option>
636-
<option name="GO_EXPORTED_FUNCTION">
642+
<option name="GO_BUILTIN_VARIABLE">
637643
<value>
638-
<option name="FOREGROUND" value="fac149" />
644+
<option name="FOREGROUND" value="fb5245" />
639645
</value>
640646
</option>
641-
<option name="GO_BUILTIN_VARIABLE">
647+
<option name="GO_COMMENT_REFERENCE">
642648
<value>
643-
<option name="FOREGROUND" value="fb5245" />
649+
<option name="FOREGROUND" value="a1a1a1" />
650+
<option name="FONT_TYPE" value="2" />
651+
</value>
652+
</option>
653+
<option name="GO_EXPORTED_FUNCTION">
654+
<value>
655+
<option name="FOREGROUND" value="fac149" />
644656
</value>
645657
</option>
646658
<option name="GO_EXPORTED_FUNCTION_CALL">
@@ -654,6 +666,12 @@
654666
<option name="FONT_TYPE" value="2" />
655667
</value>
656668
</option>
669+
<option name="GO_LINE_COMMENT">
670+
<value>
671+
<option name="FOREGROUND" value="a89984" />
672+
<option name="FONT_TYPE" value="2" />
673+
</value>
674+
</option>
657675
<option name="GO_LOCAL_FUNCTION">
658676
<value>
659677
<option name="FOREGROUND" value="fac149" />
@@ -707,10 +725,7 @@
707725
</value>
708726
</option>
709727
<option name="IDENTIFIER_UNDER_CARET_ATTRIBUTES">
710-
<value>
711-
<option name="EFFECT_COLOR" value="729b8f" />
712-
<option name="EFFECT_TYPE" value="1" />
713-
</value>
728+
<value />
714729
</option>
715730
<option name="IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES">
716731
<value>
@@ -752,7 +767,7 @@
752767
<option name="JS.INSTANCE_MEMBER_FUNCTION" baseAttributes="DEFAULT_INSTANCE_METHOD" />
753768
<option name="JS.LOCAL_VARIABLE" baseAttributes="DEFAULT_LOCAL_VARIABLE" />
754769
<option name="JS.REGEXP" baseAttributes="DEFAULT_STRING" />
755-
<option name="JSP_DIRECTIVE_NAME" baseAttributes="DEFAULT_KEYWORD" />
770+
<option name="JSP_DIRECTIVE_NAME" baseAttributes="" />
756771
<option name="KOTLIN_ANNOTATION">
757772
<value>
758773
<option name="FOREGROUND" value="83786e" />
@@ -1175,10 +1190,7 @@
11751190
</value>
11761191
</option>
11771192
<option name="WRITE_IDENTIFIER_UNDER_CARET_ATTRIBUTES">
1178-
<value>
1179-
<option name="EFFECT_COLOR" value="6d8a83" />
1180-
<option name="EFFECT_TYPE" value="4" />
1181-
</value>
1193+
<value />
11821194
</option>
11831195
<option name="WRITE_SEARCH_RESULT_ATTRIBUTES">
11841196
<value>
@@ -1227,23 +1239,5 @@
12271239
<option name="FOREGROUND" value="8ec07c" />
12281240
</value>
12291241
</option>
1230-
<option name="GO_BLOCK_COMMENT">
1231-
<value>
1232-
<option name="FOREGROUND" value="a89984" />
1233-
<option name="FONT_TYPE" value="2" />
1234-
</value>
1235-
</option>
1236-
<option name="GO_COMMENT_REFERENCE">
1237-
<value>
1238-
<option name="FOREGROUND" value="a1a1a1" />
1239-
<option name="FONT_TYPE" value="2" />
1240-
</value>
1241-
</option>
1242-
<option name="GO_LINE_COMMENT">
1243-
<value>
1244-
<option name="FOREGROUND" value="a89984" />
1245-
<option name="FONT_TYPE" value="2" />
1246-
</value>
1247-
</option>
12481242
</attributes>
1249-
</scheme>
1243+
</scheme>

0 commit comments

Comments
 (0)