noph-ui 0.10.3 → 0.10.5

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.
@@ -92,6 +92,7 @@
92
92
 
93
93
  <style>
94
94
  .np-icon-button {
95
+ font-family: inherit;
95
96
  box-sizing: border-box;
96
97
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
97
98
  background-color: transparent;
@@ -162,6 +162,7 @@
162
162
  --background-color: none;
163
163
  }
164
164
  .np-card-container {
165
+ font-family: inherit;
165
166
  box-sizing: border-box;
166
167
  text-align: start;
167
168
  display: inline-flex;
@@ -51,6 +51,7 @@
51
51
  <style>
52
52
  .np-navigation-drawer-item {
53
53
  cursor: pointer;
54
+ font-family: inherit;
54
55
  border: 0;
55
56
  background: none;
56
57
  align-items: center;
@@ -119,9 +120,9 @@
119
120
  }
120
121
 
121
122
  .np-navigation-drawer-item-label {
122
- font-size: var(--np-navigation-drawer-font-size, 0.875rem);
123
+ font-size: var(--np-navigation-drawer-item-font-size, 0.875rem);
123
124
  line-height: 1.25rem;
124
- font-weight: 500;
125
+ font-weight: var(--np-navigation-drawer-item-font-weight, 500);
125
126
  flex: 1;
126
127
  text-align: left;
127
128
  overflow: hidden;
@@ -131,7 +132,7 @@
131
132
  }
132
133
 
133
134
  .np-navigation-drawer-item-selected .np-navigation-drawer-item-label {
134
- font-weight: 700;
135
+ font-weight: var(--np-navigation-drawer-item-selected-font-weight, 700);
135
136
  color: var(--np-color-on-secondary-container);
136
137
  }
137
138
 
@@ -44,6 +44,7 @@
44
44
  <style>
45
45
  .np-navigation-action {
46
46
  cursor: pointer;
47
+ font-family: inherit;
47
48
  border: 0;
48
49
  background: none;
49
50
  align-items: center;
@@ -85,7 +86,7 @@
85
86
  .np-navigation-action-label {
86
87
  font-size: 0.75rem;
87
88
  line-height: 1rem;
88
- font-weight: 500;
89
+ font-weight: var(--np-navigation-rail-item-font-weight, 500);
89
90
  transition: all;
90
91
  color: var(--np-color-on-surface-variant);
91
92
  }
@@ -113,7 +114,7 @@
113
114
  }
114
115
 
115
116
  .np-navigation-action-selected .np-navigation-action-label {
116
- font-weight: 700;
117
+ font-weight: var(--np-navigation-rail-item-selected-font-weight, 700);
117
118
  color: var(--np-color-on-surface);
118
119
  }
119
120
  .np-touch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {