AtlantaFX is based on GitHub Primer color system. You can check [GitHub Primer interface guidelines](https://primer.style/design/foundations/color) for more detailed instructions. There are functional color variables and color scale variables.
| `-color-fg-muted` | For content that is secondary or that provides additional context but is not critical to understanding the flow of an interface. |
The below colors are all accent colors. Use them according to their role. The variable names are self-explaining.
Neutral colors. Use to highlight content without any added meaning.
*`-color-neutral-emphasis-plus`
*`-color-neutral-emphasis`
*`-color-neutral-muted`
*`-color-neutral-subtle`
Accent (or primary) color. Use to draw attention to the particular area or component.
*`-color-accent-fg`
*`-color-accent-emphasis`
*`-color-accent-muted`
*`-color-accent-subtle`
Success colors. Use to express the completion or positive outcome of a task.
*`-color-success-fg`
*`-color-success-emphasis`
*`-color-success-muted`
*`-color-success-subtle`
Attention colors. Use to warn of pending tasks or highlight active content.
*`-color-warning-fg`
*`-color-warning-emphasis`
*`-color-warning-muted`
*`-color-warning-subtle`
Danger colors. Use to inform of error or another negative message.
*`-color-danger-fg`
*`-color-danger-emphasis`
*`-color-danger-muted`
*`-color-danger-subtle`
*Note that a functional color values is not always picked from the corresponding color palette. It can have its own unique value, e.g. to add opacity.*
## Scale variables
Generally, scale variables only supposed to be used by theme devs as replacement of dynamic brightness calculation functions. Avoid referencing them directly when building UI that needs to adapt to different color themes. Instead, use the functional variables listed above. All legitimate functional color combinations are guaranteed to look good in all color themes, because they need to maintain a certain amount of contrast. If you're using scale variable as a part of that combination it may break in another theme. In rare cases, you may need to use scale variables to define custom functional variables in your application.
Each color scale consists of 10 shades from 0 to 9.