New Theme - Ember

Just wanted to share a new theme I created called Ember. Source is available on GitHub. I created it to scratch a few itches of mine:

  1. It needed to look good with dynamic type on iOS & iPadOS, as well as with medium+ font size on macOS
  2. I wanted a theme that used system fonts (San Francisco)
  3. And I wanted something that looked “cool but not too gimmicky”

Screenshot below. Check it out if you’d like and feel free to shoot over any feedback.

Light mode:

Dark mode:

10 Likes

This looks so great!

1 Like

Is there a light and dark version

yep, it should switch automatically between light and dark (screenshots of both at the top of the thread)

Just an update from me. I just pushed a new version of the theme that also expands footnote handling to many more websites, so you should now be able to get the nice “footnotes appear inline” behavior just about everywhere. Here’s a screenshot of a post in the Six Colors feed:

You can find the theme at ember.marquard.org. Source is on GitHub at dave-atx/ember-nnw-theme.

4 Likes

I love that theme, thanks <3

1 Like

Love the theme, thanks!

1 Like

Ember makes some images full bleed:


Which is valid. (Although, I haven’t figured out why it’s only some, and not all, and would like to know.)

But was it meant to when the image width is smaller than the article width?

(I’d like to figure out a “fix” that does not involve centering.)

@justin_reeves Thanks for catching that! The short version is that the theme tries to make images “that are sitting by themselves” full bleed (e.g., images directly in the article body, images directly in a non-floated <figure> element, etc). It turns out that substack nests images inside figure > a > div > picture > img so I was missing those.

Images smaller than the width of the viewport (like your second two examples) also weren’t being handled correctly; now they’ll be left aligned with the text. Larger images still get the full bleed treatment.

Anyway, that’s all fixed now in v2.6.

Thank you for your inspiration! I looked into your css code and found some really good tips for my own theme!

1 Like