Skip to content

Commit

Permalink
add inline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
fpbrault committed Dec 19, 2024
1 parent 397c3c8 commit c90928b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
div {
transition: background-color 0.3s;
@apply rounded;

@apply text-white;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
css,
CSSResultGroup,
html,
LitElement,
Expand Down Expand Up @@ -37,6 +38,12 @@ export class AtomicText extends TailwindLitElement {

static styles: CSSResultGroup = [
TailwindLitElement.styles,
css`
div {
border: 1px solid red;
border-radius: var(--atomic-border-radius-xl);
}
`,
unsafeCSS(styles),
];

Expand Down

0 comments on commit c90928b

Please sign in to comment.