From c6c5388d1d16e6b5c37c6bfc5596e5b7bbf4d999 Mon Sep 17 00:00:00 2001 From: Sameera Sandakelum Date: Sat, 7 Jun 2025 22:17:40 +0530 Subject: [PATCH] Update preferences.json - added transparent compact sidebar --- .../preferences.json | 240 ++++++++++-------- 1 file changed, 135 insertions(+), 105 deletions(-) diff --git a/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json b/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json index 85c58389..f51018bf 100644 --- a/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json +++ b/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json @@ -1,106 +1,136 @@ [ - { - "property": "browser.tabs.allow_transparent_browser", - "label": "\ud83d\udc40 Allow transparency (TURN OFF BEFORE UNINSTALL)", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "zen.widget.linux.transparency", - "label": "\ud83d\udc40 Allow transparency on linux (TURN OFF BEFORE UNINSTALL)", - "type": "checkbox", - "defaultValue": false, - "disabledOn": [ - "windows", - "macos" - ] - }, - { - "property": "mod.sameerasw.zen_bg_color_enabled", - "label": "\ud83c\udfa8 Enable custom background color for Zen", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_transparency_color", - "label": "\ud83c\udfa8 Set custom background color (Overrides theme)", - "type": "string", - "defaultValue": "#00000000", - "placeholder": "light-dark(#fff, #222) or RGBA or hex" - }, - { - "property": "mod.sameerasw.zen_light_tint_flip", - "label": "\ud83c\udf19 Flip the light website tint to dark", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_light_tint_disabled", - "label": "\ud83c\udf19 Disable the light website tint", - "type": "checkbox", - "defaultValue": true - }, - { - "property": "mod.sameerasw.zen_no_shadow", - "label": "\ud83c\udf11 Remove the shadow around the web page", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_tab_switch_anim", - "label": "\u2728 Tab switch animation", - "type": "checkbox", - "defaultValue": true - }, - { - "property": "mod.sameerasw.zen_urlbar_zoom_anim", - "label": "\u2728 URL bar zoom animation", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_trackpad_anim", - "label": "\u2728 Trackpad swipe animations", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_notab_img_enabled", - "label": "\ud83d\uddbc\ufe0f Add no tab screen background image", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_notab_img", - "label": "\ud83d\uddbc\ufe0f Image URL, format: url('example.com/1.png')", - "type": "string", - "defaultValue": "url('https://github.com/sameerasw/my-internet/blob/main/wave-light.png?raw=true')", - "placeholder": "url('example.com/1.png')" - }, - { - "property": "mod.sameerasw.zen_notab_img_size", - "label": "\ud83d\uddbc\ufe0f No tab screen image size with unit", - "type": "string", - "defaultValue": "150px", - "placeholder": "50px (px, em, % ...)" - }, - { - "property": "mod.sameerasw.zen_notab_img_opacity", - "label": "\ud83d\uddbc\ufe0f No tab screen image opacity (0-1)", - "type": "string", - "defaultValue": "1", - "placeholder": "0.75" - }, - { - "property": "mod.sameerasw.zen_notab_img_saturate", - "label": "\ud83d\uddbc\ufe0f Grayscale the no tab screen image", - "type": "checkbox", - "defaultValue": false - }, - { - "property": "mod.sameerasw.zen_notab_img_invert", - "label": "\ud83d\uddbc\ufe0f Invert above image in light theme (white \u2192 black)", - "type": "checkbox", - "defaultValue": false - } -] \ No newline at end of file + { + "property": "browser.tabs.allow_transparent_browser", + "label": "👀 Allow transparency (TURN OFF BEFORE UNINSTALL)", + "type": "checkbox", + "defaultValue": true + }, + { + "property": "zen.widget.linux.transparency", + "label": "👀 Allow transparency on linux (TURN OFF BEFORE UNINSTALL)", + "type": "checkbox", + "defaultValue": true, + "disabledOn": ["windows", "macos"] + }, + { + "property": "mod.sameerasw.zen_bg_color_enabled", + "label": "🎨 Enable custom background color for Zen", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw.zen_transparency_color", + "label": "🎨 Set custom background color (Overrides theme)", + "type": "string", + "defaultValue": "#00000000", + "placeholder": "light-dark(#fff, #222) or RGBA or hex" + }, + { + "property": "mod.sameerasw_zen_light_tint", + "label": "🌙 Light website tint", + "type": "dropdown", + "placeholder": "Select an option", + "defaultValue": "2", + "options": [ + { + "label": "Flip", + "value": "1" + }, + { + "label": "Remove", + "value": "2" + } + ] + }, + { + "property": "mod.sameerasw.zen_no_shadow", + "label": "🌑 Remove the shadow around the web page", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw.zen_tab_switch_anim", + "label": "✨ Tab switch animation", + "type": "checkbox", + "defaultValue": true + }, + { + "property": "mod.sameerasw.zen_urlbar_zoom_anim", + "label": "✨ URL bar zoom animation", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw.zen_trackpad_anim", + "label": "✨ Trackpad swipe animations", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw.zen_notab_img_enabled", + "label": "🖼️ Add no tab screen background image", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw.zen_notab_img", + "label": "🖼️ Image URL, format: url('example.com/1.png')", + "type": "string", + "defaultValue": "url('https://github.com/sameerasw/my-internet/blob/main/wave-light.png?raw=true')", + "placeholder": "url('example.com/1.png')" + }, + { + "property": "mod.sameerasw.zen_notab_img_size", + "label": "🖼️ No tab screen image size with unit", + "type": "string", + "defaultValue": "150px", + "placeholder": "50px (px, em, % ...)" + }, + { + "property": "mod.sameerasw.zen_notab_img_opacity", + "label": "🖼️ No tab screen image opacity (0-1)", + "type": "string", + "defaultValue": "1", + "placeholder": "0.75" + }, + { + "property": "mod.sameerasw.zen_notab_img_saturate", + "label": "🖼️ Grayscale the no tab screen image", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw.zen_notab_img_invert", + "label": "🖼️ Invert above image in light theme (white → black)", + "type": "checkbox", + "defaultValue": false + }, + { + "property": "mod.sameerasw_zen_compact_sidebar_type", + "label": "↔️ Compact sidebar type", + "type": "dropdown", + "placeholder": "Select an option", + "defaultValue": "0", + "options": [ + { + "label": "Default", + "value": "0" + }, + { + "label": "Push", + "value": "1" + }, + { + "label": "Mask", + "value": "2" + } + ] + }, + { + "property": "mod.sameerasw.zen_compact_sidebar_width", + "label": "Custom compact sidebar width", + "type": "string", + "defaultValue": "165px", + "placeholder": "165px (use px)" + } +]