{"title":"Count styling reference","slug":"pos-count-styling-reference","url":"https://support.storeconnect.com/articles/pos-count-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-count-styling-reference.md","subtitle":null,"summary":"The part and component properties for restyling the POS\u0026#39;s counts with CSS, the small dark pills that show a number, such as the tickets waiting on a station\u0026#39;s card, with tested examples such as making the counts bigger or giving them a brand color, and the list of what can\u0026#39;t be styled yet.","type":"Developer_Documentation","video_url":"","keywords":"pos count css, station ticket count css, count-root, --sc-count-size, --sc-count-font-size, pos styling api, pos parts","last_modified":"2026-11-24T06:19:15+0000","body_markdown":"A count is the number that shows operators how many tickets are waiting at a station. Counts appear on each station on the **Your stations** screen, and beside the **Tickets** heading in a station's list of tickets. You can change the size, color, and shape of counts. Follow the [POS styling API](pos-styling-api#rules) rules when you style counts.\n\n## Where a count appears\n\nCounts appear in these places:\n\n- On each station on the **Your stations** screen, when the station has tickets waiting. The digits roll as the number changes.\n- Beside the **Tickets** heading in a station's list of tickets.\n- On each line of a completed stock adjustment, showing the change in quantity, such as `+3` or `-2`.\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `count-root` | The whole count, with the fill and corners. | v22.0.15 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Component properties\n\nSet these on `count-root`. A card sets both around the count, so the count scales with the\ncard: a value you set on `:root` doesn't reach a count on a card, and one you set on\n`count-root` does. A value set on `count-root` replaces the card's scaling, so the count stays\nthat size on a small card too.\n\n| Property | What it sets | Default | Available from |\n| --- | --- | --- | --- |\n| `--sc-count-size` | The width and height of the count. A count that rolls the digits grows wider than this to fit them. | 30px | v22.0.15 |\n| `--sc-count-font-size` | The size of the digits. A count that rolls the digits draws them at seven tenths of this. | var(--sc-type-body-small-size) | v22.0.15 |\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Make the counts bigger.\"**\n\n```css\n\n[part~='count-root'] {\n  --sc-count-size: 36px;\n  --sc-count-font-size: 16px;\n}\n```\n\n**\"Give the counts our brand color.\"**\n\n```css\n\n[part~='count-root'] {\n  background-color: #0b5394;\n}\n```\n\n**\"Make the counts round.\"**\n\n```css\n\n[part~='count-root'] {\n  border-radius: 999px;\n}\n```\n\n## What can't be styled yet\n\n- A count that rolls the digits, apart from one that doesn't, and the digits one by one\n- The digits of a count on a very small card, which the POS hides so only the pill shows: a text color you set on the count shows them again\n- Where a count sits on a card\n\n## Retired\n\nNone yet."}