Loading dist/css/base/gin.css +8 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,14 @@ a { word-wrap: break-word; } .visually-hidden { color: #000; } .gin--dark-mode .visually-hidden { color: #fff; } a, .link, button.link, Loading styles/base/_body.scss +15 −0 Original line number Diff line number Diff line Loading @@ -38,3 +38,18 @@ a { overflow-wrap: break-word; word-wrap: break-word; } // Enforcing colors on visually hidden text does not change anything for the // user, but it prevents accessibilty scanners like Wave from reporting contrast // errors on visually hidden elements. While this is certainly an issue with the // scanners and not Gin, this ensures that scans provide an accurate account of // Gin's contrast support. .visually-hidden { color: #000; .gin--dark-mode & { color: #FFF; } } Loading
dist/css/base/gin.css +8 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,14 @@ a { word-wrap: break-word; } .visually-hidden { color: #000; } .gin--dark-mode .visually-hidden { color: #fff; } a, .link, button.link, Loading
styles/base/_body.scss +15 −0 Original line number Diff line number Diff line Loading @@ -38,3 +38,18 @@ a { overflow-wrap: break-word; word-wrap: break-word; } // Enforcing colors on visually hidden text does not change anything for the // user, but it prevents accessibilty scanners like Wave from reporting contrast // errors on visually hidden elements. While this is certainly an issue with the // scanners and not Gin, this ensures that scans provide an accurate account of // Gin's contrast support. .visually-hidden { color: #000; .gin--dark-mode & { color: #FFF; } }