# Is the Dojo 1.X dojox.html.styles API gone?

**URL:** https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512
**Category:** Dojo 2+ users
**Created:** [August 13, 2020, 7:20am UTC](https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512 "2020-08-13T07:20:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tomelam](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.dojo.io/tomelam/32/116_2.png) [@tomelam](https://discourse.dojo.io/u/tomelam)
#### Post date: [August 13, 2020, 7:20am UTC](https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512/1 "2020-08-13T07:20:53Z")

</div>

Hi, folks. I thought dojox.html.styles was pretty neat. It allows stylesheets to be dynamic. (See the just-restored article [https://www.sitepen.com/blog/dynamic-stylesheets-part-1/](https://www.sitepen.com/blog/dynamic-stylesheets-part-1/) and my fix for its broken link to Dojo, at [https://github.com/tomelam/split\_panel\_demo](https://github.com/tomelam/split_panel_demo) .)

Is the same functionality available in Dojo 2+?

---

<div class="post-metadata">

### Author: ![dylan](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.dojo.io/dylan/32/5_2.png) [@dylan](https://discourse.dojo.io/u/dylan)
#### Post date: [August 15, 2020, 10:37pm UTC](https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512/2 "2020-08-15T22:37:17Z")

</div>

This specific pattern is gone, but similar benefits live on within modern Dojo’s theming system.

---

<div class="post-metadata">

### Author: ![tomelam](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.dojo.io/tomelam/32/116_2.png) [@tomelam](https://discourse.dojo.io/u/tomelam)
#### Post date: [August 16, 2020, 5:42am UTC](https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512/3 "2020-08-16T05:42:46Z")

</div>

Thanks, Dylan! I’ll study it.

Tom

Mobile: +91 9845222813
