diff --git a/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css new file mode 100644 index 00000000..0fef14ec --- /dev/null +++ b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css @@ -0,0 +1,7 @@ + +:root:has(#theme-Custom-uiFont[theme-custom_uifont-default="Serif"]) { + * {font-family: serif !important;} +} +:root:has(#theme-Custom-uiFont[theme-custom_uifont-default="Custom"]) { + * {font-family: var(--theme-custom_uifont-custom) !important; text-shadow: var(--theme-custom_uifont-shadow) !important;} +} diff --git a/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png new file mode 100644 index 00000000..7ed94a60 Binary files /dev/null and b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png differ diff --git a/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json new file mode 100644 index 00000000..c1493958 --- /dev/null +++ b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json @@ -0,0 +1,32 @@ +[ + { + "property": "theme.custom_uifont.default", + "label": "Select Font:", + "type": "dropdown", + "defaultValue": "Serif", + "options": [ + { + "label": "Serif", + "value": "Serif" + }, + { + "label": "Custom", + "value": "Custom" + } + ] + }, + { + "property": "theme.custom_uifont.custom", + "label": "font-family:", + "type": "string", + "placeholder": "sans-serif", + "defaultValue": "sans-serif" + }, + { + "property": "theme.custom_uifont.shadow", + "label": "text-shadow:", + "type": "string", + "placeholder": "0.01em 0.01em 0.05em #7C7C7C70", + "defaultValue": "none" + } +] \ No newline at end of file diff --git a/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md new file mode 100644 index 00000000..f07dfeb8 --- /dev/null +++ b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md @@ -0,0 +1,2 @@ + +Customize the interface font, the default is consistent with the serif font in the settings. diff --git a/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/theme.json b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/theme.json new file mode 100644 index 00000000..de2562c7 --- /dev/null +++ b/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/theme.json @@ -0,0 +1,15 @@ +{ + "id": "e74cb40a-f3b8-445a-9826-1b1b6e41b846", + "name": "Custom uiFont", + "description": "Customize the interface font, the default is consistent with the serif font in the settings.", + "homepage": "", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png", + "author": "lindongbin", + "version": "1.0.0", + "tags": [], + "createdAt": "2025-05-03", + "updatedAt": "2025-05-03", + "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json" +} \ No newline at end of file