From cd2a6d3dd4999c481a397b6b24a627d741c07ff2 Mon Sep 17 00:00:00 2001 From: Dave Batiste Date: Fri, 30 Oct 2015 11:20:50 -0400 Subject: [PATCH] Updating selector for dyslexic so that it can be toggle on if class is applied to same element where typography is set, or any of its descendants. --- package.json | 2 +- typography.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0f125c2..0345fb0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vui-typography", - "version": "1.0.2", + "version": "1.0.3", "description": "Mixins and CSS for applying basic typography styles", "scripts": { "clean": "rimraf *.css", diff --git a/typography.scss b/typography.scss index d8148ec..04e8508 100644 --- a/typography.scss +++ b/typography.scss @@ -14,7 +14,8 @@ $vui-base-fontSize: 19px; line-height: 1.5rem; letter-spacing: px-to-rem(0.3px, $vui-base-fontSize); - .dyslexic { + &.vui-dyslexic, + .vui-dyslexic { font-weight: 400; font-family: 'Open Dyslexic', sans-serif; }