Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Mar 1, 2024
1 parent 1f51970 commit 3898ed0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/blog/how-to-make-a-new-button-variant.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ After the declaration, you can use your new button modification classes.

```html
<a href="https://sprucecss.com" class="btn btn--dark">
Open Spruce CSS
Open Spruce CSS
</a>

<a href="https://sprucecss.com" class="btn btn--outline-dark">
Open Spruce CSS
Open Spruce CSS
</a>
```

If you declare the `dark-shadow` property, you can use the `btn--dark-shadow` to add a shadow to the button but only on the filled variation.

```html
<a href="https://sprucecss.com" class="btn btn--dark btn--dark-shadow">
Open Spruce CSS
Open Spruce CSS
</a>
```
2 changes: 1 addition & 1 deletion src/filters/w3-date.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module.exports = value => {
const dateObject = new Date(value);

return dateObject.toISOString();
};
};

0 comments on commit 3898ed0

Please sign in to comment.