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

Add ADR for adopting Styled Components as a global styling strategy across CFIA projects #94

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CFIALeronB
Copy link
Contributor

Introduce an ADR documenting the adoption of Styled Components as the standard for CSS styling across all CFIA projects, outlining benefits, decision rationale, and comparisons with alternatives.

#92

@CFIALeronB CFIALeronB linked an issue Jan 17, 2024 that may be closed by this pull request
Copy link
Contributor

@rngadam rngadam left a comment

Choose a reason for hiding this comment

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

@CFIALeronB preferable to keep this as draft until you've fixed the failed checks

Copy link
Member

@k-allagbe k-allagbe left a comment

Choose a reason for hiding this comment

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

We should consider keeping both as CSS is still so prevalent in the industry: https://w3techs.com/technologies/details/ce-css

- Pros: Familiarity and simplicity.
- Cons: Scalability issues, potential naming conflicts, and less dynamic styling capabilities.

2. **Other CSS-in-JS Libraries:**
Copy link
Member

Choose a reason for hiding this comment

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

We should probably detail few of those.

**Link to Reference Materials:**
- [Styled Components Official Documentation](https://styled-components.com/docs)

## Alternatives Considered
Copy link
Member

Choose a reason for hiding this comment

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

Should also show the pro and cons for Styled Components.

@rngadam
Copy link
Contributor

rngadam commented Feb 15, 2024

@CFIALeronB one check fails and some comments from @k-allagbe need follow up

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.

Create ADR for Adopting Styled Components
3 participants