18F / identity-design-system

An extension of the U.S. Web Design System used on Login.gov sites to consistently identify the Login.gov brand.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SASS Syntax in focus stylesheet

karlaturcios opened this issue · comments

Possible bug in the syntax for function roundable-focus-outline-box-shadows in _focus.scss
This code:
Screen Shot 2019-06-24 at 12 19 41 PM
Generates this error:
Screen Shot 2019-06-24 at 12 20 13 PM
The function is likely expecting an argument declaration, like so:
@function roundable-focus-outline-box-shadows () { @return 0 0 0 $theme-focus-offset color('white'), 0 0 0 $theme-focus-width + $theme-focus-offset color($theme-focus-color); }
The above syntax makes the error disappear.

@karlaturcios can you create a PR for this now that you have full github access?

Closing issue, resolved with pull request #95