mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-03 05:21:55 +01:00
addtional notes in Themes.md
This commit is contained in:
parent
bd6095517b
commit
709d163e9c
@ -1,7 +1,31 @@
|
|||||||
# Themes
|
# Themes
|
||||||
|
|
||||||
## Add Themes Directly to NetNewsWire
|
## `.nnwtheme` Structure
|
||||||
Theme developers: on iOS and macOS, themes can be opened directly in NetNewsWire using the below URL scheme:
|
|
||||||
|
An `.nnwtheme` comprises of three files:
|
||||||
|
- `Info.plist`
|
||||||
|
- `template.html`
|
||||||
|
- `stylesheet.css`
|
||||||
|
|
||||||
|
### Info.plist
|
||||||
|
The `Info.plist` requires the following keys/types:
|
||||||
|
|
||||||
|
|Key|Type|Notes|
|
||||||
|
|---|---|---|
|
||||||
|
|`ThemeIdentifier`|`String`|Unique identifier for the theme, e.g. using reverse domain name.|
|
||||||
|
|`Name`|`String`|Theme name|
|
||||||
|
|`CreatorHomePage`|`String`||
|
||||||
|
|`CreatorName`|`String`||
|
||||||
|
|`Version`|`Integer`||
|
||||||
|
|
||||||
|
### template.html
|
||||||
|
This provides a starting point for editing the structure of the page. Theme variables are documented in the header.
|
||||||
|
|
||||||
|
### stylesheet.css
|
||||||
|
This provides a starting point for editing the style of the page.
|
||||||
|
|
||||||
|
## Add Themes Directly to NetNewsWire with URL Scheme
|
||||||
|
On iOS and macOS, themes can be opened directly in NetNewsWire using the below URL scheme:
|
||||||
|
|
||||||
`netnewswire://theme/add?url={url}`
|
`netnewswire://theme/add?url={url}`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user