<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Styling on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/styling/</link><description>Recent content in Styling on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><atom:link href="http://ghafoorsblog.com/tags/styling/index.xml" rel="self" type="application/rss+xml"/><item><title>SCSS Styling System - Implementation Complete</title><link>http://ghafoorsblog.com/docs/anki/scss_implementation_summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/anki/scss_implementation_summary/</guid><description>&lt;h1 id="scss-styling-system---implementation-complete-"&gt;SCSS Styling System - Implementation Complete ✅&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Status&lt;/strong&gt;: Production Ready&lt;br&gt;
&lt;strong&gt;Date&lt;/strong&gt;: May 1, 2024&lt;br&gt;
&lt;strong&gt;Implementation Phase&lt;/strong&gt;: Styling Foundation &amp;amp; Integration&lt;/p&gt;
&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;Successfully implemented a modular, scalable SCSS styling system for Anki flashcards with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;80+ CSS variables&lt;/strong&gt; for consistent design tokens across all courses&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Reusable base components&lt;/strong&gt; shared by all courses&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Course-specific styling&lt;/strong&gt; for Psychology and DevOps (foundation for 50+ courses)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Compiled CSS&lt;/strong&gt; automatically injected into APKG files&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero breaking changes&lt;/strong&gt; to existing infrastructure&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="architecture"&gt;Architecture&lt;/h2&gt;
&lt;h3 id="file-structure"&gt;File Structure&lt;/h3&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;scripts/anki/styles/
├── _variables.scss # Global design tokens (colors, spacing, typography)
├── _base-components.scss # Reusable CSS classes for all card types
├── courses/
│ ├── psychology.scss # Psychology-specific color overrides
│ └── devops.scss # DevOps-specific styling
├── psychology.css # Compiled output (16 KB)
└── devops.css # Compiled output (17 KB)
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="design-flow"&gt;Design Flow&lt;/h3&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;User Card Data (JSON)
 ↓
metadata[&amp;#39;course&amp;#39;] = &amp;#39;psychology&amp;#39;
 ↓
APKGGenerator creates models
 ↓
_get_css(&amp;#39;psychology&amp;#39;)
 ↓
Load: scripts/anki/styles/psychology.css
 ↓
Inject CSS into Anki models
 ↓
Generate APKG with styled cards
&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;
&lt;h2 id="component-breakdown"&gt;Component Breakdown&lt;/h2&gt;
&lt;h3 id="1-global-variables-_variablesscss"&gt;1. Global Variables (&lt;code&gt;_variables.scss&lt;/code&gt;)&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Color Palette:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>