Using - color: @primaryMedium;

Xarcell

Well-known member
So i'm trying to get
Code:
    color: @primaryMedium;
in my css code for a module to use in Jaxel's XenPorta mod.

I cannot get it to work. Any thoughts on this? Is there something I'm missing?
 
It's for a quote module to be used with XenPorta by Jaxel.

Code:
  .bq {
    font-family: "WCManoNegraBta";
    font-size: 190%;
    color: @primaryMedium;
 }
 
Have you tried using:
HTML:
  .bq {
    font-family: "WCManoNegraBta";
    font-size: 190%;
    color: @primaryMedium !important;
 }

I don't know how the css is set up for XenPorta though so the !important declaration would only be required if the same class is being applied later.
 
Have you tried using:
HTML:
  .bq {
    font-family: "WCManoNegraBta";
    font-size: 190%;
    color: @primaryMedium !important;
 }

I don't know how the css is set up for XenPorta though so the !important declaration would only be required if the same class is being applied later.

Tried it, didn't seem to work.

Any other ideas?

FYI: "WCManoNegraBta" font-family is a ttf, using @font-face.
 
Checking the (output) source for your portal, the "@primaryMedium" part is being shown as-it-is. That could be because the template (module?) is not being compiled. The style properties are changed to native php code when a template is compiled. So if that step is skipped, you won't be able to take advantage of the color palette or style properties.
 
Top Bottom