Skip to content

Commit

Permalink
feat: reduce CSS in Core-CMS (#782)
Browse files Browse the repository at this point in the history
* feat: reduce CSS in Core-CMS ⚠️

WARNING: Untested

* chore: npm install core-styles v2.23.0
  • Loading branch information
wesleyboar authored Jan 6, 2024
1 parent dbc9213 commit 24c8490
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 114 deletions.
14 changes: 7 additions & 7 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": "^2.22.5",
"@tacc/core-styles": "^2.23.0",
"minimist": "^1.2.6"
},
"repository": "[email protected]:TACC/Core-CMS.git",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Styleguide Components.DjangoCMS.Blog.App.Item
*/
@import url("@tacc/core-styles/src/lib/_imports/tools/x-article-link.css");
@import url("@tacc/core-styles/src/lib/_imports/tools/x-truncate.css");

@import url("../tools/media-queries.css");
@import url("@tacc/core-styles/src/lib/_imports/tools/media-queries.css");

@import url("./django.cms.blog.selectors.css");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,4 @@
/* FAQ: Only included by a project as client wants it */
/* SEE: https://ecepalliance.org/ (<style id="site-css-links">) */

@import url("@tacc/core-styles/src/lib/_imports/tools/x-link.css");

a {
@extend .x-link--irregular;
}
a:hover {
@extend .x-link--irregular--hover;
}
a:active {
@extend .x-link--irregular--active;
}
@import url("@tacc/core-styles/src/lib/_imports/elements/irregular-link.css");

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions taccsite_cms/static/site_cms/css/src/_imports/tools/selectors.css

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions taccsite_cms/static/site_cms/css/src/core-cms.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@

@import url("./_imports/elements/figure-caption-blockquote.css");

@import url("./_imports/components/c-button.css");
@import url("./_imports/components/django.cms.css");
@import url("./_imports/components/django-cms-forms.css");
@import url("./_imports/components/django-cms-icon.css");
@import url("./_imports/components/django.cms.picture.css");
@import url("./_imports/components/django-cms-video.css");
@import url("./_imports/components/lightgallery.css");

@import url("./_imports/trumps/s-drop-cap.css");
3 changes: 2 additions & 1 deletion taccsite_cms/templates/snippets/mailto-link.css.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<link rel="stylesheet" href="/static/site_cms/css/build/mailto-link.css" />
<!-- This stylesheet previously imported mailto-link.css, but it has been moved to core-styles.cms.css -->
<!-- TODO: Do NOT load this snippet template on any site (likely only loaded on ECEP and TUP) -->
2 changes: 1 addition & 1 deletion taccsite_custom

0 comments on commit 24c8490

Please sign in to comment.