diff --git a/src/components/NcListItem/NcListItem.vue b/src/components/NcListItem/NcListItem.vue
index d81cb58a0d..3c3e3d85c1 100644
--- a/src/components/NcListItem/NcListItem.vue
+++ b/src/components/NcListItem/NcListItem.vue
@@ -10,13 +10,12 @@
```vue
-
+ counterType="highlighted"
+ details="1h"
+ name="This is an active element with highlighted counter">
@@ -40,7 +39,7 @@
@@ -98,10 +97,10 @@
@@ -123,7 +122,7 @@
@@ -171,15 +170,15 @@
-
+
Flexible styling within the first line of the component
-
+
like this.
@@ -207,9 +206,9 @@
+ details="1h">
@@ -237,14 +236,13 @@
### NcListItem one line mode
```vue
-
+ counterType="highlighted"
+ details="1h"
+ name="This is an active element with highlighted counter"
+ one-line>
@@ -279,7 +277,7 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen
@@ -309,7 +307,7 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen
+ bold>
@@ -360,10 +358,22 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen
```vue
-
+
+
+
+
+
+
+
+
+
+
+
@@ -379,17 +389,9 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen
-
-
-
-
-
-
+
@@ -405,9 +407,8 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen
-
@@ -844,6 +845,8 @@ export default {
&.active {
.list-item {
background-color: var(--color-primary-element);
+ color: var(--color-primary-element-text) !important;
+
&:hover,
&:focus-within,
&:has(:focus-visible),
@@ -959,6 +962,7 @@ export default {
}
&__anchor {
+ color: inherit;
display: flex;
flex: 1 0 auto;
align-items: center;