Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit fc9bf56

Browse files
committed
Style updates
1 parent 6487c5e commit fc9bf56

File tree

18 files changed

+838
-65
lines changed

18 files changed

+838
-65
lines changed

components/atoms/Breadcrumbs/Breadcrumbs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Link from 'next/link'
22
import PropTypes from 'prop-types'
33
import styles from './Breadcrumbs.module.css'
4+
import cn from 'classnames'
45

56
/**
67
* Render the Breadcrumbs component.
@@ -14,7 +15,7 @@ export default function Breadcrumbs({breadcrumbs}) {
1415
return (
1516
<>
1617
{!!breadcrumbs?.length && (
17-
<ul className={styles.breadcrumbs}>
18+
<ul className={cn(styles.breadcrumbs, 'breadcrumbs')}>
1819
{breadcrumbs.map((breadcrumb, index) => (
1920
<li key={index}>
2021
<Link href={breadcrumb?.url}>

components/atoms/Breadcrumbs/Breadcrumbs.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ul.breadcrumbs {
22
@apply mb-8 flex;
33

44
& li {
5-
@apply text-sm font-semibold;
5+
@apply uppercase text-xs font-semibold p-0;
66

77
& .sep {
88
@apply px-2 opacity-50 font-normal;

components/atoms/Button/Button.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.button {
2-
@apply inline-flex items-center justify-center rounded border transition-colors duration-150 ease-in-out cursor-pointer uppercase;
2+
@apply inline-flex items-center justify-center rounded border cursor-pointer font-semibold;
33

44
& svg {
55
@apply ml-12;

components/atoms/Code/Code.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.code {
2-
@apply mb-40;
2+
@apply mb-8;
33

44
& > pre {
55
@apply rounded;

components/atoms/Columns/Columns.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.columns {
2-
@apply grid gap-16 grid-cols-3;
2+
@apply grid gap-8 grid-cols-3;
33

44
&.columns-1 {
55
@apply grid-cols-1;

components/atoms/Image/Image.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.image {
2-
@apply mb-20;
2+
@apply mb-8;
33

44
& img {
55
@apply block rounded;

components/atoms/Quote/Quote.module.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
.quote {
2-
@apply mb-6 p-5 px-10 border-l;
2+
@apply mb-8 p-6 px-10 border-l;
33

44
& blockquote {
55
@apply mb-8;
6+
7+
& p {
8+
@apply text-xl mb-0;
9+
}
610
}
711

812
& figcaption {

components/atoms/RichText/RichText.module.css

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,30 @@
33
@apply text-center;
44
}
55

6-
/* Paragraph, List Styles */
7-
& ul,
8-
&.ul,
9-
& ol,
10-
&.ol,
11-
& p,
6+
/* Paragraph Styles */
127
&.p {
13-
@apply mb-8;
8+
@apply mb-4;
149
}
1510

16-
& ul,
1711
&.ul,
18-
& ol,
1912
&.ol {
2013
& li {
21-
@apply mb-4 relative pl-24 list-none;
14+
@apply mb-2 relative pl-6 list-none;
2215
}
2316

2417
& ul,
2518
& ol {
26-
@apply ml-16 mb-0;
19+
@apply ml-6 mb-0;
2720
}
2821
}
2922

3023
/* Unordered Lists */
31-
& ul,
3224
&.ul {
3325
& li {
3426
&::before {
3527
@apply absolute block rounded-full;
3628

29+
background: #000;
3730
content: '';
3831
width: 5px;
3932
height: 5px;
@@ -44,7 +37,6 @@
4437
}
4538

4639
/* Ordered Lists */
47-
& ol,
4840
&.ol {
4941
counter-reset: item;
5042

@@ -58,30 +50,4 @@
5850
}
5951
}
6052
}
61-
62-
/* Heading Styles */
63-
& h1,
64-
&.h1 {
65-
@apply mb-10;
66-
}
67-
68-
& h2,
69-
&.h2 {
70-
@apply mb-10;
71-
}
72-
73-
& h3,
74-
&.h3 {
75-
@apply mb-10;
76-
}
77-
78-
& h4,
79-
&.h4 {
80-
@apply mb-10;
81-
}
82-
83-
& h5,
84-
&.h5 {
85-
@apply mb-10;
86-
}
8753
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.separator {
2-
@apply w-full border-b my-40;
2+
@apply w-full border-b my-8;
33
}

components/atoms/Spacer/Spacer.module.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)