@cagatay these changes arenāt published anywhere presently, so nothing for you to do.
Theming support in Sudonix
-
Over the past couple of days, Iāve been making significant headway with this, and the performance benefits are huge. Hoping to release to production in the coming weeks.
-
Itās been a while so I thought Iād provide an update. Bar a couple of small bugs, Iām almost complete with the refactoring of the theming engine and associated code.
During testing, this is a game changer in terms of loading speed. There are essentially two main components
- A āglobalā CSS file that essentially provides the foundation for all themes.
- The addition of a Swatch - based on CSS variables which contains no CSS. This means that no additional CSS is loaded or removed during theme changes, and also means there is no need to reload the site.
- With minification, the global CSS theme (once unneeded elements are removed) comes in at around 10kb. The Swatch files are literally less than 1Kb
Once Iāve moved this into production, Iāll share the code.
-
Hi All,
I just implemented a raft of new code from DEV to PROD. You will need to reload your browser (ideally a hard refresh) to pick up the new code, styles, and swatches. Itāll be worth the effort - trust me
-
Ughā¦ Spotted some (really minor) but nothing thatās not easily fixed. I need to implement the final stages also - most of which are code refactoring, and minification.
Iāll post the completed code plus documentation as soon as itās finished
-
-
-
@JAC thanks
-
*** NEW *** āFaceTubeā theme added
Like the YouTube and Facebook Dark themes ? Well, you can now have both here !!
Enjoy
-
@phenomlab Awesome!! Love itā¦
-
@Sampo2910 thanks. Iām going to be cleaning up the code and proving a new post with instructions etc soon. Fully stable now with (I hope) no bugs, so ready for release once Iāve finished the cleanup.
-
*** NEW *** Greybird theme added
For those who like the Ubuntu theme of the same name, this is for you. Not entirely a replica, but pretty close -
*** NEW *** Tempest theme added
A nice blend of dark colors. Easy on the eyes, and perfect for those who like a bit of darkness in their lives
-
Some minor tweaks have been added to better support mobile views, and also layouts on desktops with larger screens. Most of these will probably go unnoticed, but Iāve spotted them
-
Iām planning on making the theme CSS a bit more flexible in terms of individual assets as one variable currently will change multiple assets - not great from the overall control perspective, so need to address that.
This issue doesnāt manifest itself under dark themes, but is very much visible under light - particular when you want to use a dark header with light text - currently, itās not visible. I could be selfish and say that light themes are no longer supportedā¦ (just kidding)
-
*** NEW *** Twitter (Dim) theme added
For those who like the Twitteresque dim theme.
-
*** NEW *** Anthracite theme added
For those who like a bit of darkness in their lives, but not too much of it
-
I thought Iād better come by here with an update so everyone knows that the Swatch project isnāt abandoned, or has simply āgone coldā. In fact, quite the opposite.
Iāve setup a dev instance on my home network which Iām currently developing against. Iāll put some screenshots up soon, but the Swatch code is currently enjoying a rewrite. The great news is that youāll get ten times the flexibility you have now meaning greater support for light themes, although the downside is that there isnāt that much backwards compatibility meaning some of my own themes even need to be completely redesigned.
However, this isnāt the end of the world. Once youāre familiar with the classes, it really doesnāt take long at all to create your own themes.
More to follow.
-
Isnāt it annoying when some of the best UI and color schemes come to you out of frustration rather than planning?
Iāll just leave this here
-
@phenomlab said in Theming support in Sudonix:
I thought Iād better come by here with an update so everyone knows that the Swatch project isnāt abandoned, or has simply āgone coldā. In fact, quite the opposite.
Iāve setup a dev instance on my home network which Iām currently developing against. Iāll put some screenshots up soon, but the Swatch code is currently enjoying a rewrite. The great news is that youāll get ten times the flexibility you have now meaning greater support for light themes, although the downside is that there isnāt that much backwards compatibility meaning some of my own themes even need to be completely redesigned.
However, this isnāt the end of the world. Once youāre familiar with the classes, it really doesnāt take long at all to create your own themes.
More to follow.
Iāll be putting together a video of what the revamped theme will look like very soon - just got some small issues to iron out, and code cleanup beforehandā¦