Customizing Canvas LMS

90 views
Skip to first unread message

Juan Guerrero

unread,
Sep 17, 2018, 11:41:36 AM9/17/18
to Canvas LMS Users
Hi all,

I've a Bitnami canvas-lms-virtual-machine (https://bitnami.com/stack/canvaslms/virtual-machine). So i'm trying to change some .css files  (e.g: in /opt/bitnami/apps/canvaslms/htdocs/app/stylesheets/pages/login/_ic-login.scss - the background color) but when i rebuild assets (bundle exec rake canvas:compile_assets) and restart canvas service the pages still unchanged.

Someone knows how to update theese files?

Christopher Bennell

unread,
Sep 18, 2018, 9:01:44 AM9/18/18
to Canvas LMS Users
Hi Juan, have you looked into the Canvas theme builder? This is the supported way of customizing your Canvas colours, logos etc. Would it work for your use case? 

Frob

unread,
Oct 3, 2018, 12:57:31 PM10/3/18
to Canvas LMS Users
How would I take a theme that is built in the theme builder and export it as code or configuration. Especially for things like tests and CI it would be good to be able to script an import of the theme from a fresh install.

Juan Guerrero

unread,
Oct 4, 2018, 11:19:16 AM10/4/18
to Canvas LMS Users
Hey! Thanks for reply. My bad, the app was in development env.
 sudo RAILS_ENV=development bundle exec rake canvas:compile_assets 
And it works!


Christopher Bennell

unread,
Oct 4, 2018, 1:34:42 PM10/4/18
to Canvas LMS Users
Sadly, it appears the brand config API is read-only. You would need to meddle with the database, I believe. 
Reply all
Reply to author
Forward
0 new messages