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

Apply tailwind #16

Merged
merged 4 commits into from
Jan 5, 2023
Merged

Apply tailwind #16

merged 4 commits into from
Jan 5, 2023

Conversation

dario-piotrowicz
Copy link
Member

This is a preliminary step for #13

@jculvey with tailwind things do look quite similar to our current version but we do need to tweak some stuff (especially spacing), but I feel like this is good enough to get merged as is (and we can gradually improve things), please check it out locally and let me know what you think 🙂

@@ -0,0 +1,15 @@

Copy link
Member Author

Choose a reason for hiding this comment

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

@jculvey I think that we might want to remove this file as well, right?

(if so, do you prefer me to do it now or in a followup PR?)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, if we're not using any of that stuff anymore go for it. Better to do it now I think to make sure we've covered our bases.

Copy link
Member Author

Choose a reason for hiding this comment

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

no, it is being used, that's why I kept it

so I can either remove it and remove the scss code using its sass variables, or I can just remove it and replace usages of its sass variables with the hardcoded values

I think it's mostly used for the colors, I guess I can try to completely remove it alongside the variables usages and check that it doesn't break the ui too much, if it does I can hardcode the values or try to apply some tailwind classes

Copy link
Member Author

@dario-piotrowicz dario-piotrowicz Jan 4, 2023

Choose a reason for hiding this comment

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

I did a bit of both (removed things that didn't require a complex refactoring and replaced variables with hardcoded values everywhere else)
(you can see the specific commit here: 362304f)

@@ -27,7 +27,7 @@ export default component$(() => {
</div>
)}
<div class={`w-full ${showColumns ? 'max-w-lg' : ''}`}>
<div class={`bg-slate-800 ${showColumns ? 'rounded ' : 'min-h-dscreen'}`}>
Copy link
Member Author

Choose a reason for hiding this comment

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

dscreen was my invention 🙈

@xtuc xtuc merged commit d533f42 into main Jan 5, 2023
@xtuc xtuc deleted the tailwind branch January 5, 2023 19:35
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.

3 participants