sage
twin.macro
Our great sponsors
sage | twin.macro | |
---|---|---|
53 | 57 | |
12,518 | 7,802 | |
0.5% | - | |
8.4 | 6.1 | |
10 days ago | 19 days ago | |
PHP | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sage
- Sage – Advanced WordPress Starter Theme with Tailwind CSS and Laravel Blade
-
Ask HN: WordPress vs. Django/Flask?
Hey there!
Using Django or Flask might be overkill for what you're trying to do. I suggest you to stick with WordPress, but check out the Sage/root style over at https://roots.io/sage.
It's not the classic WordPress; it's a modern, more secure version.
Also only use plugins when you absolutely have to, and if you do, stick with the pros (i.e. Gravityforms).
I've used WP alot (more than 1000s of websites) and I'm also using Python with Flask and FastAPI (but never used Django).
- Wordpress + Tailwind?
-
Do you develop custom themes or use builder themes?
We develop custom themes with sage and acf blocks 10/10, you should try it.. https://roots.io/sage/
-
How do I convince my boss to use Next.js and Storyblok as headless CMS instead of WordPress for clients?
If you do ultimately end up having to build in WordPress I'd recommend checking out sage. https://roots.io/sage/
- Best themes for WordPress site developers who can code?
-
How are you developing websites, that allow your typical non-developer change the content?
Well, WordPress keeps moving towards drag n drop / visual editing and that makes everything more complicated for people who just want a system to manage data. There are people out there who have invested a ton of time to try and bridge the gap between the direction of wordpress and modern templating features like Sage by Roots (https://roots.io/sage/)
-
Setting up WordPress in 2023
A minimal theme combining Roots Sage 10 and Bootstrap 5.2 (at the time of writing this article 5.3 was an alpha release). and making use of the plugins in places.
- Recommended bare bone WordPress theme to create your own theme from?
-
What I learned making and maintaining a custom Wordpress shop
Sage starter theme by Roots - this gives us the Blade template engine that we are familiar with from Laravel.
twin.macro
-
Tailwindcss in Styled-Components
Twin Macro Github Repo. This is a great resource to help you pick up Twin’s syntax, learn more about the package, and keep up to date with the latest releases.
-
CSS Style Guide for Web Dev?
Personally I like twin.macro the most. It’s similar to the above but based on Tailwind.
-
Cool Tailwindcss Tools For Everyone
twin.macro is a library that allows you to use these styles in your JavaScript code. This library works exactly like styled-components.
- How do you css?
-
Fixing Class Composition in Tailwind CSS
One of the more promising alternatives is twin.macro - a Babel macro that processes Tailwind classes to generate JS objects understandable by various CSS-in-JS libraries. The developer experience (DX) of using it is amazing as you not only get all of Tailwind’s features without much change to your code, but you also get much more flexibility - all that on top of the traditional benefits of CSS-in-JS. Here’s an example code:
-
Setup Nextjs Tailwind CSS Styled Components with TypeScript
twin.macro
-
What unpopular webdev opinions do you have?
If you use Tailwind with React a lot, and are wanting support for Styled Components, give Twin Macro a look. They're close to finishing support for TW v3 in their Releases section :)
- Are utility classes horrible design or am I dumb?
- What's the proper way to write Tailwind with React?
-
Stailwc: an swc plugin for transpiling tailwind directives at compile time
The blocker for us using it is our use of an excellent library called twin.macro which is built against babel's transpilation APIs to parse tailwindcss directives at compile time so that they may be used with css-in-js libraries. This efficiently bundles your css so that you only ship the precise css you use. The problem is, it's all quite slow.
What are some alternatives?
understrap - Underscores + Bootstrap = Understrap, the renowned open-source WordPress starter theme.
twind - The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
bedrock - WordPress boilerplate with Composer, easier configuration, and an improved folder structure
Tailwind CSS - A utility-first CSS framework for rapid UI development.
wp-bootstrap-navwalker - A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.
tailwindcss-classnames - Functional typed classnames for TailwindCSS
gutenberg - The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
jest-styled-components - 🔧 💅 Jest utilities for Styled Components
acf-composer - Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
vue-emotion - Seamlessly use emotion (CSS-in-JS) with Vue.js
tailpress - TailPress is a minimal boilerplate theme for WordPress using Tailwind CSS.
tailwind-safelist-generator - Tailwind plugin to generate purge-safe.txt files