Awesome
Superseded by https://github.com/trwnh/mastomods
Linernotes.club Mastodon Themes
Some themes commissioned for linernotes.club.
Setup
quoted from https://github.com/skiant/mastodon-light-theme with some names changed
Instance admins
- 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
Regular users
(assuming your instance admin installed the theme)
- Go to your settings
- Look for the
Site Theme
dropdown- Select the
linernotes_dark
theme if available
Extensions
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
Additional notes
Mostly based on https://github.com/trwnh/mastodon-flat-css