Added preferences

This commit is contained in:
DinnoDEV 2025-02-26 16:49:54 +07:00 committed by GitHub
parent cdccfde6b2
commit 5edca544e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 3 deletions

View file

@ -3,8 +3,16 @@
#urlbar[breakout-extend="true"] #urlbar-background {
border: solid 3px color-mix(in hsl, hsl(0 0 50), transparent 90%) !important;
border-radius: 15px !important;
background-color: color-mix(in hsl, hsl(0 0 10), transparent 40%) !important;
backdrop-filter: blur(25px) !important;
background-color: color-mix(in hsl, var(--mod-cleanedurlbar-customcolor), transparent var(--mod-cleanedurlbar-customtransparency)) !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 */
@ -33,4 +41,4 @@
#urlbar-anon-search-settings {
margin-right: 0px !important;
}
}

View 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)"
}
]