Skip to content

Commit c9b9ace

Browse files
committed
Remove text-content-muted classes
1 parent ab6264c commit c9b9ace

16 files changed

Lines changed: 50 additions & 51 deletions

File tree

‎_TODO.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ Singles: --color-error, --color-error-bg, --color-error-border, --color-error-te
219219
Tailwind Color Utilities Not Backed By Theme Tokens (quoted class strings)
220220
High-frequency / likely broken given the @theme contract:
221221
222-
bg-page-base-offset (52): e.g. index.astro:134, index.astro:14
223-
text-content-muted (47): e.g. index.astro:20
222+
(47): e.g. index.astro:20
224223
text-offset (13): e.g. index.astro:39
225224
bg-primary-bg (7): e.g. index.astro:67
226225
stroke-text (not a theme token) (seen in class attrs): e.g. index.astro:94

‎src/components/Consent/Preferences/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import logoSvg from '@assets/images/site/logo.svg'
2121
<div class="px-6 py-8">
2222
{/* Introduction */}
2323
<div class="mb-8">
24-
<p id="consent-preferences__settings-desc" class="text-content-muted leading-relaxed">
24+
<p id="consent-preferences__settings-desc" class="leading-relaxed">
2525
When you visit our website, we may store information in your browser or device to make the
2626
site work and provide a better experience. This includes both cookies and local storage.
2727
The information we collect might relate to you, your preferences, or your device. You can

