Hello,
We recently purchased ASP.NET Zero and started working on our installation.
I looked into adding a custom Metronic theme and I successfully added a new colour (using MetronicThemeChanger) to the pallette of the Default theme, including the custom theme folders with metronic-customize, etc.
However, I noticed that assets/common/styles/themes/mytheme/metronic-customize.css
is used and that assets/common/styles/themes/mytheme/metronic-customize.less
is not compiled/built to the .css
variant. So when I make changes to the .less
file, the changes are not reflected in the .css
file.
I saw that DynamicResourcesHelper.ts
includes the PrimeNG CSS and the above mentioned metronic-customize.css
, but how can I change this to include/use the .less
variant without changing core code? Changing it in DynamicResourcesHelper.ts
would mean that I can't upgrade without losing this modification. I can't edit AppPreBootstrap
, which seems to load in the DynamicResourcesHelper
, as that is basically core code as well.
I also tried adding the .less
file in angular.json
(tried it both before styles.css
and after it), but the changes in the .less
file are still overridden by the .css
one.
And I also tried using @import
for that file in src/styles.css
, which doesn't seem to work either.
Any tips on how to approach this would be appreciated. :)
Hi Volosoft,
This morning I downloaded the latest Visual Studio update (version 15.9.9). When editing one of my Entities I noticed that using the Power Tools caused Visual Studio to crash when updating one of the entity's attributes.
Steps to reproduce:
The installed Power Tools extension has version 1.8.1.2
For the time being I get around the issue by deleting the original entity and all code generated and creating fresh entities instead of regenerating them. (we are setting up a new project).
Kind regards, Roel van Happen