Skip to content

Commit

Permalink
Move colour swatch CSS back to index.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Mar 11, 2024
1 parent cc6bb5e commit 2c8d227
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 14 additions & 0 deletions lib/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,20 @@
}
}

.tna-ds-colour-swatch {
width: 2rem;
height: 2rem;
margin-right: 0.75rem;

display: inline-block;

vertical-align: bottom;

// @include colour.colour-border("keyline-dark", 1px, solid);
border: 1px rgb(0 0 0/0.2) solid;
border-radius: 100%;
}

.app-example-page {
min-height: auto;
padding: 2rem;
Expand Down
14 changes: 0 additions & 14 deletions lib/modules/_examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,6 @@ p:has(+ p.tna-\!--no-margin-top) {
}
}

.tna-ds-colour-swatch {
width: 2rem;
height: 2rem;
margin-right: 0.75rem;

display: inline-block;

vertical-align: bottom;

// @include colour.colour-border("keyline-dark", 1px, solid);
border: 1px rgb(0 0 0/0.2) solid;
border-radius: 100%;
}

.tna-card--demo {
max-width: 25rem;
}
Expand Down

0 comments on commit 2c8d227

Please sign in to comment.