@@ -68,7 +68,7 @@ const isBeta = manifest.applications.gecko.id.endsWith('-dev');
68
68
[ 'bold' , true , 'Bold Text' , String . raw `
69
69
.tab:not(.pinned).tst-search\:matching .label { font-weight: bold; }
70
70
` , ] ,
71
- [ 'fgColor' , [ false , '#ff4300' , ] , [ { type : 'boolean' , } , { prefix : 'Text Color' , type : 'color' , } , ] , ( active , color ) => active ? String . raw `
71
+ [ 'fgColor' , [ false , '#ff4300' , ] , [ { type : 'boolean' , } , { prefix : 'Text Color' , type : 'color' , } , ] , ( active , color = '#ff4300' ) => active ? String . raw `
72
72
.tab:not(.pinned).tst-search\:matching .label { color: ${ globalThis . CSS . escape ( color ) . replace ( '\\#' , '#' ) } ; }
73
73
` : '' , ] ,
74
74
] ) ,
@@ -79,7 +79,7 @@ const isBeta = manifest.applications.gecko.id.endsWith('-dev');
79
79
description : `The active search result, which can be scrolled through with <code>Enter</code> and <code>Shift</code>+<code>Enter</code>.` ,
80
80
default : true , children : {
81
81
styles : styles ( [
82
- [ 'fgColor' , [ true , '#0085ff' , ] , [ { type : 'boolean' , } , { prefix : 'Text Color' , type : 'color' , } , ] , ( active , color ) => active ? String . raw `
82
+ [ 'fgColor' , [ true , '#0085ff' , ] , [ { type : 'boolean' , } , { prefix : 'Text Color' , type : 'color' , } , ] , ( active , color = '#0085ff' ) => active ? String . raw `
83
83
.tab:not(.pinned).tst-search\:active .label { color: ${ globalThis . CSS . escape ( color ) . replace ( '\\#' , '#' ) } ; }
84
84
` : '' , ] ,
85
85
[ 'bold' , false , 'Bold Text' , String . raw `
@@ -93,7 +93,7 @@ const isBeta = manifest.applications.gecko.id.endsWith('-dev');
93
93
description : `Any tabs with children that match the search.` ,
94
94
default : true , children : {
95
95
styles : styles ( [
96
- [ 'fgColor' , [ false , '#0aff00' , ] , [ { type : 'boolean' , } , { prefix : 'Text Color' , type : 'color' , } , ] , ( active , color ) => active ? String . raw `
96
+ [ 'fgColor' , [ false , '#0aff00' , ] , [ { type : 'boolean' , } , { prefix : 'Text Color' , type : 'color' , } , ] , ( active , color = '#0aff00' ) => active ? String . raw `
97
97
.tab:not(.pinned).tst-search\:child-matching .label { color: ${ globalThis . CSS . escape ( color ) . replace ( '\\#' , '#' ) } ; }
98
98
` : '' , ] ,
99
99
[ 'hide' , false , 'Hide Completely' , String . raw `
@@ -107,7 +107,7 @@ const isBeta = manifest.applications.gecko.id.endsWith('-dev');
107
107
description : `Any tab that neither matches not has matching children.` ,
108
108
default : true , children : {
109
109
styles : styles ( [
110
- [ 'shrink' , [ true , 50 , ] , [ { type : 'boolean' , } , { prefix : 'Shrink Height to' , type : 'integer' , suffix : '%' , } , ] , ( active , shrink ) => active ? String . raw `
110
+ [ 'shrink' , [ true , 50 , ] , [ { type : 'boolean' , } , { prefix : 'Shrink Height to' , type : 'integer' , suffix : '%' , } , ] , ( active , shrink = 50 ) => active ? String . raw `
111
111
.tab:not(.pinned).collapsed:where(.tst-search\:matching, .tst-search\:child-matches, .tst-search\:not-matching) {
112
112
margin-top: 0; display: none;
113
113
}
@@ -117,7 +117,7 @@ const isBeta = manifest.applications.gecko.id.endsWith('-dev');
117
117
transform: scaleY(${ shrink . toFixed ( 6 ) } %); transform-origin: top;
118
118
}
119
119
` : '' , [ { } , { from : 25 , to : 80 , } , ] , ] ,
120
- [ 'opacity' , [ false , 60 , ] , [ { type : 'boolean' , } , { prefix : 'Reduce Opacity to' , type : 'integer' , suffix : '%' , } , ] , ( active , opacity ) => active ? String . raw `
120
+ [ 'opacity' , [ false , 60 , ] , [ { type : 'boolean' , } , { prefix : 'Reduce Opacity to' , type : 'integer' , suffix : '%' , } , ] , ( active , opacity = 60 ) => active ? String . raw `
121
121
.tab:not(.pinned).tst-search\:not-matching { opacity: ${ ( opacity / 100 ) . toFixed ( 6 ) } ; }
122
122
` : '' , [ { } , { from : 0 , to : 100 , } , ] , ] ,
123
123
[ 'hide' , false , 'Hide Completely' , String . raw `
0 commit comments