noph-ui 0.30.9 → 0.30.11
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import Ripple from '../ripple/Ripple.svelte'
|
|
2
3
|
import type { HTMLButtonAttributes } from 'svelte/elements'
|
|
3
4
|
import type { NavigationDrawerItemProps } from './types.ts'
|
|
4
|
-
import Ripple from '../ripple/Ripple.svelte'
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
selected = false,
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.np-navigation-drawer-item-selected .np-navigation-drawer-item-label {
|
|
139
|
-
font-weight: var(--np-navigation-drawer-item-selected-font-weight,
|
|
139
|
+
font-weight: var(--np-navigation-drawer-item-selected-font-weight, 500);
|
|
140
140
|
color: var(--np-color-on-secondary-container);
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import Ripple from '../ripple/Ripple.svelte'
|
|
2
3
|
import type { HTMLButtonAttributes } from 'svelte/elements'
|
|
3
4
|
import type { NavigationRailItemProps } from './types.ts'
|
|
4
|
-
import Ripple from '../ripple/Ripple.svelte'
|
|
5
5
|
|
|
6
6
|
let { selected, icon, label, ...attributes }: NavigationRailItemProps = $props()
|
|
7
7
|
let touchEl: HTMLSpanElement | undefined = $state()
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.np-navigation-action-selected .np-navigation-action-label {
|
|
110
|
-
font-weight: var(--np-navigation-rail-item-selected-font-weight,
|
|
110
|
+
font-weight: var(--np-navigation-rail-item-selected-font-weight, 500);
|
|
111
111
|
color: var(--np-color-secondary);
|
|
112
112
|
}
|
|
113
113
|
.np-touch {
|