# Make Perspective Component Respect System Themes

**URL:** <https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [March 23, 2023, 9:32pm UTC](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527 "2023-03-23T21:32:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [March 23, 2023, 9:32pm UTC](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527/1 "2023-03-23T21:32:15Z")

</div>

Is there a CSS class or a different hook I need to use to make my custom perspective component respect the session theme?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 23, 2023, 10:14pm UTC](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527/2 "2023-03-23T22:14:35Z")

</div>

CSS is CSS; either you're affected by a selector or you aren't. You can choose to use our named colors in your code, which will help a lot, but full in-depth support just isn't really possible, because a builtin theme file won't be aware of your module. You could potentially get things to work by returning the right class names to be affected by builtin selectors?

---

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [March 27, 2023, 7:24pm UTC](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527/3 "2023-03-27T19:24:54Z")

</div>

Yup ok, are the perspective themes in NPM or in an Inductive repo anywhere? I'd like to import them into my project and to use my IDE's auto-complete. 🙂

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 27, 2023, 8:35pm UTC](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527/4 "2023-03-27T20:35:50Z")

</div>

Not published anywhere for automatic consumption, no. They're assembled as part of our build process directly into the Perspective module. You could manually extract them from the jar for whatever version of Ignition your module is targeting; making your module work across different Perspective module versions could get tricky, depending heavily on exactly what you're trying to do.
