Skip to content

Commit

Permalink
feat: update core-styles from v2.11 to v2.22 - misc bugs (#753)
Browse files Browse the repository at this point in the history
* fix: cms button styles not applied to form buttons

* fix: limit most button styles to main content

* fix: core-styles v2.22.0 to v2.22.1

* fix: core-styles django cms form button class name

* chore: core-styles v2.22.1 to v2.22.2
  • Loading branch information
wesleyboar authored Nov 28, 2023
1 parent 71bdb4c commit f1a608c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
13 changes: 7 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@frctl/fractal": "^1.5.14",
"@frctl/mandelbrot": "^1.10.1",
"@tacc/core-styles": "github:TACC/Core-Styles#9315ebbd",
"@tacc/core-styles": "^2.22.2",
"minimist": "^1.2.6"
},
"repository": "[email protected]:TACC/Core-CMS.git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
@import url("@tacc/core-styles/src/lib/_imports/components/c-button.selectors.css");
@import url("@tacc/core-styles/src/lib/_imports/tools/selectors.form.css");

:--c-button--primary,
:--c-button--secondary,
:--c-button--tertiary,
:--c-button--is-active {
padding: 10px 20px;

font-size: var(--global-font-size--small);
text-transform: uppercase;
:--main-content {
& :--c-button,
& :--form__button {
padding: 10px 20px;

font-size: var(--global-font-size--small);

font-weight: var(--bold);
letter-spacing: 0.05em;
}
}

:--c-button {
font-weight: var(--bold);
letter-spacing: 0.05em;
:--c-button,
:--form__button {
text-transform: uppercase;
}

0 comments on commit f1a608c

Please sign in to comment.