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

Split up the css into separate files #238

Merged
merged 16 commits into from
Oct 25, 2024
Merged

Conversation

vyneer
Copy link
Contributor

@vyneer vyneer commented Apr 29, 2023

closes #235

Splits up style.scss into multiple scss files based on the corresponding .js file. For styles that are referenced in multiple files I went with either the one that mentions the style first, or, uh, idk, the one that made the most sense to me 😄
There are a couple exceptions:
- some common styles are in files named 'common.scss'
- on-stream chat is in a separate file because it's just a lot of stuff there, and I didn't want to make the already crowded 'chat.scss' even more bloated

Most styles were just copypasted into their respective files, however sometimes I cleaned things up by using some cool Sass tricks (&, each, etc.). Should, for the most part, compile to identical css as before.

Making this a draft since I'm worried I messed something up by changing things, and, also, maybe there are better ways to split some styles up.

Remade the PR from scratch to make it resemble the website's CSS structure.

@vyneer vyneer added the enhancement New feature or request label Apr 29, 2023
@vyneer vyneer requested a review from 11k April 29, 2023 17:00
@vyneer vyneer marked this pull request as ready for review October 22, 2024 23:42
@vyneer vyneer requested a review from Mitchdev October 22, 2024 23:42
@11k 11k merged commit 98f70b9 into destinygg:master Oct 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Having all styles in a single file makes it more challenging to work with
2 participants