Skip to content

Commit

Permalink
Fixing visually shown
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpoort committed Oct 24, 2018
1 parent 5cf6321 commit 6c7e6bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "illusion",
"description": "Illusion simplifies the creation of things for the web.",
"version": "4.0.1",
"version": "4.0.2",
"homepage": "https://illusion.timble.net",
"author": "The Illusion Authors (https://github.com/timble/illusion/graphs/contributors)",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion scss/tools/mixins/_visually-shown.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Visually shown

@mixin visually-hidden($position: $illusion-visually-shown-position, $overflow: $illusion-visually-shown-overflow, $backface-visibility: $illusion-visually-shown-backface-visibility, $clip: $illusion-visually-shown-clip, $height: $illusion-visually-shown-height, $width: $illusion-visually-shown-width, $margin: $illusion-visually-shown-margin, $padding: $illusion-visually-shown-padding, $border: $illusion-visually-shown-border) {
@mixin visually-shown($position: $illusion-visually-shown-position, $overflow: $illusion-visually-shown-overflow, $backface-visibility: $illusion-visually-shown-backface-visibility, $clip: $illusion-visually-shown-clip, $height: $illusion-visually-shown-height, $width: $illusion-visually-shown-width, $margin: $illusion-visually-shown-margin, $padding: $illusion-visually-shown-padding, $border: $illusion-visually-shown-border) {
@if $position != false {
position: $position;
}
Expand Down
14 changes: 7 additions & 7 deletions scss/tools/variables/_visually-shown.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Visually hidden

$illusion-visually-shown-position: absolute !default;
$illusion-visually-shown-overflow: hidden !default;
$illusion-visually-shown-backface-visibility: hidden !default;
$illusion-visually-shown-clip: rect(0 0 0 0) !default;
$illusion-visually-shown-height: 1px !default;
$illusion-visually-shown-width: 1px !default;
$illusion-visually-shown-margin: -1px !default;
$illusion-visually-shown-position: static !default;
$illusion-visually-shown-overflow: visible !default;
$illusion-visually-shown-backface-visibility: visible !default;
$illusion-visually-shown-clip: auto !default;
$illusion-visually-shown-height: auto !default;
$illusion-visually-shown-width: auto !default;
$illusion-visually-shown-margin: 0!default;
$illusion-visually-shown-padding: 0 !default;
$illusion-visually-shown-border: none !default;

0 comments on commit 6c7e6bf

Please sign in to comment.