7070 --color-string : rgb (255 , 209 , 153 );--color-expr : rgb (255 , 123 , 125 );
7171 --color-bool : var (--text-primary );--color-combo : var (--text-secondary );
7272 --color-vec3 : rgb (181 , 255 , 239 );--color-color : # f5c2e7 ;
73+ --prop-row-even-bg : transparent;
74+ --prop-row-odd-bg : rgba (255 , 255 , 255 , .018 );
75+ --prop-row-depth-1 : rgba (255 , 255 , 255 , .006 );
76+ --prop-row-depth-2 : rgba (255 , 255 , 255 , .010 );
77+ --prop-row-depth-3 : rgba (255 , 255 , 255 , .014 );
78+ --prop-row-depth-4 : rgba (255 , 255 , 255 , .018 );
79+ --prop-row-depth-5 : rgba (255 , 255 , 255 , .020 );
80+ --prop-row-depth-6 : rgba (255 , 255 , 255 , .022 );
81+ --prop-row-depth-7 : rgba (255 , 255 , 255 , .024 );
82+ --prop-row-depth-8 : rgba (255 , 255 , 255 , .026 );
83+ --prop-row-depth-9 : rgba (255 , 255 , 255 , .028 );
7384}
7485html [data-theme = "light" ]{
7586 color-scheme : light;
@@ -92,6 +103,17 @@ html[data-theme="light"]{
92103 --border : # c4c4cc ;
93104 --border-subtle : # d0d0d8 ;
94105 --scrollbar-thumb : # b0b8c4 ;
106+ --prop-row-even-bg : # ffffff ;
107+ --prop-row-odd-bg : # f3f5f9 ;
108+ --prop-row-depth-1 : # f8f9fc ;
109+ --prop-row-depth-2 : # f4f6fb ;
110+ --prop-row-depth-3 : # f1f3f9 ;
111+ --prop-row-depth-4 : # eef1f8 ;
112+ --prop-row-depth-5 : # ebeff7 ;
113+ --prop-row-depth-6 : # e9edf6 ;
114+ --prop-row-depth-7 : # e6ebf5 ;
115+ --prop-row-depth-8 : # e4e9f4 ;
116+ --prop-row-depth-9 : # e2e7f3 ;
95117}
96118html , body {height : 100% ;overflow : hidden;font-family : var (--font-sans );background : var (--bg-primary );color : var (--text-primary );font-size : 10pt ;line-height : 1.5 }
97119input , select , textarea , button {font-family : inherit;font-size : inherit;color : inherit}
@@ -344,19 +366,19 @@ input,select,textarea,button{font-family:inherit;font-size:inherit;color:inherit
344366.prop-tree-panel {display : flex;flex-direction : column;height : 100% ;overflow : hidden;min-height : 0 }
345367.prop-tree {flex : 1 ;overflow-y : auto;padding : 4px 0 ;min-height : 0 }
346368.prop-row {display : grid;grid-template-columns : minmax (120px , 220px ) 1fr ;align-items : center;min-height : 28px ;padding : 0 8px ;border-bottom : 1px solid var (--border-subtle );gap : 8px }
347- .prop-row .prop-row-even {background : transparent }
348- .prop-row .prop-row-odd {background : rgba ( 255 , 255 , 255 , .018 )}
369+ .prop-row .prop-row-even {background : var ( --prop-row-even-bg ) }
370+ .prop-row .prop-row-odd {background : var ( --prop-row-odd-bg )}
349371.prop-row : hover {background : var (--bg-hover )!important }
350- .prop-row [data-depth = "1" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .006 )}
351- .prop-row [data-depth = "2" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .010 )}
352- .prop-row [data-depth = "3" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .014 )}
353- .prop-row [data-depth = "4" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .018 )}
354- .prop-row [data-depth = "5" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .020 )}
355- .prop-row [data-depth = "6" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .022 )}
356- .prop-row [data-depth = "7" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .024 )}
357- .prop-row [data-depth = "8" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .026 )}
358- .prop-row [data-depth = "9" ]{--row-indent-tint : rgba ( 255 , 255 , 255 , .028 )}
359- .prop-row [data-depth ]: not ([data-depth = "0" ]).prop-row-odd {background : var (--row-indent-tint , rgba ( 255 , 255 , 255 , .018 ))}
372+ .prop-row [data-depth = "1" ]{--row-indent-tint : var ( --prop-row-depth-1 )}
373+ .prop-row [data-depth = "2" ]{--row-indent-tint : var ( --prop-row-depth-2 )}
374+ .prop-row [data-depth = "3" ]{--row-indent-tint : var ( --prop-row-depth-3 )}
375+ .prop-row [data-depth = "4" ]{--row-indent-tint : var ( --prop-row-depth-4 )}
376+ .prop-row [data-depth = "5" ]{--row-indent-tint : var ( --prop-row-depth-5 )}
377+ .prop-row [data-depth = "6" ]{--row-indent-tint : var ( --prop-row-depth-6 )}
378+ .prop-row [data-depth = "7" ]{--row-indent-tint : var ( --prop-row-depth-7 )}
379+ .prop-row [data-depth = "8" ]{--row-indent-tint : var ( --prop-row-depth-8 )}
380+ .prop-row [data-depth = "9" ]{--row-indent-tint : var ( --prop-row-depth-9 )}
381+ .prop-row [data-depth ]: not ([data-depth = "0" ]).prop-row-odd {background : var (--row-indent-tint , var ( --prop-row-odd-bg ))}
360382.prop-row [data-depth = "1" ] .prop-key {padding-left : 16px }
361383.prop-row [data-depth = "2" ] .prop-key {padding-left : 32px }
362384.prop-row [data-depth = "3" ] .prop-key {padding-left : 48px }
@@ -739,19 +761,26 @@ html[data-theme="light"] #cmEditor .cm-content:focus *::selection{
739761.wc-readonly-list {opacity : .55 ;pointer-events : none}
740762.wc-sys-row {margin-bottom : 3px }
741763/* ── Property type icon (key column) ────────────── */
742- .prop-type-icon-badge {display : inline-flex;align-items : center;justify-content : center;width : 16px ;height : 16px ;flex-shrink : 0 ;color : var (--text-muted );opacity : .7 }
743- .prop-type-icon-badge svg {width : 13px ;height : 13px }
744- .prop-type-badge-interactive .prop-type-icon-badge {cursor : pointer;border-radius : 3px ;padding : 1px ;transition : background .1s , opacity .1s }
745- .prop-type-badge-interactive .prop-type-icon-badge : hover {background : var (--bg-hover );opacity : 1 ;color : var (--text-primary )}
764+ .prop-type-icon-badge {display : inline-flex;align-items : center;justify-content : center;width : 16px ;height : 16px ;flex-shrink : 0 ;opacity : .95 }
765+ .prop-type-circle {
766+ width : 12px ;
767+ height : 12px ;
768+ border-radius : 50% ;
769+ background : var (--type-circle-fill , # AAAAAA );
770+ border : 1px solid transparent;
771+ box-sizing : border-box;
772+ }
773+ .prop-type-badge-interactive .prop-type-icon-badge {
774+ cursor : pointer;
775+ border-radius : 3px ;
776+ padding : 1px ;
777+ transition : background .1s , opacity .1s ;
778+ }
779+ .prop-type-badge-interactive .prop-type-icon-badge : hover {
780+ background : var (--bg-hover );
781+ opacity : 1 ;
782+ }
783+ .prop-type-badge-interactive .prop-type-icon-badge : hover .prop-type-circle {
784+ border-color : var (--type-circle-border , # 888888 );
785+ }
746786.prop-value-summary {font-size : 10px ;color : var (--text-muted );font-family : var (--font-mono ), monospace;flex-shrink : 0 }
747- .prop-row [data-type = "string" ] .prop-type-icon-badge {color : var (--color-string )}
748- .prop-row [data-type = "int" ] .prop-type-icon-badge {color : var (--color-int )}
749- .prop-row [data-type = "float" ] .prop-type-icon-badge {color : var (--color-float )}
750- .prop-row [data-type = "bool" ] .prop-type-icon-badge {color : var (--color-bool )}
751- .prop-row [data-type = "color" ] .prop-type-icon-badge {color : var (--color-color )}
752- .prop-row [data-type = "vec2" ] .prop-type-icon-badge , .prop-row [data-type = "vec3" ] .prop-type-icon-badge , .prop-row [data-type = "vec4" ] .prop-type-icon-badge {color : var (--color-vec3 )}
753- .prop-row [data-type = "resource" ] .prop-type-icon-badge {color : var (--accent )}
754- .prop-row [data-type = "soundevent" ] .prop-type-icon-badge {color : var (--green )}
755- .prop-row [data-type = "object" ] .prop-type-icon-badge {color : var (--yellow )}
756- .prop-row [data-type = "array" ] .prop-type-icon-badge {color : var (--peach )}
757- .prop-row [data-type = "null" ] .prop-type-icon-badge , .prop-row [data-type = "unknown" ] .prop-type-icon-badge {color : var (--text-muted )}
0 commit comments