-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplifies class names and variables
* More easy and consistent naming * Naming matches CSS attributes everywhere (before: `font` vs. `font-family`)
- Loading branch information
1 parent
51154b1
commit 9a5e1e8
Showing
55 changed files
with
530 additions
and
506 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
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,4 @@ | ||
LivingStyleGuide.command :full_width do |arguments, options, block| | ||
document.classes << '-lsg-has-full-width' | ||
document.classes << 'lsg-has-full-width' | ||
nil | ||
end |
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,7 +1,7 @@ | ||
LivingStyleGuide.command :style do |arguments, options, block| | ||
options.delete :block_type | ||
options.each do |key, value| | ||
document.scss << %Q($lsg--#{key.to_s.gsub("_", "-")}: #{value};\n) | ||
document.scss << %Q($lsg-#{key.to_s.gsub("_", "-")}: #{value};\n) | ||
end | ||
nil | ||
end |
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,3 +1,3 @@ | ||
<section class="<%= classes.join(" ") %>" id="<%= id %>"> | ||
<pre class="lsg--code-block"><code class="lsg--code"><%= highlighted_source %></code></pre> | ||
<pre class="lsg-code-block"><code class="lsg-code"><%= highlighted_source %></code></pre> | ||
</section> |
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,6 +1,6 @@ | ||
<section class="<%= classes.join(" ") %>" id="<%= id %>"> | ||
<div class="lsg--html"> | ||
<div class="lsg-html"> | ||
<%= html %> | ||
</div> | ||
<pre class="lsg--code-block"><code class="lsg--code"><%= highlighted_source %></code></pre> | ||
<pre class="lsg-code-block"><code class="lsg-code"><%= highlighted_source %></code></pre> | ||
</section> |
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,6 +1,6 @@ | ||
<div class="lsg--font-example"> | ||
<p class="lsg--font-example-text" style="font: <%= font %>"> | ||
<div class="lsg-font-example"> | ||
<p class="lsg-font-example-text" style="font: <%= font %>"> | ||
<%= text %> | ||
</p> | ||
<pre class="lsg--code-block"><code class="lsg--code"><%= font %></code></pre> | ||
<pre class="lsg-code-block"><code class="lsg-code"><%= font %></code></pre> | ||
</div> |
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,4 @@ | ||
<section class="<%= classes.join(" ") %>" id="<%= id %>"> | ||
<script><%= html %></script> | ||
<pre class="lsg--code-block"><code class="lsg--code"><%= highlighted_source %></code></pre> | ||
<pre class="lsg-code-block"><code class="lsg-code"><%= highlighted_source %></code></pre> | ||
</section> |
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,3 +1,3 @@ | ||
<a href="http://livingstyleguide.org" class="lsg--logo"> | ||
<a href="http://livingstyleguide.org" class="lsg-logo"> | ||
Made with The LivingStyleGuide Gem | ||
</a> |
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
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 +1 @@ | ||
<input type="search" class="lsg--search-box" placeholder="<%= placeholder %>"> | ||
<input type="search" class="lsg-search-box" placeholder="<%= placeholder %>"> |
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 +1 @@ | ||
<input type="button" class="lsg--code-switch"> | ||
<input type="button" class="lsg-code-switch"> |
Oops, something went wrong.