# Style Class, Support for CSS Custom Properties

**URL:** <https://forum.inductiveautomation.com/t/style-class-support-for-css-custom-properties/80804>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [October 21, 2023, 4:07pm UTC](https://forum.inductiveautomation.com/t/style-class-support-for-css-custom-properties/80804 "2023-10-21T16:07:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [October 21, 2023, 4:07pm UTC](https://forum.inductiveautomation.com/t/style-class-support-for-css-custom-properties/80804/1 "2023-10-21T16:07:51Z")

</div>

> **[CSS Custom Properties in Style Classes | Ignition Features and Ideas |...](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/css-custom-properties-in-style-classes)**
>
> Add support for defining CSS Custom Properties in Style Classes. We’re missing out on a big part of CSS by not being able to define/redefine Custom Properties

If we could assign/redefine custom properties in Style Classes, it would open up a whole range of cascade-based styling options.

Currently we can use custom properties in a style class, but there’s no way to define new ones.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 22, 2023, 7:18pm UTC](https://forum.inductiveautomation.com/t/style-class-support-for-css-custom-properties/80804/2 "2023-10-22T19:18:04Z")

</div>

In the meantime, you can just insert the other css props into an unused property with:

```auto
; other-prop: value

```

The first ; ends the prop you're entering it into

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [October 22, 2023, 7:27pm UTC](https://forum.inductiveautomation.com/t/style-class-support-for-css-custom-properties/80804/3 "2023-10-22T19:27:29Z")

</div>

Yeah that does work, but I’m not interested in using that solution for anything “long term”. IMO it’s a bug that needs to be fixed. 🤷‍♂️
