Skins support

This commit is contained in:
kibigo!
2017-11-30 19:29:47 -08:00
parent 8812bab687
commit 541fe9b110
22 changed files with 157 additions and 85 deletions

View File

@@ -1,3 +1 @@
import 'font-awesome/css/font-awesome.css';
require.context('images/', true);
import 'themes/glitch/styles/index.scss';

View File

@@ -1,5 +1,4 @@
import loadPolyfills from 'themes/glitch/util/load_polyfills';
import { processBio } from 'themes/glitch/util/bio_metadata';
import ready from 'themes/glitch/util/ready';
function main() {

View File

@@ -1,10 +0,0 @@
// These lines are the same as in glitch:
import 'font-awesome/css/font-awesome.css';
require.context('../../images/', true);
// …But we want to use our own styles instead.
import 'styles/win95.scss';
// Be sure to make this style file import from
// `themes/glitch/styles/index.scss` (the glitch styling), and not
// `application.scss` (which are the vanilla styles).

View File

@@ -1,18 +0,0 @@
# win95 theme.
# Ported over from `cybrespace:mastodon/theme_win95`.
# <https://github.com/cybrespace/mastodon/tree/theme_win95>
# You can use this theme file as inspiration for porting over
# a preëxisting Mastodon theme.
# We only modify the `common` pack, which contains our styling.
pack:
common:
filename: index.js
stylesheet: true
# All unspecified packs will inherit from glitch.
# The `fallback` parameter tells us to use glitch files for everything
# we haven't specified.
fallback: glitch