nodebb-theme-harmony 1.1.30 → 1.1.32

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": "nodebb-theme-harmony",
3
- "version": "1.1.30",
3
+ "version": "1.1.32",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
package/scss/fonts.scss CHANGED
@@ -2,14 +2,17 @@
2
2
  @use "@fontsource/poppins/scss/mixins" as Poppins;
3
3
 
4
4
  $weights: $font-weight-light, $font-weight-normal, $font-weight-semibold, $font-weight-bold;
5
+ $subsets: (latin, latin-ext);
5
6
 
6
7
  @include Inter.faces(
7
8
  $weights: $weights,
9
+ $subsets: $subsets,
8
10
  $display: fallback,
9
11
  $directory: "./plugins/nodebb-theme-harmony/inter"
10
12
  );
11
13
  @include Poppins.faces(
12
- $weights: $weights,
13
- $display: fallback,
14
- $directory: "./plugins/nodebb-theme-harmony/poppins"
15
- );
14
+ $weights: $weights,
15
+ $subsets: $subsets,
16
+ $display: fallback,
17
+ $directory: "./plugins/nodebb-theme-harmony/poppins"
18
+ );
@@ -2,7 +2,7 @@
2
2
  <div class="modal-dialog">
3
3
  <div class="modal-content">
4
4
  <div class="modal-header d-flex gap-4 justify-content-between">
5
- <div class="fs-6 flex-grow-1" component="chat/room/name">{{{ if ./roomName }}}# {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}</div>
5
+ <div class="fs-6 flex-grow-1" component="chat/room/name" data-icon="{icon}">{{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}</div>
6
6
  <div class="d-flex gap-1 align-items-center">
7
7
  <button type="button" class="btn-ghost-sm d-none d-md-flex" data-action="maximize">
8
8
  <i class="fa fa-fw fa-expand text-muted"></i>
@@ -47,7 +47,7 @@
47
47
  </div>
48
48
  </div>
49
49
  </div>
50
- <div component="chat/main-wrapper" class="flex-grow-1 ms-md-2 ps-md-2 border-1 border-start-md h-100" style="min-width: 0;">
50
+ <div component="chat/main-wrapper" class="flex-grow-1 ms-md-2 ps-md-2 border-1 border-start-md h-100" style="min-width: 0;" data-roomid="{roomId}">
51
51
  <!-- IMPORT partials/chats/message-window.tpl -->
52
52
  </div>
53
53
  <div class="imagedrop"><div>[[topic:composer.drag_and_drop_images]]</div></div>
@@ -39,6 +39,6 @@
39
39
  document.documentElement.style.setProperty('--panel-offset', `0px`);
40
40
  }
41
41
  </script>
42
- <div class="container px-md-4 d-flex flex-column gap-3 h-100" id="content">
42
+ <div class="container px-md-4 d-flex flex-column gap-3 h-100 mb-5 mb-lg-0" id="content">
43
43
  <!-- IMPORT partials/noscript/warning.tpl -->
44
44
  <!-- IMPORT partials/noscript/message.tpl -->
@@ -14,7 +14,7 @@
14
14
  {{{ else }}}
15
15
  <div component="chat/header" class="d-flex align-items-center px-md-3 gap-3">
16
16
  <a href="#" data-action="close" role="button" class="flex-shrink-0 d-flex d-md-none btn btn-outline align-text-top"><i class="fa fa-chevron-left"></i></a>
17
- <h5 class="members flex-grow-1 fw-semibold tracking-tight mb-0 text-truncate text-nowrap">
17
+ <h5 component="chat/header/title" class="members flex-grow-1 fw-semibold tracking-tight mb-0 text-truncate text-nowrap">
18
18
  {{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}
19
19
  </h5>
20
20
 
@@ -43,7 +43,7 @@
43
43
  <div class="d-flex gap-2 justify-content-end align-items-center mt-2 hidden-empty" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
44
44
  </div>
45
45
 
46
- <div class="row">
46
+ <div class="row mb-4 mb-lg-0">
47
47
  <div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
48
48
  <!-- IMPORT partials/post_bar.tpl -->
49
49