Skip to content

Commit e372424

Browse files
b25
1 parent 8328b77 commit e372424

File tree

92 files changed

+1118
-714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1118
-714
lines changed

api/configuration/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>

api/core/global-colors/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>

api/core/global-getters/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>

api/core/global-options/index.html

Lines changed: 15 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>
@@ -153,11 +152,11 @@ <h2 class="display-flex mb-10">
153152
<div class="pure panel reset">
154153
<div class="header">
155154
<div class="h5">
156-
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">components</span> <span class="weight-normal">(<span class="color-error">$</span>keys...)</span>
155+
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">module</span> <span class="weight-normal">(<span class="color-error">$</span>keys...)</span>
157156
</div>
158157
</div>
159158
<div class="content">
160-
<p>Get a specific component's variable from the theme map or from the <code>options.scss</code> API file, which contains the default settings.</p>
159+
<p>Get a specific module's variable from the theme map or from the <code>options.scss</code> API file, which contains the default settings.</p>
161160
<table class="table">
162161
<thead>
163162
<tr>
@@ -176,17 +175,17 @@ <h2 class="display-flex mb-10">
176175
<div class="content">
177176
<script type="text/plain" class="language-scss">
178177
// example usage
179-
components('card', 'padding') // 1rem
180-
components('process', 'item', 'indicator', 'font-size') // 2.16rem
178+
module('card', 'padding') // 1rem
179+
module('process', 'item', 'indicator', 'font-size') // 2.16rem
181180
</script>
182181
</div>
183182
<div class="header">
184183
<div class="h5">
185-
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">elements</span> <span class="weight-normal">(<span class="color-error">$</span>keys...)</span>
184+
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">features</span> <span class="weight-normal">(<span class="color-error">$</span>module, <span class="color-error">$</span>feature: null): bool</span>
186185
</div>
187186
</div>
188187
<div class="content">
189-
<p>Get a specific element's variable from the theme map or from the <code>options.scss</code> API file, which contains the default settings.</p>
188+
<p>Get features of a module from the theme map or from the <code>options.scss</code> API file, which contains the default settings.</p>
190189
<table class="table">
191190
<thead>
192191
<tr>
@@ -195,39 +194,6 @@ <h2 class="display-flex mb-10">
195194
</tr>
196195
</thead>
197196
<tbody>
198-
<tr>
199-
<td><code>$keys</code></td>
200-
<td>String(s)</td>
201-
</tr>
202-
</tbody>
203-
</table>
204-
</div>
205-
<div class="content">
206-
<script type="text/plain" class="language-scss">
207-
// example usage
208-
elements('button', 'preloader', 'border-width') // 3px
209-
elements('form', 'textarea', 'min-height') // 6.5rem
210-
</script>
211-
</div>
212-
<div class="header">
213-
<div class="h5">
214-
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">features</span> <span class="weight-normal">(<span class="color-error">$</span>node, <span class="color-error">$</span>module, <span class="color-error">$</span>feature: null): bool</span>
215-
</div>
216-
</div>
217-
<div class="content">
218-
<p>Get features of Components/Elements from the theme map or from the <code>options.scss</code> API file, which contains the default settings.</p>
219-
<table class="table">
220-
<thead>
221-
<tr>
222-
<th>Parameters</th>
223-
<th>Type</th>
224-
</tr>
225-
</thead>
226-
<tbody>
227-
<tr>
228-
<td><code>$node</code></td>
229-
<td>String</td>
230-
</tr>
231197
<tr>
232198
<td><code>$module</code></td>
233199
<td>String</td>
@@ -242,17 +208,17 @@ <h2 class="display-flex mb-10">
242208
<div class="content">
243209
<script type="text/plain" class="language-scss">
244210
// example usage
245-
features('components', 'card', 'horizontal') // true
246-
features('elements', 'button', 'preloader') // true
211+
features('card', 'horizontal') // true
212+
features('button', 'preloader') // true
247213
</script>
248214
</div>
249215
<div class="header">
250216
<div class="h5">
251-
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">enabled</span> <span class="weight-normal">(<span class="color-error">$</span>node, <span class="color-error">$</span>module: null): bool</span>
217+
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">enabled</span> <span class="weight-normal">(<span class="color-error">$</span>module: null): bool</span>
252218
</div>
253219
</div>
254220
<div class="content">
255-
<p>Is component/element enabled?</p>
221+
<p>Is module enabled?</p>
256222
<table class="table">
257223
<thead>
258224
<tr>
@@ -261,27 +227,23 @@ <h2 class="display-flex mb-10">
261227
</tr>
262228
</thead>
263229
<tbody>
264-
<tr>
265-
<td><code>$node</code></td>
266-
<td>String</td>
267-
</tr>
268230
<tr>
269231
<td><code>$module</code></td>
270-
<td>String</td>
232+
<td>String|null</td>
271233
</tr>
272234
</tbody>
273235
</table>
274236
</div>
275237
<div class="content">
276238
<script type="text/plain" class="language-scss">
277239
// example usage
278-
enabled('elements', 'grid') // true
279-
enabled('components', 'navbar') // true
240+
enabled('grid') // true
241+
enabled('navbar') // true
280242
</script>
281243
</div>
282244
<div class="header">
283245
<div class="h5">
284-
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">set_variable</span> <span class="weight-normal">(<span class="color-error">$</span>module, <span class="color-error">$</span>keys...)</span>
246+
<i class="material-symbols-outlined align-middle text-larger color-error">alternate_email</i>function <span class="color-warning">set_variable</span> <span class="weight-normal">(<span class="color-error">$</span>keys...)</span>
285247
</div>
286248
</div>
287249
<div class="content">
@@ -293,10 +255,6 @@ <h2 class="display-flex mb-10">
293255
</tr>
294256
</thead>
295257
<tbody>
296-
<tr>
297-
<td><code>$module</code></td>
298-
<td>String</td>
299-
</tr>
300258
<tr>
301259
<td><code>$keys</code></td>
302260
<td>String(s)</td>

api/core/theme-getters/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>
@@ -182,8 +181,8 @@ <h2 class="display-flex mb-10">
182181
// example usage for default dark theme
183182
theme('name') // Dark Theme
184183
theme('color', 'primary') // #3266ec
185-
theme('elements', 'button', 'font-weight') // 500
186-
theme('components', 'tooltip', 'text', 'color') // #222226
184+
theme('modules', 'button', 'font-weight') // 500
185+
theme('modules', 'tooltip', 'text', 'color') // #222226
187186
</script>
188187
</div>
189188
</div>

api/installation/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>

api/options/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<section class="links">
2929
<div class="divided section justify-content-flex-start">
3030
<div class="full height borderless tab align-items-center">
31-
<a href="https://codeforms.github.io/Punica-CSS-Framework/components/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Components</a>
32-
<a href="https://codeforms.github.io/Punica-CSS-Framework/elements/button" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Elements</a>
31+
<a href="https://codeforms.github.io/Punica-CSS-Framework/modules/alert" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Modules</a>
3332
<a href="https://codeforms.github.io/Punica-CSS-Framework/utilities/accent-color" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 ">Utilities</a>
3433
<a href="https://codeforms.github.io/Punica-CSS-Framework/api/installation" class="button color-text-lighten-20 weight-500 height-30 border-1 px-0 mx-15 active">API Docs</a>
3534
</div>

0 commit comments

Comments
 (0)