From 3ec3ba737c3c7020f1b0ef9a44142c6960239ce2 Mon Sep 17 00:00:00 2001 From: Simon Accascina Date: Fri, 9 Apr 2021 19:47:01 +0200 Subject: [PATCH] Reset list-item counter Fixes #162 --- src/styles.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/styles.js b/src/styles.js index 750e123..6c59885 100644 --- a/src/styles.js +++ b/src/styles.js @@ -27,6 +27,9 @@ module.exports = (theme) => ({ color: theme('colors.gray.900', defaultTheme.colors.gray[900]), fontWeight: '600', }, + 'ol': { + 'counter-reset': 'list-item', + }, 'ol[type="A"]': { '--list-counter-style': 'upper-alpha', },