@@ -59,6 +59,7 @@ pub struct DesignTokens {
59
59
pub large_button_corner_radius : f32 ,
60
60
pub small_icon_size : Vec2 ,
61
61
pub modal_button_width : f32 ,
62
+ pub default_modal_width : f32 ,
62
63
63
64
// All these colors can be found in dark_theme.ron and light_theme.ron:
64
65
pub top_bar_color : Color32 ,
@@ -217,6 +218,11 @@ pub struct DesignTokens {
217
218
218
219
// Table filter UI
219
220
pub table_filter_frame_stroke : Stroke ,
221
+
222
+ pub bg_fill_inverse : Color32 ,
223
+ pub bg_fill_inverse_hover : Color32 ,
224
+ pub text_inverse : Color32 ,
225
+ pub icon_inverse : Color32 ,
220
226
}
221
227
222
228
impl DesignTokens {
@@ -244,6 +250,7 @@ impl DesignTokens {
244
250
large_button_corner_radius : get_scalar ( "large_button_corner_radius" ) ?,
245
251
small_icon_size : Vec2 :: splat ( get_scalar ( "small_icon_size" ) ?) ,
246
252
modal_button_width : get_scalar ( "modal_button_width" ) ?,
253
+ default_modal_width : get_scalar ( "default_modal_width" ) ?,
247
254
248
255
top_bar_color : get_color ( "top_bar_color" ) ,
249
256
bottom_bar_color : get_color ( "bottom_bar_color" ) ,
@@ -358,6 +365,11 @@ impl DesignTokens {
358
365
359
366
code_keyword_color : get_color ( "code_keyword_color" ) ,
360
367
table_filter_frame_stroke : get_stroke ( "table_filter_frame_stroke" ) ,
368
+
369
+ bg_fill_inverse : get_color ( "bg_fill_inverse" ) ,
370
+ bg_fill_inverse_hover : get_color ( "bg_fill_inverse-hover" ) ,
371
+ text_inverse : get_color ( "text_inverse" ) ,
372
+ icon_inverse : get_color ( "icon_inverse" ) ,
361
373
} )
362
374
}
363
375
0 commit comments