Add Finance channel (web-only) with markets/macro feeds
New web-only category mirroring the EU channel: shows in the web UI but does not post to Matrix. Adds the channel entry, emerald (money green) theme utilities, and two macro/finance feeds (Naked Capitalism, Wolf Street) to the example config.
This commit is contained in:
@@ -157,3 +157,19 @@ tier = 1
|
|||||||
poll_interval_minutes = 60
|
poll_interval_minutes = 60
|
||||||
direct_route = "music"
|
direct_route = "music"
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
|
[[sources]]
|
||||||
|
name = "Naked Capitalism"
|
||||||
|
feed_url = "https://www.nakedcapitalism.com/feed"
|
||||||
|
tier = 1
|
||||||
|
poll_interval_minutes = 60
|
||||||
|
direct_route = "finance"
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
[[sources]]
|
||||||
|
name = "Wolf Street"
|
||||||
|
feed_url = "https://wolfstreet.com/feed/"
|
||||||
|
tier = 1
|
||||||
|
poll_interval_minutes = 60
|
||||||
|
direct_route = "finance"
|
||||||
|
enabled = true
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ var channels = []Channel{
|
|||||||
{Slug: "anime", Title: "Anime", Theme: "anime", Emoji: "🌸", Blurb: "Series, studios, and the wider world of anime and manga."},
|
{Slug: "anime", Title: "Anime", Theme: "anime", Emoji: "🌸", Blurb: "Series, studios, and the wider world of anime and manga."},
|
||||||
{Slug: "foss", Title: "FOSS", Theme: "foss", Emoji: "🐧", Blurb: "Kernel, distros, and the wider free and open source software world."},
|
{Slug: "foss", Title: "FOSS", Theme: "foss", Emoji: "🐧", Blurb: "Kernel, distros, and the wider free and open source software world."},
|
||||||
{Slug: "kids", Title: "Kids", Theme: "kids", Emoji: "🧒", Blurb: "World news written for younger readers — short, clear, and curious."},
|
{Slug: "kids", Title: "Kids", Theme: "kids", Emoji: "🧒", Blurb: "World news written for younger readers — short, clear, and curious."},
|
||||||
|
{Slug: "finance", Title: "Finance", Theme: "finance", Emoji: "💰", Blurb: "Markets, money, and the business of the world. Read-only — these stories don't post to Matrix."},
|
||||||
}
|
}
|
||||||
|
|
||||||
// SourceInfo is the trimmed view of a configured feed for the settings panel.
|
// SourceInfo is the trimmed view of a configured feed for the settings panel.
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ html[data-phase="night"] {
|
|||||||
.bg-theme-anime { background-color: #ec5e8a; }
|
.bg-theme-anime { background-color: #ec5e8a; }
|
||||||
.bg-theme-foss { background-color: #d97706; }
|
.bg-theme-foss { background-color: #d97706; }
|
||||||
.bg-theme-kids { background-color: #14b8a6; }
|
.bg-theme-kids { background-color: #14b8a6; }
|
||||||
|
.bg-theme-finance { background-color: #10b981; }
|
||||||
|
|
||||||
.text-theme-gaming { color: #2d8a5a; }
|
.text-theme-gaming { color: #2d8a5a; }
|
||||||
.text-theme-tech { color: #2f7fb8; }
|
.text-theme-tech { color: #2f7fb8; }
|
||||||
@@ -86,6 +87,7 @@ html[data-phase="night"] {
|
|||||||
.text-theme-anime { color: #c33a6a; }
|
.text-theme-anime { color: #c33a6a; }
|
||||||
.text-theme-foss { color: #b8530a; }
|
.text-theme-foss { color: #b8530a; }
|
||||||
.text-theme-kids { color: #0f766e; }
|
.text-theme-kids { color: #0f766e; }
|
||||||
|
.text-theme-finance { color: #059669; }
|
||||||
|
|
||||||
.decoration-theme-gaming { text-decoration-color: #4caf7d; }
|
.decoration-theme-gaming { text-decoration-color: #4caf7d; }
|
||||||
.decoration-theme-tech { text-decoration-color: #5aa9e6; }
|
.decoration-theme-tech { text-decoration-color: #5aa9e6; }
|
||||||
@@ -95,6 +97,7 @@ html[data-phase="night"] {
|
|||||||
.decoration-theme-anime { text-decoration-color: #ec5e8a; }
|
.decoration-theme-anime { text-decoration-color: #ec5e8a; }
|
||||||
.decoration-theme-foss { text-decoration-color: #d97706; }
|
.decoration-theme-foss { text-decoration-color: #d97706; }
|
||||||
.decoration-theme-kids { text-decoration-color: #14b8a6; }
|
.decoration-theme-kids { text-decoration-color: #14b8a6; }
|
||||||
|
.decoration-theme-finance { text-decoration-color: #10b981; }
|
||||||
|
|
||||||
.border-theme-gaming { border-color: #4caf7d; }
|
.border-theme-gaming { border-color: #4caf7d; }
|
||||||
.border-theme-tech { border-color: #5aa9e6; }
|
.border-theme-tech { border-color: #5aa9e6; }
|
||||||
@@ -104,6 +107,7 @@ html[data-phase="night"] {
|
|||||||
.border-theme-anime { border-color: #ec5e8a; }
|
.border-theme-anime { border-color: #ec5e8a; }
|
||||||
.border-theme-foss { border-color: #d97706; }
|
.border-theme-foss { border-color: #d97706; }
|
||||||
.border-theme-kids { border-color: #14b8a6; }
|
.border-theme-kids { border-color: #14b8a6; }
|
||||||
|
.border-theme-finance { border-color: #10b981; }
|
||||||
|
|
||||||
/* "Posted to Matrix" glow — soft pulsing aura in the channel's theme color. */
|
/* "Posted to Matrix" glow — soft pulsing aura in the channel's theme color. */
|
||||||
.glow-theme-gaming { box-shadow: 0 0 0 2px rgba(76,175,125,0.35), 0 0 24px 4px rgba(76,175,125,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
.glow-theme-gaming { box-shadow: 0 0 0 2px rgba(76,175,125,0.35), 0 0 24px 4px rgba(76,175,125,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
||||||
@@ -114,6 +118,7 @@ html[data-phase="night"] {
|
|||||||
.glow-theme-anime { box-shadow: 0 0 0 2px rgba(236,94,138,0.35), 0 0 24px 4px rgba(236,94,138,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
.glow-theme-anime { box-shadow: 0 0 0 2px rgba(236,94,138,0.35), 0 0 24px 4px rgba(236,94,138,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
||||||
.glow-theme-foss { box-shadow: 0 0 0 2px rgba(217,119,6,0.35), 0 0 24px 4px rgba(217,119,6,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
.glow-theme-foss { box-shadow: 0 0 0 2px rgba(217,119,6,0.35), 0 0 24px 4px rgba(217,119,6,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
||||||
.glow-theme-kids { box-shadow: 0 0 0 2px rgba(20,184,166,0.35), 0 0 24px 4px rgba(20,184,166,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
.glow-theme-kids { box-shadow: 0 0 0 2px rgba(20,184,166,0.35), 0 0 24px 4px rgba(20,184,166,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
||||||
|
.glow-theme-finance { box-shadow: 0 0 0 2px rgba(16,185,129,0.35), 0 0 24px 4px rgba(16,185,129,0.45); animation: pete-glow-pulse 2.4s ease-in-out infinite; }
|
||||||
|
|
||||||
@keyframes pete-glow-pulse {
|
@keyframes pete-glow-pulse {
|
||||||
0%, 100% { filter: brightness(1); }
|
0%, 100% { filter: brightness(1); }
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user