Skip to content

Commit

Permalink
Bump shepherd and stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Jan 14, 2019
1 parent 4559b49 commit 59f8d35
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 574 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"ember-cli-node-assets": "0.2.2",
"ember-getowner-polyfill": "^2.2.0",
"fastboot-transform": "^0.1.3",
"shepherd.js": "^2.1.1"
"shepherd.js": "^2.2.0"
},
"devDependencies": {
"@ember/optional-features": "^0.7.0",
Expand Down Expand Up @@ -103,7 +103,7 @@
"loader.js": "^4.7.0",
"qunit-dom": "^0.8.0",
"sass": "^1.16.0",
"stylelint-config-ship-shape": "^0.4.0"
"stylelint-config-ship-shape": "^0.5.2"
},
"engines": {
"node": "6.* || 8.* || >= 10.*"
Expand Down
23 changes: 7 additions & 16 deletions tests/dummy/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ h5,
h6 {
color: $whiteish;
font-family: $f-primary;
font-weight: 400;
margin-bottom: 0.5rem;
margin-top: 0.2rem;
}

body {
Expand Down Expand Up @@ -114,6 +117,7 @@ a {
}

&[x-placement^="top"] {
// stylelint-disable-next-line
.popper__arrow {
border-top-color: $background1;
}
Expand All @@ -124,6 +128,9 @@ a {
}

.shepherd-content {
max-width: 100%;
width: 400px;

.shepherd-text {
color: $whiteish;

Expand All @@ -135,28 +142,12 @@ a {
}
}

.shepherd-element.shepherd-theme-arrows .shepherd-content {
max-width: 100%;
width: 400px;
}

.shepherd-element.shepherd-theme-arrows .shepherd-content footer .shepherd-buttons li .shepherd-button {
font-size: 0.75em;
line-height: 0.75em;
padding-top: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 400;
margin-bottom: 0.5rem;
margin-top: 0.2rem;
}

pre {
border: 1px solid rgba(0, 0, 0, 0.15);
line-height: 1.4em;
Expand Down
47 changes: 27 additions & 20 deletions tests/dummy/app/styles/prism-ghcolors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ pre[class*="language-"] {
word-spacing: normal;
}

/* Code blocks */
pre[class*="language-"] {
background-color: $color1;
margin: 0.5em 0;
overflow: auto;
padding: 1em;
}

pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
Expand All @@ -49,14 +57,6 @@ code[class*="language-"] ::selection {
background: #b3d4fc;
}

/* Code blocks */
pre[class*="language-"] {
background-color: $color1;
margin: 0.5em 0;
overflow: auto;
padding: 1em;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
background: $color1;
Expand Down Expand Up @@ -86,6 +86,11 @@ pre[class*="language-"] {
color: $text-color;
}

.token.tag,
.token.selector {
color: $keyword-color;
}

.token.entity,
.token.url,
.token.symbol,
Expand All @@ -95,29 +100,31 @@ pre[class*="language-"] {
.token.constant,
.token.property,
.token.regex,
.token.inserted {
color: $bright-text;
}

.token.inserted,
.token.atrule,
.token.keyword,
.token.attr-name,
.language-autohotkey .token.selector {
.token.attr-name {
color: $bright-text;
}

.language-autohotkey {
.token {
&.keyword {
color: $keyword-color;
}

&.selector {
color: $bright-text;
}
}
}

.token.function,
.token.deleted,
.language-autohotkey .token.tag {
color: $dark-purple;
}

.token.tag,
.token.selector,
.language-autohotkey .token.keyword {
color: $keyword-color;
}

.token.important,
.token.function,
.token.bold {
Expand Down
Loading

0 comments on commit 59f8d35

Please sign in to comment.