Skip to main content

Admin Styles

Admin pages on Clubs allows plugins to use default style sheets to provide a standardized console UX for users.

Colors

The UI colors of the admin pages will automatically switch between light/dark mode depending on the user's preferred color scheme.

The following words can be used as values for Tailwind's utilities such as bg-, border-, and text-.

TokenLight modeDark modeMain usesExample
surface-200
Backgroundsbg-surface-200
surface-300
Backgroundsbg-surface-300
surface-400
Backgroundsbg-surface-400
surface-600
Backgroundsbg-surface-600
surface-ink
Texts/borders on surfacetext-surface-ink
error-200
Backgroundsbg-error-200
error-300
Backgroundsbg-error-300
error-400
Backgroundsbg-error-400
error-600
Backgroundsbg-error-600
error-ink
Texts/borders on errortext-error-ink

You can also use the following words as pure color tokens with no semantics:

TokenLight modeDark mode
primary-200
primary-300
primary-400
primary-600
primary-ink
accent-200
accent-300
accent-400
accent-600
accent-ink