Remove components divider.

This commit is contained in:
Fredrik Jonsson 2025-09-17 10:04:42 +02:00
commit 5c0093bd37
2 changed files with 6 additions and 29 deletions

View file

@ -7,18 +7,9 @@
// build and document a CSS component.
//
// "box" is the name of our component, so we define a `.box` class that we can
// apply to any HTML element that needs the box styling. We also provide a
// `%box` placeholder selector so that we can easily extend the basic box
// component with `@extend %box;`.
//
// Take a look at the source code for this component for more information about
// building a good component.
//
// :hover - The hover/focus styling.
// .box--highlight - The "highlight" box variant.
// apply to any HTML element that needs the box styling.
.box,
%box {
.box {
// Add vertical rhythm margins.
margin-block: var(--spacing-m);
padding: var(--spacing-xs);

View file

@ -1,16 +0,0 @@
// Divider
//
// Can be used as an `<hr>`, an empty `<div>` or as a container.
.divider,
%divider {
// Add vertical rhythm margins.
margin-block: var(--spacing-m);
border: 0;
border-block-start: 1px solid var(--color-border);
// If used as a container, add a top margin to the first child.
> :first-child {
margin-block-start: var(--spacing-m);
}
}