openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/darkswarm/typography.scss

Summary

Maintainability
Test Coverage

Unnecessary parent selector (&)
Open

  &, & * {

Each selector in a comma sequence should be on its own single line
Open

h1, h2, h3, h4, h5, h6 {

Name of mixin headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

@mixin headingFont {

Each selector in a comma sequence should be on its own single line
Open

  &:hover, &:focus, &:active {

Color literals like #999 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  color: #999;

Color literals like #333333 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  color: #333333;

Each selector in a comma sequence should be on its own single line
Open

h1, h2, h3, h4, h5, h6 {

Avoid qualifying class selectors with an element.
Open

ul.check-list {

Color #333333 should be written as #333
Open

  color: #333333;

Each selector in a comma sequence should be on its own single line
Open

table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td {

Each selector in a comma sequence should be on its own single line
Open

small, .small {

Each selector in a comma sequence should be on its own single line
Open

  &, & * {

Each selector in a comma sequence should be on its own single line
Open

h1, h2, h3, h4, h5, h6 {

Name of mixin bodyFont should be written in all lowercase letters with hyphens instead of underscores
Open

  @include bodyFont;

Each selector in a comma sequence should be on its own single line
Open

table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td {

0px should be written without units as 0
Open

  padding: 0px;

Each selector in a comma sequence should be on its own single line
Open

table tr th, table tr td {

Name of mixin bodyFont should be written in all lowercase letters with hyphens instead of underscores
Open

@mixin bodyFont {

Each selector in a comma sequence should be on its own single line
Open

table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td {

Avoid qualifying class selectors with an element.
Open

span.email {

Color literals like rgba(#ddd, 0.25) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  border-color: rgba(#ddd, 0.25);

Each selector in a comma sequence should be on its own single line
Open

ul.bullet-list, ul.check-list {

Avoid qualifying class selectors with an element.
Open

ul.bullet-list, ul.check-list {

Avoid qualifying class selectors with an element.
Open

ul.bullet-list, ul.check-list {

Each selector in a comma sequence should be on its own single line
Open

  &:hover, &:focus, &:active {

Begin pseudo elements with double colons: ::
Open

  li:before {

Begin pseudo elements with double colons: ::
Open

  li:before {

Selector should have depth of applicability no greater than 3, but was 4
Open

table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td {

Each selector in a comma sequence should be on its own single line
Open

h1, h2, h3, h4, h5, h6 {

Each selector in a comma sequence should be on its own single line
Open

h1, h2, h3, h4, h5, h6 {

Color #333333 should be written as #333
Open

  color: #333333;

Name of mixin headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

  @include headingFont;

Name of variable headingFont should be written in all lowercase letters with hyphens instead of underscores
Open

$headingFont: "Oswald";

0px should be written without units as 0
Open

  margin: 0px;

Color literals like #333333 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

  color: #333333;

There are no issues that match your filters.

Category
Status