Author Topic: _variables.less  (Read 1087 times)

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 55
_variables.less
« on: November 15, 2018, 05:49:50 PM »
"/* Here you can re-define any of variables from variables.less, colors.less and fontawesome.less */"

I changed (#fff) to (#fff000) in 3 (_variables.less) places as a test, and cleared out the cache, but I don't see the (fff000) color changes.  The re-define sentence is very easy for me to catch on to, but I appear to be missing something.   8)

// Layout elements
@color-layout-border:               @color-black-shade-border;
@color-layout-header:               @color-font;
@color-layout-sidebar-background:   #FFF000;
@color-layout-list-background:      #FFF000;
@color-layout-content-background:   #FFF000;
@color-layout-header-background:    #f4f4f4;
@color-layout-footer-background:    #fff;

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,533
    • http://SKaero.com/
Re: _variables.less
« Reply #1 on: November 15, 2018, 06:32:03 PM »
.less files need to be complied into actual css files.

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 55
Re: _variables.less
« Reply #2 on: November 15, 2018, 07:18:25 PM »
So I should change (_variables.less) to (_variables.css)?   8)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,533
    • http://SKaero.com/
Re: _variables.less
« Reply #3 on: November 15, 2018, 07:27:59 PM »
No that wont work since less isn't valid css. There are directions on how to compile the less files in the README in the elastic skin folder https://github.com/roundcube/roundcubemail/blob/master/skins/elastic/README.md

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 55
Re: _variables.less
« Reply #4 on: November 15, 2018, 08:00:39 PM »
Otay   8)