Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ The table is generated from [`index.yaml`](index.yaml); edit that file, then run
| [`ninefold-help/`](ninefold-help/) | 1.0.0 | Puts the Ninefold topics into +help |
| [`ninefold-config/`](ninefold-config/) | 1.0.0 | Puts the Ninefold settings into +config |
| [`ninefold-app/`](ninefold-app/) | 1.0.0 | Registers Ninefold as a portal page at /apps/ninefold, with the card and rule set editors |
| [`theme-harbor-lights/`](theme-harbor-lights/) | 1.0.0 | Two portal themes for a seaside game, Harbor Night (dark) and Harbor Morning (light), with their own harbour pictures |
<!-- packages-table:end -->

Packages bundled with SharpMUSH (`+who`/`+where`, the HTTP handler, the
Expand Down
5 changes: 5 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,8 @@ packages:
package: ninefold-app
version: 1.0.0
description: Registers Ninefold as a portal page at /apps/ninefold, with the card and rule set editors
- path: theme-harbor-lights/
name: Harbor Lights
package: theme-harbor-lights
version: 1.0.0
description: Two portal themes for a seaside game, Harbor Night (dark) and Harbor Morning (light), with their own harbour pictures
30 changes: 30 additions & 0 deletions theme-harbor-lights/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Harbor Lights

A theme package: two portal themes for a seaside game.

| Theme | Mode | Look |
|---|---|---|
| Harbor Night | dark | Lamplight over a dark harbour under a lighthouse; amber accent, frosted cards with a lamp-coloured edge |
| Harbor Morning | light | The same harbour at first light; sea-blue accent, frosted cards with a sea-coloured edge |

Each carries its colours and style choices, a stylesheet (`harbor-night.css`, `harbor-morning.css`), a background
picture of the harbour and a compass mark beside page titles (`images/`). The art is original to this package.

## Installing

Admin → Packages, find **Harbor Lights**, review and apply. Both themes appear in every character's theme menu
without a reload, and in Admin → Themes with a **Package** tag. To make one the game's default, choose it there.

A new version of the package replaces both themes. Uninstalling removes them; it is refused while either is the
game's default for its mode. Characters who chose a removed theme see the game's default.

Needs SharpMUSH 1.2 or later (package format 1.22).

## Changing it

The installed themes are read-only. **Duplicate** one in Admin → Themes to make the game's own copy, colours and
stylesheet included, and change that.

## Licence

MIT, art included.
38 changes: 38 additions & 0 deletions theme-harbor-lights/harbor-morning.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* Harbor Morning: the same harbour at first light. The picture sits behind the page, washed out toward the bottom so text
on it stays readable; cards are frosted panes with a sea-coloured edge. */

.phosphor-shell {
background:
linear-gradient(color-mix(in srgb, var(--bg) 20%, transparent), color-mix(in srgb, var(--bg) 78%, transparent)),
url(images/harbor-morning.svg) center bottom / cover no-repeat fixed,
var(--bg);
}

.phosphor-rail,
.phosphor-sidebar,
.phosphor-pagebar {
background: color-mix(in srgb, var(--rail-bg) 86%, transparent);
backdrop-filter: blur(8px);
}

.phosphor-topbar {
background: color-mix(in srgb, var(--bg) 70%, transparent);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--border-soft);
}

.kit-card.kit-card {
background: color-mix(in srgb, var(--surface) 86%, transparent);
backdrop-filter: blur(6px);
border-top: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
}

.kit-page-head.kit-page-head {
background: url(images/compass.svg) right center / 64px no-repeat;
padding-right: calc(64px + var(--space-5));
}

.kit-page-kicker.kit-page-kicker {
color: var(--accent);
letter-spacing: 0.18em;
}
42 changes: 42 additions & 0 deletions theme-harbor-lights/harbor-night.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/* Harbor Night: lamplight over a dark harbour. The picture sits behind the page, darkened toward the bottom so text
on it stays readable; cards are frosted panes with a lamp-coloured edge. */

.phosphor-shell {
background:
linear-gradient(color-mix(in srgb, var(--bg) 35%, transparent), color-mix(in srgb, var(--bg) 82%, transparent)),
url(images/harbor-night.svg) center bottom / cover no-repeat fixed,
var(--bg);
}

.phosphor-rail,
.phosphor-sidebar,
.phosphor-pagebar {
background: color-mix(in srgb, var(--rail-bg) 86%, transparent);
backdrop-filter: blur(8px);
}

.phosphor-topbar {
background: color-mix(in srgb, var(--bg) 70%, transparent);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--border-soft);
}

.kit-card.kit-card {
background: color-mix(in srgb, var(--surface) 86%, transparent);
backdrop-filter: blur(6px);
border-top: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
}

.kit-page-head.kit-page-head {
background: url(images/compass.svg) right center / 64px no-repeat;
padding-right: calc(64px + var(--space-5));
}

.kit-page-kicker.kit-page-kicker {
color: var(--accent-2);
letter-spacing: 0.18em;
}

.kit-page-title.kit-page-title {
text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 30%, transparent);
}
15 changes: 15 additions & 0 deletions theme-harbor-lights/images/compass.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions theme-harbor-lights/images/harbor-morning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
121 changes: 121 additions & 0 deletions theme-harbor-lights/images/harbor-night.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading