Skip to content

Commit 60aa574

Browse files
committed
feat: wip docs for colors
1 parent db64ec6 commit 60aa574

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Dashboard colors
3+
description: Adjust Tailwind color variables for the user-side dashboard
4+
category: themes
5+
---
6+
7+
## Introduction
8+
9+
Dashboard color variables allow you to modify Pterodactyl's user-side dashboard palette through a simple set of CSS variables.
10+
11+
### How do you use them?
12+
13+
It's simple: override the CSS color variables in `dashboard:css`'s `:root` selector.
14+
15+
```css [dashboard.css]
16+
:root {
17+
--blueprint-white: 255 255 255;
18+
--blueprint-black: 19 26 32;
19+
}
20+
```

apps/frontend/src/assets/docs.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ export const docsCategories: Record<string, CategoryConfig> = {
2525
label: 'Extension Library',
2626
order: 4,
2727
},
28+
themes: {
29+
icon: 'memory:image',
30+
label: 'Themes',
31+
order: 5,
32+
},
2833
}
2934

3035
export const defaultCategory: CategoryConfig = {

0 commit comments

Comments
 (0)