Skip to content

Commit

Permalink
Merge pull request #213 from phun-ky/fix/css-variables-for-features
Browse files Browse the repository at this point in the history
fix: 🐛 Add missing CSS variable
  • Loading branch information
phun-ky authored Aug 11, 2024
2 parents d295815 + 07caf42 commit ae0292c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Speccer was originally created to make it easier to document components in a des
npm i @phun-ky/speccer
```

See demo here: <https://codepen.io/phun-ky/pen/xaOrYX>
See demo here: <https://codepen.io/phun-ky/pen/OJejexN>

## API

Expand Down Expand Up @@ -265,6 +265,8 @@ You can also give a more subtle touch to the anatomy elements.
</div>
```

This will give a dashed border, and a more subtle pin style.

### Curly brackets

You can use curly brackets with the `curly` tag in `data-anatomy` along side `outline full` to provide a more sleek look to the style.
Expand All @@ -291,8 +293,6 @@ The curly brackets are made with SVG paths, and it is required to have the follo
</svg>
```

This will give a dashed border, and a more subtle pin style.

### Element typography

![Image of typography speccer](./public/typography.png)
Expand Down
Binary file modified public/darkmode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/styles/grid.styl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
display flex
justify-content center
align-items center
color white
color var(--ph-speccer-color-text-light)
border-top-left-radius 50%
border-top-right-radius 50%

Expand All @@ -50,7 +50,7 @@
display flex
justify-content center
align-items center
color white
color var(--ph-speccer-color-text-light)
border-top-left-radius 50%
border-top-right-radius 50%

Expand Down

0 comments on commit ae0292c

Please sign in to comment.