Forum Discussion
Yeah I did that and it downloaded the folder for theme_support (the skin I need downloaded) inside coreplugin/other/res/skins, however it doesn't contain any files inside it
You can not download core skin from lithium. Parent skins can not be editable from studio. Files which can be edited from studio can only be export through SDK.
li export-studio-plugin
i export-plugin
You can download files using SDK using above commands which edited through SDK plugin or by Studio changes.
- Lindsey6 years agoLeader
No it is not editable. It is a skin that a Khoros support member added for us when setting up our community. I am able to download the files for responsivebase and responsivepeak, though, just not for theme_support.
- Parshant6 years agoBoss
Lindsey, SO this could be core skin, which you can download until not editable from admin. You can log support ticket for this issue and concern at your end.
Best thing I would say, Inherit this skin to your custom skin, and override the updates you want to your skin css using mixin and other override css rules
- TysonN6 years agoKhoros Alumni (Retired)
Themes skins (both base and support) are core skins which wouldn't normally be included in your SDK export. Parshant 's suggestion is also what I'd recommend, as Themes skins do contain directives to copy Sass partials to skins which inherit from them. Themes skin partials are also viewable, read-only, in Studio.
- Lindsey6 years agoLeader
I don't understand the suggestion. Do you mean have theme_support's parent skin be my custom skin? Wouldn't that still cause an error?
- TysonN6 years agoKhoros Alumni (Retired)
If you derive a custom skin from the theme_support skin, all of the theme_support Sass files will be copied there.
- Lindsey6 years agoLeader
But my custom skin is already derived from theme_support?
- TysonN6 years agoKhoros Alumni (Retired)
Then you already started with a copy of the theme_support files.
If you're trying to do local Sass compilation, that's not (yet) supported via the Community SDK, andas you've discovered, it's not straightforward to obtain all of the core Sass files. You can, however, find read-only copies in Studio. - Lindsey6 years agoLeader
So what do you recommend doing? Because I need to to the li set-responsive-options to do local Sass compilation through studio too so it will know which skin to serve right? Should I go in and manually copy all the contents of the read only files of theme_support?
- TysonN6 years agoKhoros Alumni (Retired)
Ah, sorry, I mis-spoke. Of course we do support local Sass compilation via li serve-sass. But the Community SDK code does not currently handle core theme code.
Back to SuzieH 's original response, this could be considered a bug, and is worth reporting to Support.
In the meantime, you could use Parshant 's workaround, which I believe is to create a new custom skin derived from "theme_support". This is effectively a copy of theme_support, and since it's custom, Community SDK should allow you to export it. You could then rename your local copy to "theme_support" and see if that allows you to compile locally via li serve-sass. Not sure if Parshant has actually done this exact thing. I have not.
Another option is to manually copy files out of Studio. You're right that that doesn't sound like much fun.
- Lindsey6 years agoLeader
So create a skin in studio with its parent being theme_support, just call it theme_support, don't change any files, and then do li export-studio-plugin and it should download what is in theme_support?
Related Content
- 5 months ago
- 2 years ago
- 5 years ago