Skip to content

Commit

Permalink
generator: add MD kbd #959da5 box shadow
Browse files Browse the repository at this point in the history
Ive grouped the two generator rules corresponding to this, both are valid

URL: StylishThemes/Wikipedia-Dark#51 (comment)
  • Loading branch information
the-j0k3r committed Apr 26, 2019
1 parent 7fba5e5 commit c8bdeda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,10 @@
kbd, body[class="page-responsive"] kbd {
box-shadow: inset 0 -2px 0 #343434;
}
/* auto-generated rule for "box-shadow: inset 0 -1px 0 #959da5" */
.markdown-body kbd {
box-shadow: inset 0 -2px 0 #343434;
}
/* auto-generated rule for "box-shadow: 0 1px 0 0 #0058a2" */
html[prefix] .link-mono:hover {
box-shadow: 0 1px 0 0 /*[[base-color]]*/ #4f8cc9;
Expand Down
2 changes: 2 additions & 0 deletions tools/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ let mappings = {
"box-shadow: inset 0 0 0 1px #e1e4e8,0 2px 4px rgba(0,0,0,.15)": "box-shadow: inset 0 0 0 1px #555",
"box-shadow: inset 0 0 0 1px #e1e4e8": "box-shadow: inset 0 0 0 1px #555",
"box-shadow: inset 0 1px 0 0 #e1e4e8": "box-shadow: inset 0 1px 0 0 #555",

"box-shadow: inset 0 -1px 0 #c6cbd1": "box-shadow: inset 0 -2px 0 #343434",
"box-shadow: inset 0 -1px 0 #959da5": "box-shadow: inset 0 -2px 0 #343434",

"box-shadow: 0 1px 0 0 #0058a2": "box-shadow: 0 1px 0 0 /*[[base-color]]*/ #4f8cc9",

Expand Down

1 comment on commit c8bdeda

@the-j0k3r
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generic

apparently there's two different colors of inset box-shadow for these, grouping them together stands out a bit more they meant to do same job in different areas.

Please sign in to comment.