‎src/components/Errors/NotFoundHero/index.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const {
1717
---
1818

1919
<div class="mb-8 text-center">
20-
<h1 class="text-9xl font-bold text-content-muted mb-4">{heading}</h1>
20+
<h1 class="text-9xl font-bold mb-4">{heading}</h1>
2121
<h2 class="text-3xl md:text-4xl font-bold mb-4">{subheading}</h2>
22-
<p class="text-lg text-content-muted mb-8">
22+
<p class="text-lg mb-8">
2323
{description}
2424
</p>
2525
<div class="space-y-4">

‎src/components/Layout/Markdown/Lead/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface Props {
1616
const { modifiedDate, publishDate, author, readingTime, tags } = Astro.props
1717
---
1818

19-
<div class="flex flex-wrap gap-2 items-center text-sm text-content-muted mt-4 pt-4 border-trim">
19+
<div class="flex flex-wrap gap-2 items-center text-sm mt-4 pt-4 border-trim">
2020
{publishDate && <PublishDate publishDate={publishDate} />}
2121
{modifiedDate && modifiedDate !== publishDate && <ModifiedDate modifiedDate={modifiedDate} />}
2222
{author && <Author author={author} />}

‎src/components/Layout/Markdown/Subtitle/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export interface Props {
66
const { subtitle } = Astro.props
77
---
88

9-
<p class="text-lg text-content-muted)] leading-relaxed" itemprop="description">
9+
<p class="text-lg)] leading-relaxed" itemprop="description">
1010
{subtitle}
1111
</p>

‎src/components/Social/Mastodon/client/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export class MastodonModalElement extends LitElement {
331331
<h2 id=${modalTitleId} class="m-0 text-xl font-semibold">Share to Mastodon</h2>
332332
<button
333333
type="button"
334-
class="modal-close flex items-center justify-center w-8 h-8 p-0 border-0 bg-transparent rounded text-content-muted cursor-pointer transition-all duration-150 hover:bg-content-inverse-muted hover:text-content"
334+
class="modal-close flex items-center justify-center w-8 h-8 p-0 border-0 bg-transparent rounded cursor-pointer transition-all duration-150 hover:bg-content-inverse-muted hover:text-content"
335335
aria-label="Close modal"
336336
@click=${() => this.closeModal()}
337337
>
@@ -377,7 +377,7 @@ export class MastodonModalElement extends LitElement {
377377
class="flex items-stretch border border-trim rounded-md overflow-hidden bg-content-inverse-input focus-within:outline-2 focus-within:outline-primary focus-within:outline-offset-2"
378378
>
379379
<span
380-
class="flex items-center px-3 py-2 bg-content-inverse-muted text-content-muted text-sm select-none"
380+
class="flex items-center px-3 py-2 bg-content-inverse-muted text-sm select-none"
381381
aria-hidden="true"
382382
>
383383
https://
@@ -398,7 +398,7 @@ export class MastodonModalElement extends LitElement {
398398
399399
${this.savedInstances.length > 0
400400
? html`<div id="saved-instances" class="flex flex-col gap-2">
401-
<p class="m-0 text-sm font-medium text-content-muted">Previously used:</p>
401+
<p class="m-0 text-sm font-medium">Previously used:</p>
402402
<div class="saved-list flex flex-wrap gap-2">
403403
${this.savedInstances.map(
404404
instance =>

‎src/components/Toc/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const tocTree = buildTocTree(items)
6161
href={`#${node.slug}`}
6262
data-toc-link
6363
data-toc-slug={node.slug}
64-
class="block text-sm text-content-active transition-colors hover:text-primary data-[current=true]:text-content-muted"
64+
class="block text-sm text-content-active transition-colors hover:text-primary data-[current=true]:text-content-active"
6565
>
6666
{node.text}
6767
</a>

‎src/pages/articles/index.astro‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const section = 'Articles'
4848
)}
4949

5050
<div class="p-6 md:p-8 space-y-4">
51-
<div class="flex flex-wrap items-center gap-3 text-sm text-content-muted">
51+
<div class="flex flex-wrap items-center gap-3 text-sm">
5252
<time
5353
datetime={article.data.publishDate.toISOString()}
5454
class="flex items-center gap-1"
@@ -97,13 +97,13 @@ const section = 'Articles'
9797
</h2>
9898

9999
{article.data.description && (
100-
<p class="text-content-muted leading-relaxed line-clamp-3">
100+
<p class="leading-relaxed line-clamp-3">
101101
{article.data.description}
102102
</p>
103103
)}
104104

105105
<div class="flex items-center justify-between pt-4">
106-
<div class="flex items-center gap-2 text-sm text-content-muted">
106+
<div class="flex items-center gap-2 text-sm">
107107
<svg
108108
class="w-4 h-4"
109109
aria-hidden="true"

‎src/pages/case-studies/index.astro‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const section = 'Case Studies'
5555
</h2>
5656

5757
{caseStudy.data.description && (
58-
<p class="text-content-muted text-sm leading-relaxed line-clamp-3">
58+
<p class="text-sm leading-relaxed line-clamp-3">
5959
{caseStudy.data.description}
6060
</p>
6161
)}
@@ -69,7 +69,7 @@ const section = 'Case Studies'
6969

7070
<time
7171
datetime={caseStudy.data.publishDate.toISOString()}
72-
class="block text-sm text-content-muted"
72+
class="block text-sm"
7373
>
7474
{caseStudy.data.publishDate.toLocaleDateString('en-US', {
7575
year: 'numeric',
@@ -81,7 +81,7 @@ const section = 'Case Studies'
8181
{caseStudy.data.tags && (
8282
<div class="flex flex-wrap gap-2 pt-2">
8383
{caseStudy.data.tags.slice(0, 3).map((tag: string) => (
84-
<span class="text-xs font-medium text-content-muted bg-page-base-offset px-2 py-1 rounded-full">
84+
<span class="text-xs font-medium bg-page-base-offset px-2 py-1 rounded-full">
8585
{tag}
8686
</span>
8787
))}

‎src/pages/consent/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const description =
1212
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
1313
<header class="text-center mb-16">
1414
<h1 class="text-4xl md:text-5xl font-bold mb-6">Cookie Policy & Settings</h1>
15-
<p class="text-xl text-content-muted max-w-3xl mx-auto">
15+
<p class="text-xl max-w-3xl mx-auto">
1616
Manage your cookie preferences and learn how we use cookies to improve your experience.
1717
</p>
1818
</header>

0 commit comments

Comments
 (0)