From 387e5ce0dbba60bda052a5bf7d3a276c96149643 Mon Sep 17 00:00:00 2001 From: AJ Kuftic Date: Tue, 23 Sep 2025 19:13:59 -0400 Subject: [PATCH 1/3] Added Workspace and Folder text size --- .../chrome.css | 195 ++++++++++++++---- .../preferences.json | 88 ++++++++ 2 files changed, 243 insertions(+), 40 deletions(-) diff --git a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css index 6af399693..5227fd0d1 100644 --- a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css +++ b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css @@ -1,40 +1,155 @@ -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="8"]) { - .tab-text.tab-label { - font-size: 8px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="10"]) { - .tab-text.tab-label { - font-size: 10px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="default"]) { - .tab-text.tab-label { - font-size: 12px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="14"]) { - .tab-text.tab-label { - font-size: 14px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="16"]) { - .tab-text.tab-label { - font-size: 16px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="18"]) { - .tab-text.tab-label { - font-size: 18px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="20"]) { - .tab-text.tab-label { - font-size: 20px; - } -} -:root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="22"]) { - .tab-text.tab-label { - font-size: 22px; - } -} +@-moz-document url-prefix("chrome:") { + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="8"]) { + .tab-text.tab-label { + font-size: 8px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="10"]) { + .tab-text.tab-label { + font-size: 10px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="default"]) { + .tab-text.tab-label { + font-size: 12px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="14"]) { + .tab-text.tab-label { + font-size: 14px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="16"]) { + .tab-text.tab-label { + font-size: 16px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="18"]) { + .tab-text.tab-label { + font-size: 18px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="20"]) { + .tab-text.tab-label { + font-size: 20px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="22"]) { + .tab-text.tab-label { + font-size: 22px; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="6"]) { + .zen-current-workspace-indicator { + font-size: 6px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="8"]) { + .zen-current-workspace-indicator { + font-size: 8px !important; + } + } + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="10"]) { + .zen-current-workspace-indicator { + font-size: 10px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="default"]) { + .zen-current-workspace-indicator { + font-size: 12px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="14"]) { + .zen-current-workspace-indicator { + font-size: 14px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="16"]) { + .zen-current-workspace-indicator { + font-size: 16px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="18"]) { + .zen-current-workspace-indicator { + font-size: 18px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="20"]) { + .zen-current-workspace-indicator { + font-size: 20px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-workspaceheader="22"]) { + .zen-current-workspace-indicator { + font-size: 22px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="6"]) { + .tab-group-label-container { + font-size: 6px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="8"]) { + .tab-group-label-container { + font-size: 8px !important; + } + } + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="10"]) { + .tab-group-label-container { + font-size: 10px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="default"]) { + .tab-group-label-container { + font-size: 12px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="14"]) { + .tab-group-label-container { + font-size: 14px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="16"]) { + .tab-group-label-container { + font-size: 16px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="18"]) { + .tab-group-label-container { + font-size: 18px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="20"]) { + .tab-group-label-container { + font-size: 20px !important; + } + } + + :root:has(#theme-Tab-Text-Size[uc-tabtextsize-tabgroup="22"]) { + .tab-group-label-container { + font-size: 22px !important; + } + } +} \ No newline at end of file diff --git a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/preferences.json b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/preferences.json index aa03aa75a..cc87450b7 100644 --- a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/preferences.json +++ b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/preferences.json @@ -38,5 +38,93 @@ "value": "22" } ] + }, + { + "property": "uc.tabtextsize.workspaceheader", + "label": "Set Workspace Text Size: ", + "type": "dropdown", + "defaultValue": "default", + "options": [ + { + "label": "6", + "value": "6" + }, + { + "label": "8", + "value": "8" + }, + { + "label": "Default (10)", + "value": "default" + }, + { + "label": "12", + "value": "12" + }, + { + "label": "14", + "value": "14" + }, + { + "label": "16", + "value": "16" + }, + { + "label": "18", + "value": "18" + }, + { + "label": "20", + "value": "20" + }, + { + "label": "22", + "value": "22" + } + ] + }, + { + "property": "uc.tabtextsize.tabgroup", + "label": "Set Folder Text Size: ", + "type": "dropdown", + "defaultValue": "default", + "options": [ + { + "label": "6", + "value": "6" + }, + { + "label": "8", + "value": "8" + }, + { + "label": "10", + "value": "10" + }, + { + "label": "Default (12)", + "value": "default" + }, + { + "label": "14", + "value": "14" + }, + { + "label": "16", + "value": "16" + }, + { + "label": "18", + "value": "18" + }, + { + "label": "20", + "value": "20" + }, + { + "label": "22", + "value": "22" + } + ] } ] \ No newline at end of file From 586022dea9ca14394d79c23e84570cead79f803e Mon Sep 17 00:00:00 2001 From: AJ Kuftic Date: Sat, 27 Sep 2025 16:49:44 -0400 Subject: [PATCH 2/3] Update theme.json Changed version number and updatedAt. Signed-off-by: AJ Kuftic --- themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/theme.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/theme.json b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/theme.json index 30ac2f115..97a235a27 100644 --- a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/theme.json +++ b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/theme.json @@ -1,15 +1,15 @@ { "id": "d868eaf4-cefc-4f41-8f1c-1f603726d2fa", "name": "Tab Text Size", - "description": "Change tab text size", + "description": "Change tab, folder, and workspace text size", "homepage": "https://github.com/ajkuftic/Zen-TabTextSize", "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/readme.md", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/image.png", "author": "ajkuftic", - "version": "1.0.0", + "version": "1.1.0", "tags": [], "createdAt": "2024-12-16", - "updatedAt": "2025-01-26", + "updatedAt": "2025-09-25", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/preferences.json" -} \ No newline at end of file +} From e8fcee834cb0c17a4886c4051ccbe49d05facf1c Mon Sep 17 00:00:00 2001 From: AJ Kuftic Date: Sat, 27 Sep 2025 16:50:01 -0400 Subject: [PATCH 3/3] Update chrome.css Removed doc check Signed-off-by: AJ Kuftic --- themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css index 5227fd0d1..5becb92de 100644 --- a/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css +++ b/themes/d868eaf4-cefc-4f41-8f1c-1f603726d2fa/chrome.css @@ -1,4 +1,4 @@ -@-moz-document url-prefix("chrome:") { +{ :root:has(#theme-Tab-Text-Size[uc-tabtextsize-textsize="8"]) { .tab-text.tab-label { font-size: 8px; @@ -152,4 +152,4 @@ font-size: 22px !important; } } -} \ No newline at end of file +}