Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
Overview
p-progressspinner renders an SVG circle animation used to indicate an indeterminate loading state. The Nettalco preset assigns each of the four animated arc color stops to a different semantic severity color — error, info, success, and warn — so the spinner cycles through all four brand hues as it rotates. Both light and dark color schemes use the same semantic references, meaning the spinner adapts automatically when the theme switches.
Usage
Basic Spinner
Custom Size
With Loading Guard
Fill Mode (custom animation name)
Design Tokens
Defined insrc/lib/theme/progressspinner/index.ts:
Color Scheme — Light Mode
| Token | Value | Resolves To |
|---|---|---|
colorScheme.light.root.colorOne | {error.color} | #ef4444 (Red) |
colorScheme.light.root.colorTwo | {info.color} | #66A6FB (Nettalco Sky Blue) |
colorScheme.light.root.colorThree | {success.color} | #2BA5CD (Nettalco Cyan) |
colorScheme.light.root.colorFour | {warn.color} | #D57952 (Nettalco Orange) |
Color Scheme — Dark Mode
| Token | Value | Resolves To |
|---|---|---|
colorScheme.dark.root.colorOne | {error.color} | #f87171 (Red 400) |
colorScheme.dark.root.colorTwo | {info.color} | #69A7ED (Nettalco Info 400) |
colorScheme.dark.root.colorThree | {success.color} | #6ECBCD (Nettalco Success 200) |
colorScheme.dark.root.colorFour | {warn.color} | #F4B33C (Nettalco Warn 200) |
colorOne through colorFour) map directly to the stroke-dasharray segments of the SVG animation keyframes.
Nettalco Theme Notes
The spinner uses the same semantic color tokens —{error.color}, {info.color}, {success.color}, {warn.color} — as all other severity-aware components. These resolve via the colorScheme semantic layer:
style and strokeWidth component inputs at the template level.
Usage tip: Place ap-progressspinnerinside a full-screen overlay<div>withposition: fixedandz-index: 9999for page-level loading guards, wrapping it in an*ngIfbound to aloadingboolean in your component.