hexo-theme-gnix 4.0.1 → 4.0.3

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": "hexo-theme-gnix",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "author": "Efterklang <gaojiaxing0220@gmail.com>",
5
5
  "license": "MIT",
6
6
  "description": "Second generation of Hexo theme Icarus, now with Catppuccin flavor and night mode support.",
@@ -3,7 +3,7 @@
3
3
  :root {
4
4
  --font-serif: Georgia, "Times New Roman", Times, "Songti SC", "STSong", serif;
5
5
  --font-sans-serif:
6
- Futura, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
6
+ Avenir, Futura, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
7
7
  Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
8
8
  --font-monospace:
9
9
  "Maple Mono NF CN", "Maple Mono NF", "SF Mono", "SF Pro", Menlo, Monaco,
@@ -988,8 +988,7 @@ video {
988
988
  img,
989
989
  video {
990
990
  display: block;
991
- margin: 0 0 1rem 0;
992
- border-radius: 2px;
991
+ margin: 0 auto;
993
992
  }
994
993
 
995
994
  img:hover,
@@ -1065,6 +1064,18 @@ video {
1065
1064
  line-height: 1.45;
1066
1065
  }
1067
1066
 
1067
+ code {
1068
+ font-size: 0.85em;
1069
+ font-weight: 400;
1070
+ font-family: var(--font-monospace);
1071
+ padding: 0 0.15em;
1072
+ margin: 0 0.1em;
1073
+ background-color: var(--base);
1074
+ color: var(--subtext1);
1075
+ border: 1px solid var(--surface0);
1076
+ border-radius: 6px;
1077
+ }
1078
+
1068
1079
  sub,
1069
1080
  sup {
1070
1081
  font-size: 75%;
@@ -1220,18 +1231,6 @@ input.task-list-item-checkbox:checked::before {
1220
1231
  color: var(--base);
1221
1232
  }
1222
1233
 
1223
- code {
1224
- font-size: 0.85em;
1225
- font-weight: 400;
1226
- font-family: var(--font-monospace);
1227
- padding: 0 0.15em;
1228
- margin: 0 0.1em;
1229
- background-color: var(--base);
1230
- color: var(--subtext1);
1231
- border: 1px solid var(--surface0);
1232
- border-radius: 6px;
1233
- }
1234
-
1235
1234
  strong {
1236
1235
  font-weight: bolder;
1237
1236
  padding: 0 0.1em;
@@ -24,7 +24,7 @@
24
24
 
25
25
  .tk-avatar .tk-avatar-img {
26
26
  height: 2.5rem;
27
- color: #c0c4cc;
27
+ color: var(--subtext0);
28
28
  }
29
29
 
30
30
  .tk-comment .tk-submit .tk-avatar .tk-avatar-img,
@@ -672,15 +672,12 @@
672
672
 
673
673
  .tk-admin {
674
674
  position: absolute;
675
- top: 0;
676
- left: 100%;
677
675
  width: 100%;
678
676
  height: 100%;
679
677
  overflow-y: auto;
680
678
  pointer-events: all;
681
679
  color: var(--text);
682
- background-color: rgba(0, 0, 0, 0.6);
683
- backdrop-filter: blur(5px);
680
+ background-color: var(--mantle);
684
681
  transition: all 0.5s ease;
685
682
  visibility: hidden;
686
683
  }
@@ -775,11 +772,11 @@
775
772
  .tk-panel .tk-tabs {
776
773
  display: flex;
777
774
  margin-bottom: 1em;
778
- border-bottom: 2px solid #c0c4cc;
775
+ border-bottom: 1px solid var(--surface0);
779
776
  }
780
777
 
781
778
  .tk-panel .tk-tab {
782
- color: #c0c4cc;
779
+ color: var(--subtext0);
783
780
  cursor: pointer;
784
781
  line-height: 2em;
785
782
  margin-right: 2em;
@@ -1134,7 +1131,7 @@
1134
1131
  .el-button.is-disabled.is-plain:hover {
1135
1132
  background-color: var(--base);
1136
1133
  border-color: #ebeef5;
1137
- color: #c0c4cc;
1134
+ color: var(--subtext0);
1138
1135
  }
1139
1136
 
1140
1137
  .el-button.is-loading {
@@ -1660,23 +1657,23 @@
1660
1657
  }
1661
1658
 
1662
1659
  .el-textarea__inner::-webkit-input-placeholder {
1663
- color: #c0c4cc;
1660
+ color: var(--subtext0);
1664
1661
  }
1665
1662
 
1666
1663
  .el-textarea__inner:-ms-input-placeholder {
1667
- color: #c0c4cc;
1664
+ color: var(--subtext0);
1668
1665
  }
1669
1666
 
1670
1667
  .el-textarea__inner::-ms-input-placeholder {
1671
- color: #c0c4cc;
1668
+ color: var(--subtext0);
1672
1669
  }
1673
1670
 
1674
1671
  .el-textarea__inner::placeholder {
1675
- color: #c0c4cc;
1672
+ color: var(--subtext0);
1676
1673
  }
1677
1674
 
1678
1675
  .el-textarea__inner:hover {
1679
- border-color: #c0c4cc;
1676
+ border-color: var(--subtext0);
1680
1677
  }
1681
1678
 
1682
1679
  .el-textarea__inner:focus {
@@ -1696,24 +1693,24 @@
1696
1693
  .el-textarea.is-disabled .el-textarea__inner {
1697
1694
  background-color: #f5f7fa;
1698
1695
  border-color: #e4e7ed;
1699
- color: #c0c4cc;
1696
+ color: var(--subtext0);
1700
1697
  cursor: not-allowed;
1701
1698
  }
1702
1699
 
1703
1700
  .el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder {
1704
- color: #c0c4cc;
1701
+ color: var(--subtext0);
1705
1702
  }
1706
1703
 
1707
1704
  .el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder {
1708
- color: #c0c4cc;
1705
+ color: var(--subtext0);
1709
1706
  }
1710
1707
 
1711
1708
  .el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder {
1712
- color: #c0c4cc;
1709
+ color: var(--subtext0);
1713
1710
  }
1714
1711
 
1715
1712
  .el-textarea.is-disabled .el-textarea__inner::placeholder {
1716
- color: #c0c4cc;
1713
+ color: var(--subtext0);
1717
1714
  }
1718
1715
 
1719
1716
  .el-textarea.is-exceed .el-textarea__inner {
@@ -1760,7 +1757,7 @@
1760
1757
  }
1761
1758
 
1762
1759
  .el-input .el-input__clear {
1763
- color: #c0c4cc;
1760
+ color: var(--subtext0);
1764
1761
  font-size: 14px;
1765
1762
  cursor: pointer;
1766
1763
  -webkit-transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
@@ -1819,7 +1816,7 @@
1819
1816
  transition: all 0.3s;
1820
1817
  text-align: center;
1821
1818
  height: 100%;
1822
- color: #c0c4cc;
1819
+ color: var(--subtext0);
1823
1820
  }
1824
1821
 
1825
1822
  .el-input__inner::-ms-reveal {
@@ -1827,19 +1824,19 @@
1827
1824
  }
1828
1825
 
1829
1826
  .el-input__inner::-webkit-input-placeholder {
1830
- color: #c0c4cc;
1827
+ color: var(--subtext0);
1831
1828
  }
1832
1829
 
1833
1830
  .el-input__inner:-ms-input-placeholder {
1834
- color: #c0c4cc;
1831
+ color: var(--subtext0);
1835
1832
  }
1836
1833
 
1837
1834
  .el-input__inner::-ms-input-placeholder {
1838
- color: #c0c4cc;
1835
+ color: var(--subtext0);
1839
1836
  }
1840
1837
 
1841
1838
  .el-input__inner::placeholder {
1842
- color: #c0c4cc;
1839
+ color: var(--subtext0);
1843
1840
  }
1844
1841
 
1845
1842
  .el-input.is-active .el-input__inner {
@@ -1886,7 +1883,7 @@
1886
1883
  .el-input.is-disabled .el-input__inner {
1887
1884
  background-color: #f5f7fa;
1888
1885
  border-color: #e4e7ed;
1889
- color: #c0c4cc;
1886
+ color: var(--subtext0);
1890
1887
  cursor: not-allowed;
1891
1888
  }
1892
1889