-
Notifications
You must be signed in to change notification settings - Fork 12
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
Discovery/load gcds #2048
Discovery/load gcds #2048
Conversation
🧪 Review environmenthttps://iimmeikavkwger5cs4i3nmavfa0ryced.lambda-url.ca-central-1.on.aws/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Probably wouldn't merge it in just yet though.
Maybe we can use this as a base to try out some components and just make sure there are no incompatibilities with the rest of the app?
<!-- GCDS icons --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" | ||
crossorigin="anonymous"> | ||
|
||
<!-- GC Design System --> | ||
<link rel="stylesheet" media="screen" href="{{ asset_url('stylesheets/gcds.css') }}" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why we need to load 2 separate CSS files here - it would be nice if these were consolidated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they'll be removing fontawesome soon in favour of their own icons.
@@ -12,6 +12,16 @@ | |||
{% include 'partials/google-tag-manager-head.html' %} | |||
{% include 'partials/qualtrics-head.html' %} | |||
|
|||
<!-- GCDS icons --> | |||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing to note here is that we are likely loading font-awesome twice now. Once here for GCDS, and then again for notify itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have our build pipeline to import a subset at least. So some icons will load twice for sure ... 😞
Oh yes! I don't know why I did a PR, What I wanted to do is to start our discoveries from a common branch. I'll close this! |
Summary | Résumé
Configured the gulp pipeline to copy GCDS styles and scripts over to our static folder.
Test instructions | Instructions pour tester la modification