diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-09-25 19:24:32 -0700 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-09-25 19:24:32 -0700 |
commit | 86e617a839bd4eb45ace52ab226a4e93bb184ff0 (patch) | |
tree | 63e4513681af278474c2da1e592a13a6043719b2 /app/javascript/packs | |
parent | c2b479efecf1ce1f4a45e626963b7ce7e203b8d6 (diff) |
Better themeing support!!
Diffstat (limited to 'app/javascript/packs')
-rw-r--r-- | app/javascript/packs/application.js | 2 | ||||
-rw-r--r-- | app/javascript/packs/frontends/mastodon.js | 16 |
2 files changed, 1 insertions, 17 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index c06714dc1..aa94006c6 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -2,7 +2,7 @@ import loadPolyfills from '../mastodon/load_polyfills'; // import default stylesheet with variables require('font-awesome/css/font-awesome.css'); -require('mastodon-application-style'); +import 'styles/application'; require.context('../images/', true); diff --git a/app/javascript/packs/frontends/mastodon.js b/app/javascript/packs/frontends/mastodon.js deleted file mode 100644 index a983de36f..000000000 --- a/app/javascript/packs/frontends/mastodon.js +++ /dev/null @@ -1,16 +0,0 @@ -// This file replaces `app/javascript/packs/application.js` for use -// with multiple frontends. - -import loadPolyfills from '../../mastodon/load_polyfills'; - -// import default stylesheet with variables -require('font-awesome/css/font-awesome.css'); -require('mastodon-application-style'); - -require.context('../../images/', true); - -loadPolyfills().then(() => { - require('../../mastodon/main').default(); -}).catch(e => { - console.error(e); -}); |