Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from Brightspace/dbatiste/remove-less
Browse files Browse the repository at this point in the history
Remove Less mixins.
  • Loading branch information
dbatiste committed Jun 17, 2015
2 parents 8b6cc69 + 08d6d2f commit 3efd7d2
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 54 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules/
test/output
test/diff/less-scss-diff-new
offscreen.css
offscreen-less.css
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@
node_modules
karma.conf.js
test
offscreen.css.less
offscreen.css.scss
offscreen-less.css
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
[![Build status][ci-image]][ci-url]
[![Dependency Status][dependencies-image]][dependencies-url]

This component contains Sass mixins and CSS for positioning elements off the screen. LESS mixins are still include for backward compatibility, however these will likely be removed in a future version.

Off-screen elements are valuable from an accessibility perspective when you wish to have elements which are only visible to screen readers. For more information, read [WebAIM's article on Invisible Content](http://webaim.org/techniques/css/invisiblecontent/).
This component contains Sass mixins and CSS for positioning elements off the screen. Off-screen elements are valuable from an accessibility perspective when you wish to have elements which are only visible to screen readers. For more information, read [WebAIM's article on Invisible Content](http://webaim.org/techniques/css/invisiblecontent/).

For further information on this component and other VUI components, see the docs at [ui.valence.d2l.com](http://ui.valence.d2l.com/).

Expand Down
5 changes: 0 additions & 5 deletions offscreen.css.less

This file was deleted.

18 changes: 0 additions & 18 deletions offscreen.less

This file was deleted.

15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
{
"name": "vui-offscreen",
"version": "0.1.1",
"version": "0.2.0",
"description": "Mixins and CSS for positioning elements offscreen",
"scripts": {
"clean": "rimraf *.css",
"prebuild": "npm run clean",
"build": "npm run build:sass:css && npm run build:less:css",
"build:less:css": "lessc offscreen.css.less > offscreen-less.css",
"postbuild:less:css": "csslint offscreen-less.css",
"build:sass:css": "node-sass --output-style expanded offscreen.css.scss offscreen.css",
"postbuild:sass:css": "csslint offscreen.css",
"build": "node-sass --output-style expanded offscreen.css.scss offscreen.css",
"pretest": "npm run build",
"test": "npm run diff:assert",
"prediff:assert": "npm run diff:create",
"diff:assert": "assertnodiff --file1 ./test/diff/less-scss-diff --file2 ./test/diff/less-scss-diff-new",
"diff:create": "createpatch --file1 offscreen-less.css --file2 offscreen.css -o ./test/diff/less-scss-diff-new"
"test": "csslint offscreen.css"
},
"repository": {
"type": "git",
Expand All @@ -33,8 +26,6 @@
"homepage": "https://github.com/Brightspace/valence-ui-offscreen",
"devDependencies": {
"csslint": "^0.10.0",
"diff-cli": "git://github.com/Brightspace/diff-cli.git#v0.0.1",
"less": "^2.5.1",
"node-sass": "^3.1.1",
"rimraf": "^2.3.4"
}
Expand Down
13 changes: 0 additions & 13 deletions test/diff/less-scss-diff

This file was deleted.

0 comments on commit 3efd7d2

Please sign in to comment.