Skip to content

Commit

Permalink
refactor: replace --highlighted with __card
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrasinskis committed Dec 27, 2023
1 parent f91b085 commit 66b4897
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/lib/styles/global/utility-classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@

padding: var(--padding-2x);
border-radius: var(--border-radius);
}

&--highlighted {
background: var(--card-background-disabled);
color: var(--description-color);
}
.content-cell-island__card {
@extend .content-cell-island;

background: var(--island-card-background);
color: var(--description-color);
}

// Spacing
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(page)/utility-classes/cells/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Some pre-defined utilities to set spaces for grid's cells.
<div class="content-cell-details">
<DocsLoremIpsum length={1} />

<div class="content-cell-island content-cell-island--highlighted">
<code>class="content-cell-island content-cell-island--highlighted"</code>
<div class="content-cell-island__card">
<code>class="content-cell-island__card"</code>
<DocsLoremIpsum length={1} />
</div>

Expand Down

0 comments on commit 66b4897

Please sign in to comment.