-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Alexander Niebuhr <45965090+alexanderniebuhr@users.noreply.github.com>
- Loading branch information
1 parent
25bbf60
commit dd4e8e1
Showing
10 changed files
with
66 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<template> | ||
<TheLayout /> | ||
<SunsettingNote /> | ||
<Debug /> | ||
</template> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script setup lang="ts"> | ||
import { computed } from '@vue/reactivity'; | ||
Check failure on line 2 in .vitepress/theme/components/molecules/SunsettingNote.vue GitHub Actions / lint
|
||
import { useLocalStorage } from '@vueuse/core' | ||
import { useRoute } from 'vitepress' | ||
const clicked = useLocalStorage('sunsetting-note-clicked', false) | ||
const route = useRoute() | ||
const showNote = computed(() => { | ||
if (route.path === '/posts/sunsetting') | ||
return false | ||
if (route.path === '/') | ||
return true | ||
return !clicked.value | ||
}) | ||
</script> | ||
|
||
<template> | ||
<div class="fixed left-0 right-0 bottom-0 bg-$windi-bg" v-if="showNote"> | ||
<a | ||
class=" | ||
bg-orange-600 bg-opacity-5 | ||
flex rounded items-center gap-4 | ||
text-orange-500 | ||
hover:bg-opacity-10 | ||
p-4 md:px-6 | ||
text-sm lg:text-base" | ||
@click="clicked = true" | ||
href="/posts/sunsetting" | ||
Check warning on line 30 in .vitepress/theme/components/molecules/SunsettingNote.vue GitHub Actions / lint
|
||
> | ||
<CarbonSunset class="text-2xl flex-none" /> | ||
<div class="flex flex-col"> | ||
<span class="font-bold flex gap-2"> Windi CSS is Sunsetting</span> | ||
We recommend new projects to consider alternatives. Click for more information. | ||
</div> | ||
</a> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Windi CSS is Sunsetting | ||
|
||
Initiated by [@voorjaar](https://github.com/voorjaar) in December 2020, Windi CSS was created to explore the possibilities of solving [Tailwind's performance issues](https://v1.tailwindcss.com/docs/controlling-file-size). Our efficient and powerful [on-demand approach](https://windicss.org/guide/#why-windi-css) later inspired Tailwind to implement [their "JIT" engine](https://v2.tailwindcss.com/docs/just-in-time-mode), the same methodology of Windi CSS. Along the way, we delved into various possibilities for enhancing developer experience, introducing features such as [Variant Group](https://windicss.org/features/variant-groups.html), [Shortcuts](https://windicss.org/features/shortcuts.html), [Attributify Mode](https://windicss.org/features/attributify.html), [Visual Analyzer](https://windicss.org/features/analyzer.html). These innovations influenced [UnoCSS](https://unocss.dev/) and significantly improved the developer experience across other atomic CSS frameworks. | ||
|
||
As team members have pursued new opportunities, our time dedicated to maintaining Windi CSS has become quite limited. Regrettably, we no longer have the necessary time and resources to actively work on the project, making it challenging to uphold the quality and responsiveness our community deserves. After much reflection and with a heavy heart, our team has decided to sunset the project, and we believe it's essential to communicate this transparently and responsibly to the community. | ||
|
||
This means that we won't expect adding new features to Windi CSS in the future, but we will still provide security fixes as needed. **Windi CSS is not deprecated, and existing users and projects can continue to use it without issues.** Meanwhile, we encourage you to explore alternative solutions for your future projects. | ||
|
||
For new projects, we recommend considering alternatives like [UnoCSS](https://unocss.dev/) or [Tailwind CSS](https://tailwindcss.com/). UnoCSS incorporates many of the great features from Windi CSS, which could make the transition easier if you are already familiar with those features. On the other hand, Tailwind has a huge community and the plugins ecosystem. Both alternatives are actively maintained, ensuring a more sustainable and reliable experience. | ||
|
||
In closing, we want to express our deepest gratitude to the entire Windi CSS community for your unwavering support, enthusiasm, collaboration, and sponsoring. We are incredibly proud of the project we built together and the valuable lessons learned throughout this journey. Thank you for being an integral part of our adventure, and we wish you all the best in your future endeavors. | ||
|
||
Warmest regards,<br> | ||
The Windi CSS Team |