瀏覽代碼

Fix documentation: Colors of `File` (#1574)

Jens Krause 7 年之前
父節點
當前提交
a4ffe95c9e
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/documentation/form/file.html

+ 3 - 3
docs/documentation/form/file.html

@@ -669,12 +669,12 @@ variables_keys:
 
     <div class="content">
       <p>
-        You can style the file element by appending one of the <strong>9 color modifiers</strong>:
+        You can style the file element by appending one of the <strong>{{ site.data.colors.derived | size }} color modifiers</strong>:
       </p>
       <ul>
-        {% for color in site.colors %}
+        {% for color in site.data.colors.derived %}
           <li>
-            <code>is-{{ color }}</code>
+            <code>is-{{ color.id }}</code>
           </li>
         {% endfor %}
       </ul>