mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-08 01:10:01 +02:00
Added preferences
This commit is contained in:
parent
cdccfde6b2
commit
5edca544e9
2 changed files with 37 additions and 3 deletions
|
@ -3,8 +3,16 @@
|
||||||
#urlbar[breakout-extend="true"] #urlbar-background {
|
#urlbar[breakout-extend="true"] #urlbar-background {
|
||||||
border: solid 3px color-mix(in hsl, hsl(0 0 50), transparent 90%) !important;
|
border: solid 3px color-mix(in hsl, hsl(0 0 50), transparent 90%) !important;
|
||||||
border-radius: 15px !important;
|
border-radius: 15px !important;
|
||||||
background-color: color-mix(in hsl, hsl(0 0 10), transparent 40%) !important;
|
background-color: color-mix(in hsl, var(--mod-cleanedurlbar-customcolor), transparent var(--mod-cleanedurlbar-customtransparency)) !important;
|
||||||
backdrop-filter: blur(25px) !important;
|
backdrop-filter: blur(25px) saturate(2) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Custom URL result selected color */
|
||||||
|
.urlbarView-row {
|
||||||
|
&[selected] {
|
||||||
|
background-color: var(--mod-cleanedurlbar-customselectcolor) !important;
|
||||||
|
color: var(--mod-cleanedurlbar-customselectfontcolor) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unifies the border radius */
|
/* Unifies the border radius */
|
||||||
|
@ -33,4 +41,4 @@
|
||||||
|
|
||||||
#urlbar-anon-search-settings {
|
#urlbar-anon-search-settings {
|
||||||
margin-right: 0px !important;
|
margin-right: 0px !important;
|
||||||
}
|
}
|
26
themes/a5f6a231-e3c8-4ce8-8a8e-3e93efd6adec/preferences.json
Normal file
26
themes/a5f6a231-e3c8-4ce8-8a8e-3e93efd6adec/preferences.json
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"property": "mod.cleanedurlbar.customcolor",
|
||||||
|
"label": "Cleaned URL Bar Color (HSL only)",
|
||||||
|
"type": "string",
|
||||||
|
"defaultValue": "hsl(0 0 10)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"property": "mod.cleanedurlbar.customtransparency",
|
||||||
|
"label": "Transparency (In percentage ex. 100%)",
|
||||||
|
"type": "string",
|
||||||
|
"defaultValue": "40%"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"property": "mod.cleanedurlbar.customselectcolor",
|
||||||
|
"label": "Selected URL color (rgb, hsl, hex)",
|
||||||
|
"type": "string",
|
||||||
|
"defaultValue": "rgba(80, 80, 250, 0.75)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"property": "mod.cleanedurlbar.customselectfontcolor",
|
||||||
|
"label": "Selected URL font color (rgb, hsl, hex)",
|
||||||
|
"type": "string",
|
||||||
|
"defaultValue": "rgba(255,255,255,1)"
|
||||||
|
}
|
||||||
|
]
|
Loading…
Add table
Add a link
Reference in a new issue