mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
Add theme: Custom uiFont
This commit is contained in:
parent
2e27bdad86
commit
f1a5ad2fb4
5 changed files with 56 additions and 0 deletions
7
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css
Normal file
7
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css
Normal file
|
@ -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;}
|
||||||
|
}
|
BIN
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png
Normal file
BIN
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 188 KiB |
32
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json
Normal file
32
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json
Normal file
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
2
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md
Normal file
2
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
Customize the interface font, the default is consistent with the serif font in the settings.
|
15
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/theme.json
Normal file
15
themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/theme.json
Normal file
|
@ -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"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue