-
Notifications
You must be signed in to change notification settings - Fork 806
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
Migration to other CSS framework #687
Comments
I switched to Tailwind some time ago. Since the concept is so fundamentally different I'd say there are no "recipes". |
Tailwind is not for me so I switched to Beercss and I’m quite happy: #673 (comment) |
@simkepal explicitly asked for a migration to "something like Tailwind". YMMV as always, but comparing a fully blown component based, thoroughly opinionated CSS framework with Tailwind is futile. (Despite all the articles which - as the linked one - largely miss the point.) |
@Vectrex please do not overreact simply because I put a link to a critical article about your framework of choice. As you said YMMV.
I suspect this question to be purely rhetorical because obviously there is no choice but a total rewrite of your html/css. Totaly worth it, in my use case. |
Actually no. Since quite a few component based CSS frameworks share similar approaches, one practice could be a bunch of search-and-replaces with some rework afterwards. I case components share the same name (chips, modals, cards, etc.) it might be even less: "Configure the new framework and accept the new looks" (yes, I am exaggerating). Again: The issue is not about "any" alternatives but about "how to migrate". |
That's what I call a total rewrite.
So you're basically saying that if two things have the same API then the migration is easier. I wouldn't go against such a helpful statement. |
Ah, we are at polemics now. I suppose this helps @simkepal a lot. |
I am working on my project on spectre.css and i want to invest some time into it. |
Fork with the latest version 0.5.10, and I've already changed the project to use CSS properties in an HSL way divided into a separate variables: It's not published yet. |
1.0.0-alpha with CSS variables here |
@sciborrudnicki beware of copyright stuff, the author was angry after a fork: #634 |
@laurentpayot to be fair the project is MIT with author giving full permission to do anything. Plus it's abandoned. |
@salamwaddah Sure. I was talking about the "License and copyright notice" condition from the MIT licence. You cannot do anything, you have to respect that condition. |
@laurentpayot As I see, it's MIT, that's why I decided to fork and do the job because I want to use this CSS framework in my project. I can help to maintain it if the author wants it. You can read: The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy |
@sciborrudnicki Oh I see, no CC by like clause. Yep you can do pretty much everything. |
I wouldn't really say the project is dead - it's stable and provides a good solid list of components. However, @picturepan2 must not have enough time to manage the requests/deal with PR's which could be stopping the project moving forward in ways some people want it to. There's a couple of options:
Option 2 is well within the MIT License of the project and embraces the beauty of open source.
As for Tailwind, porting probably isn't a very good option as the core concepts are vastly different. However, re-creating the Spectre components in Tailwind could be a great way to bridge the gap. |
Framework is not maintained but still like better than Tailwind. Words cannot describe how disgusted I am by the appearance of that HTML 😆 |
It's pretty surprising how well older and smaller frameworks hold up. Skeleton and Milligram are good too. |
@sciborrudnicki Is it possible to use @angular-package/spectre.css without using Angular? The installation instructions are not working and issues are disabled on that repository. |
This documentation is not finished yet, and it refers to an upcoming beta version, please be patient. |
Here is dark light theme preview working on the |
Hello,
It looks like this project is dead and I was wondering, how to migrate to something else like tailwindCSS. Did anyone go through this process and has some good practices?
Thank you for your help.
The text was updated successfully, but these errors were encountered: