Skip to content

Commit

Permalink
docs inline code styling fix (#2146)
Browse files Browse the repository at this point in the history
* docs inline code styling fix

* color and background change inline code
  • Loading branch information
isaozler committed May 17, 2024
1 parent dc99fdc commit b45db66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-gifts-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kadena/docs-tools": patch
---

Inline code styling fix according to the badge designs
4 changes: 2 additions & 2 deletions packages/apps/docs/src/components/Markdown/Code/style.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import { paragraphWrapperClass } from '../Paragraph/styles.css';
export const inlineCode = style([
atoms({
borderRadius: 'sm',
backgroundColor: 'semantic.info.default',
color: 'text.semantic.info.default',
color: 'text.brand.secondary.default',
marginInlineStart: 'xs',
marginInlineEnd: 'xs',
fontFamily: 'monospaceFont',
}),
{
backgroundColor: tokens.kda.foundation.color.neutral['n99@alpha10'],
padding: `calc(${tokens.kda.foundation.spacing.xs} / 4) ${tokens.kda.foundation.spacing.xs}`,
fontSize: 'smaller',
fontWeight: 'bolder',
Expand Down

0 comments on commit b45db66

Please sign in to comment.