Go to file
Colleen Palmer e84bd4dd80 Revert and bring InstIcons into Canvas
closes: CNVS-32953

This commit re-introduces Instructure Icons into Canvas.
Due to the range in aesthetic impact of including both line
and solid icons, the change is expansive and will be refined
in subsequent commits. The purpose of this commit is to:

- Make InstIcons available in Canvas allowing the use of the
  react components

- Replace the current icon font with the new InstIcons font

- Allow for use of both 'Line' and 'Solid' icon variants

- Update the styleguide to reference the InstIcons github
  documentation for examples

- Remove font custom from Canvas

Icons changed to line versions in Canvas:
- icon-compose (view on Dashboard card)
- icon-info (view on global notification)

- Updated icons to be larger for better visibility
  (our old font was using a small font size)

- Updated font-size is now relative vs fixed, so better a11y

Test Plan:

- On compiling, icons in Canvas should now be changed to the
  corresponding Instructure Icons as can be seen here
  http://instructure.github.io/instructure-icons/

- The icon default displaying in Canvas should be solid icons.
  If the variant "icon-Line" is added to an icon's css class,
  it should display as line. For example, in the case of
  <i class="icon-edit"></i>, adding
  <i class="icon-edit icon-Line"></i> would result in a line
  version of the edit icon displaying

- As a developer, you should be able to use InstUI react icons

- The rake task `bundle exec rake icons:compile` should no
  longer exist

- The styleguide should no longer display example icons, but
  should now include a link to the Instructure Icons github
  documentation

Change-Id: I9780332de9fdf937b35caabadc2b2ee615892a43
Reviewed-on: https://gerrit.instructure.com/94175
Reviewed-by: Pam Hiett <phiett@instructure.com>
QA-Review: Dan Sasaki
Tested-by: Jenkins
Product-Review: Kyle Follett <kfollett@instructure.com>
2016-11-29 20:52:54 +00:00
Gemfile.d Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
app Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
bin update spring and binstub 2016-10-06 20:25:33 +00:00
build move CI gergich formatters into canvas 2016-11-10 21:49:29 +00:00
client_apps Get webpack builds working again 2016-11-08 19:51:43 +00:00
config Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
db/migrate Create OriginalityReport Api Create endpoint 2016-11-29 19:17:51 +00:00
doc set +x on docker entrypoints that require it 2016-11-28 22:58:58 +00:00
docker-compose set +x on docker entrypoints that require it 2016-11-28 22:58:58 +00:00
frontend_build purge performance gradebook 2016-11-09 20:05:17 +00:00
gems convert i18n_extract gem to prepend instead of alias_method_chain 2016-11-18 16:37:27 +00:00
guard bump execjs 2016-10-10 13:44:55 -06:00
lib Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
public Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
script remove defunct scripts 2016-11-15 17:49:16 +00:00
spec Create OrginalityReport Api Show endpoint 2016-11-29 19:54:08 +00:00
.babelrc Bump Babel to version 6 2016-07-15 21:55:10 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.dockerignore set +x on docker entrypoints that require it 2016-11-28 22:58:58 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintrc.json eslint: Make spaces in functions declarations matter 2016-11-10 16:56:46 +00:00
.gitignore ignore .env 2016-11-28 17:31:18 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.rubocop.yml Moving ParallelAssignment back to style 2016-01-18 21:47:22 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc stylelint, refs SD-1603 2016-10-25 00:21:16 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add guidelines section to CONTRIBUTING.md 2016-01-13 19:50:06 +00:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile docker-compose.yml v2 2016-11-15 17:06:37 +00:00
Gemfile remove rails 4.0 support 2016-10-25 17:17:22 +00:00
Guardfile ensure node_modules are up-to-date for guard & compile_assets 2015-07-16 19:17:54 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md remove travis.ci badge until we are re-enabled 2014-07-01 23:08:00 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
bower.json use node_modules wherever possible 2016-11-01 15:14:52 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
docker-compose.override.yml Add more volumes 2016-11-28 22:40:23 +00:00
docker-compose.yml docker-compose.yml v2 2016-11-15 17:06:37 +00:00
gulpfile.js fix lato font loading 2016-11-21 17:40:30 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
karma.conf.js spec: get plugin and ember js specs running, remove cruft 2016-11-08 23:15:39 +00:00
package.json Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
webpack.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00
webpack.production.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00
webpack.test.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.