@okjavis/nodebb-theme-javis 2.3.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okjavis/nodebb-theme-javis",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "description": "Modern, premium NodeBB theme for JAVIS Community - Extends Harmony with custom styling",
5
5
  "main": "theme.js",
6
6
  "scripts": {
package/plugin.json CHANGED
@@ -6,9 +6,11 @@
6
6
  "library": "./theme.js",
7
7
  "baseTheme": "nodebb-theme-harmony",
8
8
  "hooks": [
9
+ { "hook": "static:app.load", "method": "init" },
9
10
  { "hook": "filter:widgets.getAreas", "method": "defineWidgetAreas" },
10
11
  { "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
11
- { "hook": "filter:config.get", "method": "getThemeConfig" }
12
+ { "hook": "filter:config.get", "method": "getThemeConfig" },
13
+ { "hook": "filter:settings.get", "method": "getAdminSettings" }
12
14
  ],
13
15
  "staticDirs": {
14
16
  "static": "./static"
@@ -16,6 +18,9 @@
16
18
  "scripts": [
17
19
  "static/lib/theme.js"
18
20
  ],
21
+ "modules": {
22
+ "../admin/plugins/javis.js": "public/admin.js"
23
+ },
19
24
  "templates": "templates",
20
25
  "screenshot": "screenshot.png",
21
26
  "version": "1.5.0",
package/scss/_base.scss CHANGED
@@ -28,6 +28,13 @@ nav[component="sidebar/left"] {
28
28
  }
29
29
  }
30
30
 
31
+ // Sidebar toggle link padding
32
+ .sidebar-toggle {
33
+ [component="sidebar/toggle"] {
34
+ padding: $jv-space-4 $jv-space-5 !important; // 16px vertical, 20px horizontal
35
+ }
36
+ }
37
+
31
38
  // Reddit-style layout: Equal spacing and wider feed
32
39
  .feed > .row {
33
40
  max-width: 1400px; // Reddit's approximate max-width