Skip to content

Commit

Permalink
chore: CMD-182 do not use deprecated CSS vars
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Aug 23, 2024
1 parent fead6d5 commit 6e6b679
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

/* url under search result title */
& .gs-webResult div.gs-visibleUrl {
color: var(--global-color-accent--secondary);
color: var(--global-color-secondary--normal);
}

/* search result titles */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
/* TODO: Share styles between c-news and c-feed-list (`time:not(…)`) */
.c-feed-list > :is(div, article) > time:not(:is(h1, h2, h3, h4, h5, h6) *),
.c-feed-list > :is(div, article) > p:has(time):not(:is(h1, h2, h3, h4, h5, h6) *) {
color: var(--global-color-accent--secondary);
color: var(--global-color-secondary--normal);
font-weight: var(--medium);
text-transform: uppercase;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/* TODO: Share styles between c-news and c-feed-list (`time:not(…)`) */
.c-news article time:not(:is(h1, h2, h3, h4, h5, h6) *) {
color: var(--global-color-accent--secondary);
color: var(--global-color-secondary--normal);
font-weight: var(--medium);
text-transform: uppercase;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
.s-abbr-list span.abbr,
.abbr-list abbr,
.abbr-list span.abbr {
color: var(--global-color-accent--secondary);
color: var(--global-color-secondary--normal);
font-weight: var(--bold);
}
2 changes: 1 addition & 1 deletion libs/tup-components/src/news/UserNews.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

.posted-date {
color: var(--global-color-accent--secondary);
color: var(--global-color-secondary--normal);
font-weight: var(--medium);
text-transform: uppercase;
}
Expand Down

0 comments on commit 6e6b679

Please sign in to comment.