tachyons-border-style
@@ -388,8 +389,8 @@
@@ -406,8 +407,8 @@
@@ -505,8 +506,8 @@
@@ -613,8 +614,8 @@
@@ -622,8 +623,8 @@
@@ -667,8 +668,8 @@
diff --git a/js/custom.js b/js/custom.js
index 31b8abf96..613fdd0f1 100644
--- a/js/custom.js
+++ b/js/custom.js
@@ -40,6 +40,7 @@
buildUrl = URL.createObjectURL(new Blob([file], {type: 'text/css'}))
showDownload = true;
+ showSubmit = false;
updateView()
}
@@ -68,23 +69,23 @@
if(numModules === 0) {
pkgs.each(function(p) {
var pkg = $(p)
- pkg.parent().removeClass('o-40')
+ pkg.removeClass('blue')
})
- submit.text('Select Modules To Build')
+ submit.text('Select Modules')
submit.attr('disabled', true)
} else {
pkgs.each(function(p) {
var pkg = $(p)
- applyConditionalClass(pkg.parent(), selectedModules[pkg.attr('data-package')], 'o-40');
+ applyConditionalClass(pkg, selectedModules[pkg.attr('data-package')], 'blue');
})
- submit.text('Build ' + numModules + ' Modules')
+ submit.text('Compile Selected Modules')
submit.removeAttr('disabled')
}
applyConditionalClass(submit, showSubmit, 'db')
applyConditionalClass(submit, !showSubmit, 'dn')
- applyConditionalClass(download, showDownload, 'db')
+ applyConditionalClass(download, showDownload, 'dib')
applyConditionalClass(download, !showDownload, 'dn')
applyConditionalClass(reset, showReset, 'db')
diff --git a/src/templates/custom.html b/src/templates/custom.html
index 5ba2faa10..17b4e8e34 100644
--- a/src/templates/custom.html
+++ b/src/templates/custom.html
@@ -2,44 +2,52 @@
- TACHYONS - Custom Build
+ TACHYONS - Customizer
<%= head %>
+
<%= siteHeader %>
-
-
+
-
Select the Modules You Need
-
- The main tachyons repo is just a group of of encapsulated css modules available on npm and github.
- You can grab the entire toolkit, or just a few selected modules.
- Mix and match them to suit your project's specific needs. Since tachyons modules are very focused on doing one thing well,
- most of them are extremely small (well under a kilobyte) so you
- can start using some or all of them without adding bloat to your css.
+
Tachyons Customizer
+
+ Select what you need. Leave the rest.
<% modules.map(renderModule) %>
-
<% function renderModule (module) { %>
<% } %>
<%= siteFooter %>
diff --git a/src/templates/header.html b/src/templates/header.html
index f36dca12a..3ce33cb06 100644
--- a/src/templates/header.html
+++ b/src/templates/header.html
@@ -16,9 +16,10 @@
class="f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
Components
-
- Custom Build
+ Customizer
+
GitHub