<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Omonire Oghene-Ovie Great</title>
    <description>The latest articles on DEV Community by Omonire Oghene-Ovie Great (@omonire).</description>
    <link>https://dev.to/omonire</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4135472%2F2f3894fa-e132-4ef3-9d21-036f8c173fa4.jpg</url>
      <title>DEV Community: Omonire Oghene-Ovie Great</title>
      <link>https://dev.to/omonire</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omonire"/>
    <language>en</language>
    <item>
      <title>Tailwind without utility soup: semantic CSS for Python web apps</title>
      <dc:creator>Omonire Oghene-Ovie Great</dc:creator>
      <pubDate>Thu, 26 Nov 2026 22:11:03 +0000</pubDate>
      <link>https://dev.to/omonire/tailwind-without-utility-soup-semantic-css-for-python-web-apps-1dhn</link>
      <guid>https://dev.to/omonire/tailwind-without-utility-soup-semantic-css-for-python-web-apps-1dhn</guid>
      <description>&lt;p&gt;I maintain &lt;code&gt;fscss&lt;/code&gt;, a Python wrapper around &lt;a href="https://fscss.devtem.org/" rel="noopener noreferrer"&gt;FSCSS&lt;/a&gt;, and we just shipped 0.2.0 on &lt;a href="https://pypi.org/project/fscss/" rel="noopener noreferrer"&gt;PyPI&lt;/a&gt; and &lt;a href="https://github.com/Omonire/fscss-py/releases/tag/v0.2.0" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The idea is simple: keep semantic CSS, but remove the repetitive parts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Most Python web projects end up in one of two places:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hand-written CSS that grows into a wall of repeated spacing, colors, and mixin-like patterns.&lt;/li&gt;
&lt;li&gt;A utility-class framework that moves styling into templates and adds a frontend build pipeline.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither feels great when the app is Flask, Django, or FastAPI + HTMX and you want plain CSS out.&lt;/p&gt;

&lt;h2&gt;
  
  
  What FSCSS looks like
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nv"&gt;$accent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nn"&gt;#8f6bff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;$ink&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nn"&gt;#0b0a13&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;@define&lt;/span&gt; &lt;span class="nf"&gt;panel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;sel&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;.panel&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;`&lt;/span&gt;
  &lt;span class="k"&gt;@use&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sel&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;px&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;24px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;py&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;rounded&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;18px&lt;/span&gt; &lt;span class="mi"&gt;50px&lt;/span&gt; &lt;span class="nf"&gt;rgba&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;35&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;stack&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;14px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;`&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;bg&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nv"&gt;$ink&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;ff&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;system-ui&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sans-serif&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@panel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;.feature&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That compiles to ordinary CSS before the server starts. No runtime styles, no class-name generator, no injected &lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Python part
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install fscss
fscss init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;fscss&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;flask&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Flask&lt;/span&gt;

&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Flask&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;__name__&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;fscss&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;init_flask&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;fscss&lt;/code&gt; vendors the official Node compiler (&lt;code&gt;xfscss 1.2.6&lt;/code&gt;) and runs it for you. Node.js 20+ is still required today, but Python is the public API: compile files, compile directories, watch for changes, and check drift in CI.&lt;/p&gt;

&lt;p&gt;The CLI also has &lt;code&gt;doctor&lt;/code&gt;, &lt;code&gt;env&lt;/code&gt;, &lt;code&gt;build --check&lt;/code&gt;, &lt;code&gt;clean&lt;/code&gt;, &lt;code&gt;report&lt;/code&gt;, shell completion, and &lt;code&gt;init&lt;/code&gt; that can install Node through your platform package manager.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why 0.2.0 matters
&lt;/h2&gt;

&lt;p&gt;This release focused on trust and operability:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;meaningful exit codes&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--check&lt;/code&gt; and &lt;code&gt;--strict&lt;/code&gt; for CI&lt;/li&gt;
&lt;li&gt;environment diagnostics&lt;/li&gt;
&lt;li&gt;Flask/Django helpers&lt;/li&gt;
&lt;li&gt;UTF-16 input handling&lt;/li&gt;
&lt;li&gt;CI on Python 3.8-3.12 across Ubuntu and Windows&lt;/li&gt;
&lt;li&gt;trusted publishing to PyPI with no token stored in the repo&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also a &lt;a href="https://github.com/Omonire/fscss-py/tree/main/examples/flask-starter" rel="noopener noreferrer"&gt;Flask starter&lt;/a&gt;, a &lt;a href="https://github.com/Omonire/fscss-py/blob/main/docs/COOKBOOK.md" rel="noopener noreferrer"&gt;cookbook&lt;/a&gt;, a &lt;a href="https://github.com/Omonire/fscss-py/blob/main/docs/SHORTHANDS.md" rel="noopener noreferrer"&gt;shorthand cheat sheet&lt;/a&gt;, and VS Code support from Figsh's extension.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it fits
&lt;/h2&gt;

&lt;p&gt;FSCSS is not trying to replace Tailwind for every team. It is for developers who want:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;semantic class names&lt;/li&gt;
&lt;li&gt;design tokens and mixins&lt;/li&gt;
&lt;li&gt;plain CSS output&lt;/li&gt;
&lt;li&gt;a Python-first workflow&lt;/li&gt;
&lt;li&gt;zero runtime cost&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If that sounds like your kind of project, try the starter and tell me what breaks. Real-world &lt;code&gt;.fscss&lt;/code&gt; files are the most useful feedback.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repo: &lt;a href="https://github.com/Omonire/fscss-py" rel="noopener noreferrer"&gt;https://github.com/Omonire/fscss-py&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/fscss/" rel="noopener noreferrer"&gt;https://pypi.org/project/fscss/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Release: &lt;a href="https://github.com/Omonire/fscss-py/releases/tag/v0.2.0" rel="noopener noreferrer"&gt;https://github.com/Omonire/fscss-py/releases/tag/v0.2.0&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>css</category>
      <category>opensource</category>
      <category>python</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
