@@ -9,11 +9,11 @@ Visuals(
99 width : 1.0 ,
1010 color : Color32 ((140 , 143 , 161 , 255 )),
1111 ),
12- rounding : Rounding (
13- nw : 2.0 ,
14- ne : 2.0 ,
15- sw : 2.0 ,
16- se : 2.0 ,
12+ corner_radius : CornerRadius (
13+ nw : 2 ,
14+ ne : 2 ,
15+ sw : 2 ,
16+ se : 2 ,
1717 ),
1818 fg_stroke : Stroke (
1919 width : 1.0 ,
@@ -28,11 +28,11 @@ Visuals(
2828 width : 0.0 ,
2929 color : Color32 ((140 , 143 , 161 , 255 )),
3030 ),
31- rounding : Rounding (
32- nw : 2.0 ,
33- ne : 2.0 ,
34- sw : 2.0 ,
35- se : 2.0 ,
31+ corner_radius : CornerRadius (
32+ nw : 2 ,
33+ ne : 2 ,
34+ sw : 2 ,
35+ se : 2 ,
3636 ),
3737 fg_stroke : Stroke (
3838 width : 1.0 ,
@@ -47,11 +47,11 @@ Visuals(
4747 width : 1.0 ,
4848 color : Color32 ((140 , 143 , 161 , 255 )),
4949 ),
50- rounding : Rounding (
51- nw : 3.0 ,
52- ne : 3.0 ,
53- sw : 3.0 ,
54- se : 3.0 ,
50+ corner_radius : CornerRadius (
51+ nw : 3 ,
52+ ne : 3 ,
53+ sw : 3 ,
54+ se : 3 ,
5555 ),
5656 fg_stroke : Stroke (
5757 width : 1.5 ,
@@ -66,11 +66,11 @@ Visuals(
6666 width : 1.0 ,
6767 color : Color32 ((140 , 143 , 161 , 255 )),
6868 ),
69- rounding : Rounding (
70- nw : 2.0 ,
71- ne : 2.0 ,
72- sw : 2.0 ,
73- se : 2.0 ,
69+ corner_radius : CornerRadius (
70+ nw : 2 ,
71+ ne : 2 ,
72+ sw : 2 ,
73+ se : 2 ,
7474 ),
7575 fg_stroke : Stroke (
7676 width : 2.0 ,
@@ -85,11 +85,11 @@ Visuals(
8585 width : 1.0 ,
8686 color : Color32 ((140 , 143 , 161 , 255 )),
8787 ),
88- rounding : Rounding (
89- nw : 2.0 ,
90- ne : 2.0 ,
91- sw : 2.0 ,
92- se : 2.0 ,
88+ corner_radius : CornerRadius (
89+ nw : 2 ,
90+ ne : 2 ,
91+ sw : 2 ,
92+ se : 2 ,
9393 ),
9494 fg_stroke : Stroke (
9595 width : 1.0 ,
@@ -111,19 +111,16 @@ Visuals(
111111 code_bg_color : Color32 ((230 , 233 , 239 , 255 )),
112112 warn_fg_color : Color32 ((254 , 100 , 11 , 255 )),
113113 error_fg_color : Color32 ((230 , 69 , 83 , 255 )),
114- window_rounding : Rounding (
115- nw : 6.0 ,
116- ne : 6.0 ,
117- sw : 6.0 ,
118- se : 6.0 ,
114+ window_corner_radius : CornerRadius (
115+ nw : 6 ,
116+ ne : 6 ,
117+ sw : 6 ,
118+ se : 6 ,
119119 ),
120120 window_shadow : Shadow (
121- offset : Vec2 (
122- x : 10.0 ,
123- y : 20.0 ,
124- ),
125- blur : 15.0 ,
126- spread : 0.0 ,
121+ offset : (10 , 20 ),
122+ blur : 15 ,
123+ spread : 0 ,
127124 color : Color32 ((239 , 241 , 245 , 255 )),
128125 ),
129126 window_fill : Color32 ((239 , 241 , 245 , 255 )),
@@ -132,20 +129,17 @@ Visuals(
132129 color : Color32 ((140 , 143 , 161 , 255 )),
133130 ),
134131 window_highlight_topmost : true ,
135- menu_rounding : Rounding (
136- nw : 6.0 ,
137- ne : 6.0 ,
138- sw : 6.0 ,
139- se : 6.0 ,
132+ menu_corner_radius : CornerRadius (
133+ nw : 6 ,
134+ ne : 6 ,
135+ sw : 6 ,
136+ se : 6 ,
140137 ),
141138 panel_fill : Color32 ((239 , 241 , 245 , 255 )),
142139 popup_shadow : Shadow (
143- offset : Vec2 (
144- x : 6.0 ,
145- y : 10.0 ,
146- ),
147- blur : 8.0 ,
148- spread : 0.0 ,
140+ offset : (6 , 10 ),
141+ blur : 8 ,
142+ spread : 0 ,
149143 color : Color32 ((239 , 241 , 245 , 255 )),
150144 ),
151145 resize_corner_size : 12.0 ,
0 commit comments