mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Job Panels use a consistant color pallet (#96834)
## About The Pull Request Converts all of these random css files to all pull from our department datums turning this: <img width="1920" height="1044" alt="image" src="https://github.com/user-attachments/assets/966d77a3-7382-4ea6-859e-2a57508e28b3" /> into this: <img width="1920" height="1034" alt="image" src="https://github.com/user-attachments/assets/73fda9cd-8546-42d8-ba60-1135a12b2d6f" /> The only real note here is that that purple that prefs use is prob alot better for sillicon then what the datum uses right now. ## Why It's Good For The Game I think its horribly bad behavior to have like 10 loose spots you need to add to if you are trying to add a new feature/datum/department/whatever. There is a lot of code (mostly old but some still linger) that does this and its horrible for maintainability. There is prob a few other aspects of departments i would like to rework to tamper down on this but atomization is good. This also creates a consistent color scheme for jobs instead of using just like... The default values for "red" for instance. It should make it easier to tell departments apart across the different menus. ## Changelog 🆑 qol: All panels displaying jobs now use a consistent color pallet /🆑
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
|
||||
departments[department_name] = list(
|
||||
"head" = department_head_type && initial(department_head_type.title),
|
||||
"color" = department_type.ui_color, // Prob shouldnt be here.
|
||||
)
|
||||
|
||||
jobs[job.title] = list(
|
||||
|
||||
Reference in New Issue
Block a user