apple-svelte comes with the default color palette for iOS and iPadOS. Further down in this page is a list of supported color variables.
You can customize your project's accent color by editing the --colors-accent
and
--colors-accent-2
variables. For best results, --colors-accent-2
should be the same color as
--colors-accent
but with lower (15%) opacity.
<style>
:root {
--colors-accent: var(--colors-indigo);
--colors-accent-2: var(--colors-indigo-2);
}
</style>
Colors
Colors 2
Grays
Backgrounds
Labels
Separators
Grouped backgrounds
Fills