Skip to content

Commit

Permalink
fix: tup-639 move c-button font-weight bold to cms (#253)
Browse files Browse the repository at this point in the history
* fix: tup-617 c-button font-weight should be bold

* fix: tup-617 move c-button font-weight bold to cms
  • Loading branch information
wesleyboar authored Nov 3, 2023
1 parent acf9769 commit 915c0ef
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 19 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-button.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/c-card.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/c-form--login.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/c-form.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/django-cms-forms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.docs.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/trumps/s-form--login.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/trumps/s-form.css

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/lib/_imports/components/c-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
:--c-button:where(:not(:--disabled)) {
cursor: pointer; /* WARNING: Opinionated */
}
:--c-button:where(:not(:--c-button--as-link)) {
font-weight: var(--medium);
}

a:--c-button {
text-decoration: none;
Expand Down
6 changes: 0 additions & 6 deletions src/lib/_imports/components/c-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,6 @@
margin-top: unset;
}

/* To make buttons bold */
/* TODO: Determine whether this should apply to all CMS buttons */
:--c-card a:--c-button {
font-weight: var(--bold);
}

/* To reduce font size of mailto link */
:--c-card a[data-user][data-domain]::before {
font-size: var(--global-font-size--medium);
Expand Down

0 comments on commit 915c0ef

Please sign in to comment.