Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan committed Oct 21, 2018
1 parent be646c0 commit eb1be82
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 395 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ This is a lightweight, modern jQuery plugin that aids with the accessibility of

#### Requirements

This accessibility plugin requires you to be using **REM** values for font sizes throughout your website. You must also be using an up-to-date, modern browser. We currently **do not support Internet Explorer** due to partial support with [LET](https://caniuse.com/#feat=let) and no support for [CSS filters.](https://caniuse.com/#feat=css-filters&search=filter)
- This accessibility plugin requires you to be using **REM** values for font sizes throughout your website. You must also be using an up-to-date, modern browser. We currently **do not support Internet Explorer** due to partial support with [LET](https://caniuse.com/#feat=let) and no support for [CSS filters.](https://caniuse.com/#feat=css-filters&search=filter)

- This tool also utilises WebStorage (localstorage), please check your [browser support](https://caniuse.com/#feat=namevalue-storage) for this.

#### Browser Support

Expand Down
2 changes: 1 addition & 1 deletion dist/css/accessibility-tool.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ gulp.task('build-css', function() {
outputStyle: 'compressed'
}).pipe(gulp.dest('dist/css/')))
});

gulp.task('build', ['build-js', 'build-css']);
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
"description": "Accessibility tool to aid the user browsing websites",
"main": "index.js",
"scripts": {
"test": "test"
"build": "gulp build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sts-ryan-holton/accessibility-tool.git"
},
"keywords": [
"accessibility"
"accessibility",
"accessibility tool",
"accessibility checker",
"website accessibility tool"
],
"author": "Ryan Holton",
"license": "MIT",
Expand Down
21 changes: 0 additions & 21 deletions src/dist/css/accessibility-tool.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
h1 {
font-size: 6rem; }

h2 {
font-size: 5rem; }

h3 {
font-size: 4rem; }

h4 {
font-size: 3rem; }

h5 {
font-size: 2rem; }

h6 {
font-size: 1rem; }

p {
font-size: 1rem; }

#accessibility-tool.accessibility-tool {
display: -webkit-box;
display: -ms-flexbox;
Expand Down
29 changes: 0 additions & 29 deletions src/scss/_core.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
h1 {
font-size: 6rem;
}

h2 {
font-size: 5rem;
}

h3 {
font-size: 4rem;
}

h4 {
font-size: 3rem;
}

h5 {
font-size: 2rem;
}

h6 {
font-size: 1rem;
}

p {
font-size: 1rem;
}


#accessibility-tool {
&.accessibility-tool {
display: flex;
Expand Down
Loading

0 comments on commit eb1be82

Please sign in to comment.