Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tacc/core-styles #194

Merged
merged 9 commits into from
Feb 8, 2024
Merged

Use tacc/core-styles #194

merged 9 commits into from
Feb 8, 2024

Conversation

nathanfranklin
Copy link
Collaborator

@nathanfranklin nathanfranklin commented Jan 12, 2024

Overview:

Add core styles.

Input from Wes from meeting https://tacc-main.atlassian.net/wiki/spaces/DES/pages/43384853/2024-01-25+Meeting+notes

PR Status:

  • Ready.

@nathanfranklin nathanfranklin changed the title Use tacc/core-styles example Use tacc/core-styles Feb 2, 2024
@@ -7,7 +7,7 @@
transition: color var(--transition-duration),
background-color var(--transition-duration);

composes: c-button--secondary from '@tacc/core-styles/src/lib/_imports/components/c-button.css';
composes: c-button--secondary from '@tacc/core-styles/dist/components/c-button.css';
Copy link
Collaborator Author

@nathanfranklin nathanfranklin Feb 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wesleyboar, @tjgrafft , @sophia-massie This was causing the errors we were seeing; so should make its way back to TUP and/or the future core-components package:

GET http://localhost:4200/tools/x-truncate.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:4200/objects/o-section.selectors.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:4200/tools/x-link.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:4200/c-button.selectors.css net::ERR_ABORTED 404 (Not Found)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, yes. Bug in TUP. The /dist/ is preferred unless one need do something advanced.

Copy link
Contributor

@tjgrafft tjgrafft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tested locally. Console errors/warnings are gone.

Copy link
Contributor

@shayanaijaz shayanaijaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

react/package.json Show resolved Hide resolved
@@ -7,7 +7,7 @@
transition: color var(--transition-duration),
background-color var(--transition-duration);

composes: c-button--secondary from '@tacc/core-styles/src/lib/_imports/components/c-button.css';
composes: c-button--secondary from '@tacc/core-styles/dist/components/c-button.css';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, yes. Bug in TUP. The /dist/ is preferred unless one need do something advanced.

react/src/index.css Outdated Show resolved Hide resolved
react/src/index.css Show resolved Hide resolved
react/src/pages/MainMenu/MainMenu.tsx Show resolved Hide resolved
Copy link
Contributor

@wesleyboar wesleyboar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That new line before layer(foundation) worries me enough to reconsider merge. Please check #194 (comment). I don't want y'all to have to fight Bootstrap because of a typo.

@nathanfranklin nathanfranklin merged commit c7a1611 into master Feb 8, 2024
5 checks passed
@nathanfranklin nathanfranklin deleted the hotfix/tacc-core-styles branch February 8, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants