Superseded by https://github.com/trwnh/mastomods
Some themes commissioned for linernotes.club.
quoted from https://github.com/skiant/mastodon-light-theme with some names changed
- Copy
linernotes_dark.scss
,linernotes_dark
, andmastodon_flat_css
intoapp/javascript/styles
- Add the following line in
config/themes.yml
:linernotes_dark: styles/linernotes_dark.scss
- Run
RAILS_ENV=production bundle exec rails assets:precompile
- Restart Mastodon
(assuming your instance admin installed the theme)
- Go to your settings
- Look for the
Site Theme
dropdown- Select the
linernotes_dark
theme if available
it's still mostly dedicated to linernotes.club but i've since made a few changes to make this more modular in case anyone else wants a custom theme based on mastodonFlat? the basic structure of the theme is something like this:
- themeName.scss = contains import statements for all base mastodon styles, with the following imports in order:
- themeName/palette.scss -- defines color palette to be used by mfc base theme
- mastodon_flat_css/mastodonFlat.scss -- applies mfc base theme using palette
- themeName/overrides.scss -- misc tweaks on top of mfc
Mostly based on https://github.com/trwnh/mastodon-flat-css