<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arnold Almeida on Medium]]></title>
        <description><![CDATA[Stories by Arnold Almeida on Medium]]></description>
        <link>https://medium.com/@arnold.almeida?source=rss-a2d0b7a25d59------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OLXT9NHrkM6zUTvz_SS3RQ.jpeg</url>
            <title>Stories by Arnold Almeida on Medium</title>
            <link>https://medium.com/@arnold.almeida?source=rss-a2d0b7a25d59------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:30:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arnold.almeida/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Organising your sass/scss project]]></title>
            <link>https://medium.com/@arnold.almeida/organising-your-sass-project-24cfae349724?source=rss-a2d0b7a25d59------2</link>
            <guid isPermaLink="false">https://medium.com/p/24cfae349724</guid>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[scss]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Arnold Almeida]]></dc:creator>
            <pubDate>Thu, 20 Feb 2014 03:32:37 GMT</pubDate>
            <atom:updated>2015-03-12T04:40:42.966Z</atom:updated>
            <content:encoded><![CDATA[<h2>Organising your sass/scss</h2><h2>project</h2><p>This is a work in progress that aims to provide a clean and reusable structure for your sass projects.</p><h4>Directory structure</h4><pre>scss/<br>|<br>|— site/                              # website namespace<br>|   |— modules/<br>|     |— common/<br>|       |— _footer.scss<br>|       |— _header.scss<br>|       |— _nav.scss<br>|     |— layouts/<br>|       |— _default.scss<br>|       |— _mobile.scss<br>|       |— _tablet.scss<br>|     |— uikit/                         <br>|       |— _all.scss<br>|       |— _buttons.scss<br>|       |— _modal.scss<br>|       |— _forms.scss<br>|       |— _typography.scss<br>|       …<br>|   |— _all.scss<br>|   |— _homepage.scss<br>|   |— _variables.scss<br>|<br>| — mixins/                     <br>|   |— _all.scss<br>|   |— _colorscales.scss<br>|   |— _fontcalc.scss<br>|<br>| — vendor/                          # 3rd party libraries<br>|   |— _normalize.scss<br>|   …<br>— site.scss</pre><p><strong>mixins/</strong></p><p>Consider placing all <em>global </em>mixins in this directory. Mixins that are specific to a module should be within that module file.</p><pre>// mixins/_fontcalc.scss</pre><pre>// Converts &quot;px&quot; to &quot;em&quot;<br><a href="http://twitter.com/function">@function</a> convert-to-em($value) {...}</pre><pre>// emCalc(#)<br><a href="http://twitter.com/function">@function</a> emCalc($values...) {...}</pre><pre>// Etc..</pre><p><strong>vendor/</strong></p><p>Place all your 3rd party libraries here.</p><p><strong>site.scss</strong></p><p>Tie it all together.</p><pre>// file site.scss</pre><pre>//// Reset everything<br><a href="http://twitter.com/import">@import</a> “vendor/normalize”;</pre><pre>//// Init site variables<br><a href="http://twitter.com/import">@import</a> “site/variables”;</pre><pre>//// Import vendors<br><a href="http://twitter.com/import">@import</a> “vendor/foundation”;<br><a href="http://twitter.com/import">@import</a> “vendor/foundation-datepicker”;</pre><pre>//// Import modules<br><a href="http://twitter.com/import">@import</a> “site/modules/all”;</pre><p><strong>site/modules/_all.scss</strong></p><pre>// file site/modules/_all.scss</pre><pre>//// Import layout definitions<br><a href="http://twitter.com/import">@import</a> “layout/default”;<br><a href="http://twitter.com/import">@import</a> “layout/tablet;</pre><pre>//// Header<br><a href="http://twitter.com/import">@import</a> “common/header”;</pre><pre>//// Our website UiKit<br><a href="http://twitter.com/import">@import</a> “site/uikit/base;<br><a href="http://twitter.com/import">@import</a> “site/uikit/forms”;<br>...</pre><pre>//// Import pages here<br><a href="http://twitter.com/import">@import</a> “homepage”;</pre><pre><a href="http://twitter.com/import">@import</a> “common/footer”;</pre><blockquote>On using “partial” directories</blockquote><p><em>“A partial is simply a Sass file named with a leading underscore.”</em></p><p><em>— </em><a href="http://sass-lang.com/guide#partials"><em>http://sass-lang.com/guide#partials</em></a></p><p>So lets use semantic titles in our structures.</p><p><strong>Alternative methods</strong></p><ul><li>Matthew Anderson, OneHub</li></ul><p>— <a href="https://medium.com/p/7fe19ab647fa">https://medium.com/p/7fe19ab647fa</a></p><ul><li>John W Long, UserVoice</li></ul><p>— <a href="http://thesassway.com/beginner/how-to-structure-a-sass-project">http://thesassway.com/beginner/how-to-structure-a-sass-project</a></p><p><strong>Suggestions</strong></p><p>A copy of this structure is available as a gist.</p><p>— <a href="https://gist.github.com/arnold-almeida/9106367">https://gist.github.com/arnold-almeida/9106367</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24cfae349724" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>