nodebb-theme-persona 14.2.39 → 14.2.40

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/scss/topic.scss +9 -3
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "14.2.39",
3
+ "version": "14.2.40",
4
4
  "nbbpm": {
5
- "compatibility": "^4.0.0"
5
+ "compatibility": "^4.13.0"
6
6
  },
7
7
  "description": "Persona theme for NodeBB",
8
8
  "main": "library.js",
package/scss/topic.scss CHANGED
@@ -1,3 +1,9 @@
1
+ @use "fontawesome/scss/variables" as fa-vars;
2
+ @use 'fontawesome/scss/solid' as fa-solid;
3
+ @use "fontawesome/scss/mixins" as fa-mixins;
4
+ @use "fontawesome/scss/functions" as fa-functions;
5
+
6
+
1
7
  .topic {
2
8
  .topic-header {
3
9
  top: var(--panel-offset);
@@ -70,12 +76,12 @@
70
76
  }
71
77
 
72
78
  [component="post/upvote"].upvoted i {
73
- @include fa-icon-solid($fa-var-circle-chevron-up);
79
+ @include fa-solid.icon(fa-vars.$var-circle-chevron-up);
74
80
  color: $primary;
75
81
  }
76
82
 
77
83
  [component="post/downvote"].downvoted i {
78
- @include fa-icon-solid($fa-var-circle-chevron-down);
84
+ @include fa-solid.icon(fa-vars.$var-circle-chevron-down);
79
85
  color: $primary;
80
86
  }
81
87
 
@@ -364,7 +370,7 @@
364
370
  background-color: $success;
365
371
  -webkit-transition: .2s ease-in-out all;
366
372
  transition: .2s ease-in-out all;
367
- content: fa-content($fa-var-check);
373
+ content: fa-functions.fa-content(fa-vars.$var-check);
368
374
  padding: 14px;
369
375
  border-radius: 50%;
370
376
  opacity: 1;