diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..1a47843 --- /dev/null +++ b/composer.json @@ -0,0 +1,12 @@ +{ + "name": "xiaoxiaobai5724/flarum-theme-switch", + "type": "flarum-extension", + "require": { "flarum/core": "^1.0" }, + "autoload": { "psr-4": { "Demo\\ThemeSwitcher\\": "src/" } }, + "extra": { + "flarum-extension": { + "title": "Theme Switcher", + "icon": { "name": "fas fa-palette", "backgroundColor": "#673ab7", "color": "#fff" } + } + } +}