maverick-wave 5.30.0 → 5.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/maverick-wave.min.css +2 -2
- package/package.json +8 -2
- package/src/scss/abstracts/_variables.scss +2 -0
- package/src/scss/components/_modals.scss +23 -9
- package/src/scss/components/_testimonial.scss +2 -0
- package/src/scss/layout/_home.scss +46 -0
- package/src/scss/layout/_main.scss +20 -0
- package/src/scss/layout/_parallax.scss +2 -2
- package/src/scss/main-lean.scss +8 -3
- package/.claude/settings.local.json +0 -43
- package/.claude/skills/mw-maverick-wave/SKILL.md +0 -532
- package/.claude/skills/mw-maverick-wave/examples/angular-form.md +0 -279
- package/.claude/skills/mw-maverick-wave/examples/angular-list-page.md +0 -309
- package/.claude/skills/mw-maverick-wave/examples/angular-services.md +0 -538
- package/.claude/skills/mw-maverick-wave/examples/static-landing-page.md +0 -530
- package/.claude/skills/mw-maverick-wave/references/components.md +0 -2170
- package/.claude/skills/mw-maverick-wave/references/forms.md +0 -358
- package/.claude/skills/mw-maverick-wave/references/javascript.md +0 -164
- package/.claude/skills/mw-maverick-wave/references/layout.md +0 -764
- package/.claude/skills/mw-maverick-wave/references/theming.md +0 -530
- package/.github/workflows/ci.yml +0 -41
- package/.idea/codeStyles/Project.xml +0 -59
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/maverick-wave.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/vcs.xml +0 -6
- package/.prettierignore +0 -8
- package/.prettierrc.json +0 -7
- package/CHANGELOG.md +0 -956
- package/CLAUDE.md +0 -60
- package/gulpfile.js +0 -167
- package/index.html +0 -1730
- package/release.sh +0 -31
- package/scripts/verify.js +0 -252
- package/src/assets/favicon/apple-touch-icon.png +0 -0
- package/src/assets/favicon/favicon-96x96.png +0 -0
- package/src/assets/favicon/favicon.svg +0 -1
- package/src/assets/favicon/site.webmanifest +0 -37
- package/src/assets/favicon/web-app-manifest-192x192.png +0 -0
- package/src/assets/favicon/web-app-manifest-512x512.png +0 -0
- package/src/assets/favicon.ico +0 -0
- package/src/assets/header-logo.svg +0 -24
- package/src/assets/images/gallery-city.svg +0 -49
- package/src/assets/images/gallery-desert.svg +0 -25
- package/src/assets/images/gallery-forest.svg +0 -46
- package/src/assets/images/gallery-lake.svg +0 -26
- package/src/assets/images/gallery-mountain.svg +0 -19
- package/src/assets/images/gallery-ocean.svg +0 -26
- package/src/assets/images/gallery-oldtown.svg +0 -41
- package/src/assets/images/gallery-snow.svg +0 -39
- package/src/assets/images/photo-balloon.svg +0 -35
- package/src/assets/images/photo-forest-path.svg +0 -31
- package/src/assets/images/photo-lighthouse.svg +0 -42
- package/src/assets/images/photo-palm.svg +0 -27
- package/src/assets/images/photo-peak.svg +0 -27
- package/src/assets/images/photo-tower.svg +0 -34
- package/src/assets/images/photo-waterfall.svg +0 -32
- package/src/assets/images/slider-field.svg +0 -124
- package/src/assets/images/slider-forest.svg +0 -33
- package/src/assets/images/slider-lake.svg +0 -35
- package/src/assets/images/slider-mountains.svg +0 -29
- package/src/assets/images/slider-trees.svg +0 -41
- package/src/assets/images/story-aurora.svg +0 -36
- package/src/assets/images/story-beach.svg +0 -34
- package/src/assets/images/story-stars.svg +0 -35
- package/src/assets/images/tile-analytics.svg +0 -22
- package/src/assets/images/tile-cloud.svg +0 -19
- package/src/assets/images/tile-ecommerce.svg +0 -14
- package/src/assets/images/tile-enterprise.svg +0 -22
- package/src/assets/images/tile-marketing.svg +0 -16
- package/src/assets/media/demo-chime.wav +0 -0
- package/src/assets/media/story-sunrise.jpg +0 -0
- package/src/assets/media/story-sunrise.mp4 +0 -0
- package/src/partials/accordions-container.html +0 -179
- package/src/partials/alerts-container.html +0 -151
- package/src/partials/announcement-container.html +0 -67
- package/src/partials/avatars-container.html +0 -229
- package/src/partials/badges-container.html +0 -114
- package/src/partials/blog-posts-container.html +0 -158
- package/src/partials/breadcrumbs-container.html +0 -126
- package/src/partials/button-bar-container.html +0 -175
- package/src/partials/buttons-container.html +0 -272
- package/src/partials/calendar-container.html +0 -203
- package/src/partials/cards-container.html +0 -727
- package/src/partials/code-container.html +0 -194
- package/src/partials/colors-container.html +0 -263
- package/src/partials/coming-soon-container.html +0 -10
- package/src/partials/contact-container.html +0 -85
- package/src/partials/content-slider-container.html +0 -36
- package/src/partials/divider-container.html +0 -70
- package/src/partials/documentation-container.html +0 -204
- package/src/partials/dropdown-container.html +0 -119
- package/src/partials/empty-state-container.html +0 -79
- package/src/partials/feed-container.html +0 -506
- package/src/partials/footer-container.html +0 -113
- package/src/partials/form-container.html +0 -262
- package/src/partials/form-elements-container.html +0 -616
- package/src/partials/form-field-container.html +0 -166
- package/src/partials/gallery-container.html +0 -62
- package/src/partials/get-started-container.html +0 -423
- package/src/partials/grid-container.html +0 -191
- package/src/partials/header-container.html +0 -69
- package/src/partials/header-utilities-container.html +0 -331
- package/src/partials/highlights-container.html +0 -71
- package/src/partials/history-container.html +0 -67
- package/src/partials/home-container.html +0 -31
- package/src/partials/html-lists-container.html +0 -63
- package/src/partials/info-container.html +0 -104
- package/src/partials/input-group-container.html +0 -299
- package/src/partials/item-lists-container.html +0 -368
- package/src/partials/kanban-container.html +0 -459
- package/src/partials/kbd-container.html +0 -63
- package/src/partials/leader-row-container.html +0 -139
- package/src/partials/login-container.html +0 -65
- package/src/partials/lunch-menu-container.html +0 -341
- package/src/partials/media-container.html +0 -27
- package/src/partials/meta-info-container.html +0 -21
- package/src/partials/modals-container.html +0 -199
- package/src/partials/mosaic-container.html +0 -173
- package/src/partials/page-header-container.html +0 -78
- package/src/partials/pagination-container.html +0 -64
- package/src/partials/palette-container.html +0 -480
- package/src/partials/panels-container.html +0 -126
- package/src/partials/parallax-container.html +0 -147
- package/src/partials/portrait-gallery-container.html +0 -175
- package/src/partials/preview-container.html +0 -136
- package/src/partials/pricing-container.html +0 -523
- package/src/partials/progress-container.html +0 -230
- package/src/partials/prose-container.html +0 -43
- package/src/partials/ratings-container.html +0 -104
- package/src/partials/section-head-container.html +0 -77
- package/src/partials/segmented-container.html +0 -66
- package/src/partials/skeleton-container.html +0 -87
- package/src/partials/spinners-container.html +0 -96
- package/src/partials/stepper-container.html +0 -111
- package/src/partials/stories-container.html +0 -182
- package/src/partials/tables-container.html +0 -309
- package/src/partials/tabs-container.html +0 -290
- package/src/partials/tags-container.html +0 -242
- package/src/partials/techstack-bucket-container.html +0 -187
- package/src/partials/testimonials-container.html +0 -88
- package/src/partials/tiles-container.html +0 -247
- package/src/partials/timelines-container.html +0 -196
- package/src/partials/typography-container.html +0 -74
- package/src/partials/utilities-container.html +0 -553
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
<h3 class="mw-section-subtitle">Code</h3>
|
|
2
|
-
<p class="mw-text-muted mw-text-measure">
|
|
3
|
-
Inline code gets a surface of its own so it reads as a quoted thing; blocks
|
|
4
|
-
get a filename bar and a terminal variant. The syntax colours are a fixed pair
|
|
5
|
-
of themes rather than brand tokens - code is easier to read in the colours an
|
|
6
|
-
editor already uses.
|
|
7
|
-
</p>
|
|
8
|
-
|
|
9
|
-
<div class="mw-grid-2 mw-gap-5">
|
|
10
|
-
<div>
|
|
11
|
-
<h3 class="mw-mb-4">Inline Code</h3>
|
|
12
|
-
<div class="mw-card mw-card-simple">
|
|
13
|
-
<p>
|
|
14
|
-
Use <code>inline code</code> for variables, function names, or short
|
|
15
|
-
code snippets within your text.
|
|
16
|
-
</p>
|
|
17
|
-
<p>
|
|
18
|
-
For example, use <code>mw-btn</code> class to create a button or
|
|
19
|
-
<code>mw-card</code> to create a card component in your layout.
|
|
20
|
-
</p>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div>
|
|
25
|
-
<h3 class="mw-mb-4">Code Block</h3>
|
|
26
|
-
<div class="mw-card mw-card-simple">
|
|
27
|
-
<p>Use code blocks for multi-line code examples:</p>
|
|
28
|
-
<div class="mw-code-container">
|
|
29
|
-
<pre><code>// A simple greeting function
|
|
30
|
-
function greet(name) {
|
|
31
|
-
return `Hello, ${name}!`;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Display greeting in console
|
|
35
|
-
console.log(greet('Developer'));</code></pre>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<div class="mw-grid-1 mw-mt-6 mw-gap-5">
|
|
42
|
-
<div>
|
|
43
|
-
<h3 class="mw-mb-4">Code Block with Filename</h3>
|
|
44
|
-
<div class="mw-card mw-card-simple">
|
|
45
|
-
<div class="mw-code-block">
|
|
46
|
-
<div class="mw-code-block-header">
|
|
47
|
-
<span class="mw-code-block-filename">counter.jsx</span>
|
|
48
|
-
<span class="mw-code-block-language">React</span>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="mw-code-container">
|
|
51
|
-
<pre><code>// A simple React counter component
|
|
52
|
-
import { useState } from 'react';
|
|
53
|
-
|
|
54
|
-
function Counter() {
|
|
55
|
-
const [count, setCount] = useState(0);
|
|
56
|
-
return (
|
|
57
|
-
......
|
|
58
|
-
);
|
|
59
|
-
}</code></pre>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div>
|
|
66
|
-
<h3 class="mw-mb-4">Terminal</h3>
|
|
67
|
-
<div class="mw-card mw-card-simple">
|
|
68
|
-
<div class="mw-terminal">
|
|
69
|
-
<span class="mw-terminal-line">cd my-project</span>
|
|
70
|
-
<span class="mw-terminal-line"
|
|
71
|
-
>touch index.html styles.css script.js</span
|
|
72
|
-
>
|
|
73
|
-
<span class="mw-terminal-line mw-terminal-output">Created 3 files</span>
|
|
74
|
-
<span class="mw-terminal-line">mkdir assets</span>
|
|
75
|
-
<span class="mw-terminal-line">ls -la</span>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
<div>
|
|
81
|
-
<h3 class="mw-mb-4">Syntax Highlighting (Integration)</h3>
|
|
82
|
-
<div class="mw-card mw-card-simple">
|
|
83
|
-
<p>
|
|
84
|
-
MaverickWave provides styling for code containers
|
|
85
|
-
(<code>.mw-code-block</code>, <code>.mw-code-container</code>) and basic
|
|
86
|
-
styles for common code tokens (like keywords, comments, strings) using
|
|
87
|
-
classes such as <code>.mw-code-keyword</code>,
|
|
88
|
-
<code>.mw-code-comment</code>, etc.
|
|
89
|
-
</p>
|
|
90
|
-
<p>
|
|
91
|
-
However, MaverickWave
|
|
92
|
-
<strong>does not include a built-in JavaScript library</strong>
|
|
93
|
-
for automatically parsing code and applying these highlighting classes.
|
|
94
|
-
</p>
|
|
95
|
-
<h4 class="mw-mt-4 mw-mb-2">Option 1: Manual Highlighting</h4>
|
|
96
|
-
<p>
|
|
97
|
-
For simple snippets, you can manually wrap parts of your code with
|
|
98
|
-
<code><span></code> tags using the provided
|
|
99
|
-
<code>.mw-code-*</code> classes:
|
|
100
|
-
</p>
|
|
101
|
-
<div class="mw-code-container">
|
|
102
|
-
<div class="mw-code-block">
|
|
103
|
-
<div class="mw-code-block-header">
|
|
104
|
-
<span class="mw-code-block-filename">manual-example.js</span>
|
|
105
|
-
<span class="mw-code-block-language">JavaScript</span>
|
|
106
|
-
</div>
|
|
107
|
-
<pre><code><span class="mw-code-keyword">const</span> <span class="mw-code-function">greet</span> = (<span class="mw-code-keyword">name</span>) <span class="mw-code-operator">=></span> {
|
|
108
|
-
<span class="mw-code-comment">// Simple greeting</span>
|
|
109
|
-
<span class="mw-code-keyword">return</span> <span class="mw-code-string">`Hello, ${<span class="mw-code-keyword">name</span>}!`</span>;
|
|
110
|
-
};</code></pre>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<h4 class="mw-mt-4 mw-mb-2">
|
|
115
|
-
Option 2: Using a Syntax Highlighting Library
|
|
116
|
-
</h4>
|
|
117
|
-
<p>
|
|
118
|
-
For automatic highlighting of various languages, integrate a dedicated
|
|
119
|
-
JavaScript library like
|
|
120
|
-
<a href="https://prismjs.com/" target="_blank" class="mw-link"
|
|
121
|
-
>Prism.js</a
|
|
122
|
-
>
|
|
123
|
-
or
|
|
124
|
-
<a href="https://highlightjs.org/" target="_blank" class="mw-link"
|
|
125
|
-
>Highlight.js</a
|
|
126
|
-
>.
|
|
127
|
-
</p>
|
|
128
|
-
<ol class="mw-list mw-list-dot">
|
|
129
|
-
<li>Include the library's CSS and JavaScript files in your project.</li>
|
|
130
|
-
<li>
|
|
131
|
-
Ensure the library is configured to process code within MaverickWave's
|
|
132
|
-
<code><pre><code>...</code></pre></code>
|
|
133
|
-
structures, often by adding specific language classes (e.g.,
|
|
134
|
-
<code><code class="language-javascript"></code>).
|
|
135
|
-
</li>
|
|
136
|
-
<li>
|
|
137
|
-
You might need to slightly adjust the library's theme or
|
|
138
|
-
MaverickWave's token styles (<code>.mw-code-*</code>) for perfect
|
|
139
|
-
visual integration, or simply rely entirely on the chosen library's
|
|
140
|
-
theme.
|
|
141
|
-
</li>
|
|
142
|
-
</ol>
|
|
143
|
-
<p>
|
|
144
|
-
Use an external library for reliable, multi-language syntax
|
|
145
|
-
highlighting.
|
|
146
|
-
</p>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
|
|
150
|
-
<div>
|
|
151
|
-
<h3 class="mw-mb-4">Using Code Components</h3>
|
|
152
|
-
<div class="mw-card mw-card-simple">
|
|
153
|
-
<h4>Basic Structure</h4>
|
|
154
|
-
<p>
|
|
155
|
-
Here's how to structure the HTML for MaverickWave's code components:
|
|
156
|
-
</p>
|
|
157
|
-
|
|
158
|
-
<h5 class="mw-mt-4 mw-mb-2">Inline Code</h5>
|
|
159
|
-
<pre
|
|
160
|
-
class="mw-code-block"
|
|
161
|
-
><code><p>Use the <code>mw-btn</code> class.</p></code></pre>
|
|
162
|
-
|
|
163
|
-
<h5 class="mw-mt-4 mw-mb-2">Basic Code Block</h5>
|
|
164
|
-
<pre class="mw-code-block"><code><div class="mw-code-container">
|
|
165
|
-
<pre><code>your_code_here();
|
|
166
|
-
more_code();</code></pre>
|
|
167
|
-
</div></code></pre>
|
|
168
|
-
|
|
169
|
-
<h5 class="mw-mt-4 mw-mb-2">Code Block with Header</h5>
|
|
170
|
-
<pre
|
|
171
|
-
class="mw-code-block"
|
|
172
|
-
><code><div class="mw-code-block"> <!-- Note: .mw-code-block wraps header + container -->
|
|
173
|
-
<div class="mw-code-block-header">
|
|
174
|
-
<span class="mw-code-block-filename">script.js</span>
|
|
175
|
-
<span class="mw-code-block-language">JavaScript</span>
|
|
176
|
-
</div>
|
|
177
|
-
<div class="mw-code-container">
|
|
178
|
-
<pre><code>your_code_here();</code></pre>
|
|
179
|
-
</div>
|
|
180
|
-
</div></code></pre>
|
|
181
|
-
|
|
182
|
-
<h5 class="mw-mt-4 mw-mb-2">Terminal Block</h5>
|
|
183
|
-
<pre class="mw-code-block"><code><div class="mw-terminal">
|
|
184
|
-
<span class="mw-terminal-line">npm install maverick-wave</span>
|
|
185
|
-
<span class="mw-terminal-line mw-terminal-output">+ maverick-wave added</span>
|
|
186
|
-
</div></code></pre>
|
|
187
|
-
<p class="mw-mt-4">
|
|
188
|
-
Remember to integrate a syntax highlighting library if you need
|
|
189
|
-
automatic language coloring (see the "Syntax Highlighting" section
|
|
190
|
-
above).
|
|
191
|
-
</p>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
<h3 class="mw-section-subtitle">Main Colors</h3>
|
|
2
|
-
|
|
3
|
-
<!-- the hex code string is getting updated via javascript! -->
|
|
4
|
-
|
|
5
|
-
<p class="mw-text-muted mw-text-measure">
|
|
6
|
-
These thirteen are the only colors you ever set. Everything else - hover
|
|
7
|
-
tones, translucent backgrounds, borders, muted text, the card and footer
|
|
8
|
-
surfaces, the ink variant the dark theme needs - is derived from them at
|
|
9
|
-
runtime with
|
|
10
|
-
<code>color-mix()</code> and relative color syntax, so overriding a root token
|
|
11
|
-
cascades to all of its variants.
|
|
12
|
-
</p>
|
|
13
|
-
|
|
14
|
-
<div class="mw-grid-auto-sm">
|
|
15
|
-
<div class="mw-card mw-card-simple color-card">
|
|
16
|
-
<div class="mw-text-center">
|
|
17
|
-
<div
|
|
18
|
-
class="color-swatch"
|
|
19
|
-
style="background: var(--mw-primary-color)"
|
|
20
|
-
></div>
|
|
21
|
-
<p>Primary</p>
|
|
22
|
-
<p class="mw-text-muted">#000000</p>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="mw-card mw-card-simple color-card">
|
|
27
|
-
<div class="mw-text-center">
|
|
28
|
-
<div
|
|
29
|
-
class="color-swatch"
|
|
30
|
-
style="background: var(--mw-secondary-color)"
|
|
31
|
-
></div>
|
|
32
|
-
<p>Secondary</p>
|
|
33
|
-
<p class="mw-text-muted">#000000</p>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<div class="mw-card mw-card-simple color-card">
|
|
38
|
-
<div class="mw-text-center">
|
|
39
|
-
<div
|
|
40
|
-
class="color-swatch"
|
|
41
|
-
style="background: var(--mw-success-color)"
|
|
42
|
-
></div>
|
|
43
|
-
<p>Success</p>
|
|
44
|
-
<p class="mw-text-muted">#000000</p>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
|
|
48
|
-
<div class="mw-card mw-card-simple color-card">
|
|
49
|
-
<div class="mw-text-center">
|
|
50
|
-
<div
|
|
51
|
-
class="color-swatch"
|
|
52
|
-
style="background: var(--mw-warning-color)"
|
|
53
|
-
></div>
|
|
54
|
-
<p>Warning</p>
|
|
55
|
-
<p class="mw-text-muted">#000000</p>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<div class="mw-card mw-card-simple color-card">
|
|
60
|
-
<div class="mw-text-center">
|
|
61
|
-
<div
|
|
62
|
-
class="color-swatch"
|
|
63
|
-
style="background: var(--mw-danger-color)"
|
|
64
|
-
></div>
|
|
65
|
-
<p>Danger</p>
|
|
66
|
-
<p class="mw-text-muted">#000000</p>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
<div class="mw-card mw-card-simple color-card">
|
|
71
|
-
<div class="mw-text-center">
|
|
72
|
-
<div class="color-swatch" style="background: var(--mw-info-color)"></div>
|
|
73
|
-
<p>Info</p>
|
|
74
|
-
<p class="mw-text-muted">#000000</p>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<div class="mw-card mw-card-simple color-card">
|
|
79
|
-
<div class="mw-text-center">
|
|
80
|
-
<div class="color-swatch" style="background: var(--mw-gray-color)"></div>
|
|
81
|
-
<p>Gray</p>
|
|
82
|
-
<p class="mw-text-muted">#000000</p>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<div class="mw-card mw-card-simple color-card">
|
|
87
|
-
<div class="mw-text-center">
|
|
88
|
-
<div
|
|
89
|
-
class="color-swatch"
|
|
90
|
-
style="background: var(--mw-accent-text-color)"
|
|
91
|
-
></div>
|
|
92
|
-
<p>Accent Text</p>
|
|
93
|
-
<p class="mw-text-muted">#000000</p>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
|
|
97
|
-
<div class="mw-card mw-card-simple color-card">
|
|
98
|
-
<div class="mw-text-center">
|
|
99
|
-
<div
|
|
100
|
-
class="color-swatch"
|
|
101
|
-
style="background: var(--mw-dark-page-background)"
|
|
102
|
-
></div>
|
|
103
|
-
<p>Dark Page</p>
|
|
104
|
-
<p class="mw-text-muted">#000000</p>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
|
|
108
|
-
<div class="mw-card mw-card-simple color-card">
|
|
109
|
-
<div class="mw-text-center">
|
|
110
|
-
<div
|
|
111
|
-
class="color-swatch"
|
|
112
|
-
style="background: var(--mw-dark-text-color)"
|
|
113
|
-
></div>
|
|
114
|
-
<p>Dark Text</p>
|
|
115
|
-
<p class="mw-text-muted">#000000</p>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<div class="mw-card mw-card-simple color-card">
|
|
120
|
-
<div class="mw-text-center">
|
|
121
|
-
<div
|
|
122
|
-
class="color-swatch"
|
|
123
|
-
style="background: var(--mw-light-page-background)"
|
|
124
|
-
></div>
|
|
125
|
-
<p>Light Page</p>
|
|
126
|
-
<p class="mw-text-muted">#000000</p>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
|
|
130
|
-
<div class="mw-card mw-card-simple color-card">
|
|
131
|
-
<div class="mw-text-center">
|
|
132
|
-
<div
|
|
133
|
-
class="color-swatch"
|
|
134
|
-
style="background: var(--mw-light-text-color)"
|
|
135
|
-
></div>
|
|
136
|
-
<p>Light Text</p>
|
|
137
|
-
<p class="mw-text-muted">#000000</p>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
|
|
141
|
-
<div class="mw-card mw-card-simple color-card">
|
|
142
|
-
<div class="mw-text-center">
|
|
143
|
-
<div
|
|
144
|
-
class="color-swatch"
|
|
145
|
-
style="background: var(--mw-form-elements-background)"
|
|
146
|
-
></div>
|
|
147
|
-
<p>Form Elements</p>
|
|
148
|
-
<p class="mw-text-muted">#000000</p>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
|
|
153
|
-
<h3 class="mw-section-subtitle">Fill or Ink</h3>
|
|
154
|
-
|
|
155
|
-
<p class="mw-text-muted">
|
|
156
|
-
Every brand and status colour comes in two tokens.
|
|
157
|
-
<code>--mw-primary-color</code> is the exact colour, for anything it
|
|
158
|
-
<strong>fills</strong> - buttons, badges, bars - with
|
|
159
|
-
<code>--mw-primary-accent-text-color</code> on top.
|
|
160
|
-
<code>--mw-primary-text-color</code> is the same colour as ink
|
|
161
|
-
<strong>on</strong> a theme surface: text, icons, focus rings, accent borders.
|
|
162
|
-
A colour picked to carry a label is by definition too dark or too light to be
|
|
163
|
-
read on the page it sits on. The ink token clamps OKLch lightness - at least
|
|
164
|
-
0.68 on the dark page, at most 0.55 on the light one - and keeps hue and
|
|
165
|
-
chroma, so it works for any palette: a dark colour gets lifted, a very light
|
|
166
|
-
one deepened, and a colour already in range passes through untouched. Toggle
|
|
167
|
-
the theme and watch the second row.
|
|
168
|
-
</p>
|
|
169
|
-
|
|
170
|
-
<div class="mw-grid-auto-sm mw-mb-6">
|
|
171
|
-
<div class="mw-card mw-card-simple">
|
|
172
|
-
<p class="mw-mb-3"><strong>Fill</strong> - <code>--mw-*-color</code></p>
|
|
173
|
-
<div class="mw-tags">
|
|
174
|
-
<span class="mw-tag mw-tag-primary">Primary</span>
|
|
175
|
-
<span class="mw-tag mw-tag-secondary">Secondary</span>
|
|
176
|
-
</div>
|
|
177
|
-
<p class="mw-mt-4">
|
|
178
|
-
<button class="mw-btn mw-btn-primary">Primary</button>
|
|
179
|
-
<button class="mw-btn mw-btn-secondary">Secondary</button>
|
|
180
|
-
</p>
|
|
181
|
-
</div>
|
|
182
|
-
|
|
183
|
-
<div class="mw-card mw-card-simple">
|
|
184
|
-
<p class="mw-mb-3"><strong>Ink</strong> - <code>--mw-*-text-color</code></p>
|
|
185
|
-
<p class="mw-text-primary">Primary text, links and icons</p>
|
|
186
|
-
<p class="mw-text-secondary">Secondary accent</p>
|
|
187
|
-
<p class="mw-text-success">Success</p>
|
|
188
|
-
<p class="mw-text-warning">Warning</p>
|
|
189
|
-
<p class="mw-text-danger">Danger</p>
|
|
190
|
-
<p class="mw-text-info">Info</p>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<h3 class="mw-section-subtitle">Label Ink Per Colour</h3>
|
|
195
|
-
|
|
196
|
-
<p class="mw-text-muted">
|
|
197
|
-
<code>--mw-accent-text-color</code> is the label on every solid coloured
|
|
198
|
-
surface, and one value for all six only holds while the whole palette sits on
|
|
199
|
-
the same side of the lightness scale. A neon green primary next to a deep blue
|
|
200
|
-
secondary needs a dark label on the one and a light label on the other, so
|
|
201
|
-
every colour carries its own override:
|
|
202
|
-
<code>--mw-primary-accent-text-color</code>,
|
|
203
|
-
<code>--mw-secondary-accent-text-color</code> and the same for
|
|
204
|
-
<code>success</code>, <code>warning</code>, <code>danger</code> and
|
|
205
|
-
<code>info</code>. Each one defaults to <code>--mw-accent-text-color</code>,
|
|
206
|
-
so nothing changes until you set one.
|
|
207
|
-
</p>
|
|
208
|
-
|
|
209
|
-
<pre class="mw-code-block mw-mb-6"><code>:root {
|
|
210
|
-
--mw-primary-color: #39ff14;
|
|
211
|
-
/* the shared label stays light for the rest of the palette ... */
|
|
212
|
-
--mw-accent-text-color: #f2f6fc;
|
|
213
|
-
/* ... only the neon primary gets a dark one */
|
|
214
|
-
--mw-primary-accent-text-color: #0b0f0a;
|
|
215
|
-
}</code></pre>
|
|
216
|
-
|
|
217
|
-
<p class="mw-text-muted mw-mb-6">
|
|
218
|
-
Everything that fills a surface with that colour follows: buttons and mini
|
|
219
|
-
buttons, the burger button, table and panel headers, card badges and ribbons,
|
|
220
|
-
segmented and tab items, stepper dots, calendar selection, timeline dates,
|
|
221
|
-
accordion headers and progress labels. The burger button switches to
|
|
222
|
-
<code>--mw-secondary-accent-text-color</code> while the drawer is open,
|
|
223
|
-
because its surface does the same - override
|
|
224
|
-
<code>--mw-header-burgerbutton-color</code> and
|
|
225
|
-
<code>--mw-header-burgerbutton-open-color</code> to break out of that.
|
|
226
|
-
</p>
|
|
227
|
-
|
|
228
|
-
<p class="mw-text-muted">
|
|
229
|
-
Tinted surfaces follow one rule as well:
|
|
230
|
-
<code>--mw-*-background</code> is 20% of the colour,
|
|
231
|
-
<code>--mw-*-background-hover</code> 45%. Both stay close enough to the
|
|
232
|
-
surface underneath that <code>--mw-text-color</code> keeps working on top -
|
|
233
|
-
which is what makes an alert, badge or tag readable in either theme.
|
|
234
|
-
</p>
|
|
235
|
-
|
|
236
|
-
<p class="mw-text-muted mw-mb-6">
|
|
237
|
-
The surfaces work the same way. Card, footer and border scale the page
|
|
238
|
-
background's OKLch lightness and chroma by one factor and keep the hue, so a
|
|
239
|
-
tinted page hands its tint down instead of graying out. A card always steps
|
|
240
|
-
<strong>away from the text colour</strong> - darker than the page in the dark
|
|
241
|
-
theme, lighter in the light one - so content sits on the cleaner surface. That
|
|
242
|
-
is also why the dark page background is not near-black: the surfaces below it
|
|
243
|
-
need somewhere to go.
|
|
244
|
-
</p>
|
|
245
|
-
|
|
246
|
-
<p class="mw-text-muted mw-mb-6">
|
|
247
|
-
Each factor is an SCSS knob, so how far a card sits from the page is one
|
|
248
|
-
number per theme. Below 1 steps toward black, above 1 toward white - read
|
|
249
|
-
<code>0.85</code> as "the card sits at 85% of the page's lightness". Move both
|
|
250
|
-
card knobs toward 1 for a flat, borderless look, push them apart for cards
|
|
251
|
-
that read as raised panels. Keep the footer further out than the card in the
|
|
252
|
-
dark theme and on the other side in the light one, or the band under the page
|
|
253
|
-
stops reading as chrome.
|
|
254
|
-
</p>
|
|
255
|
-
|
|
256
|
-
<pre
|
|
257
|
-
class="mw-code-block mw-mb-6"
|
|
258
|
-
><code>@use 'maverick-wave/src/scss/main' with (
|
|
259
|
-
$card-surface-dark: 0.85, // card, dark theme
|
|
260
|
-
$card-surface-light: 1.05, // card, light theme
|
|
261
|
-
$footer-surface-dark: 0.75, // footer and header chrome
|
|
262
|
-
$footer-surface-light: 0.95
|
|
263
|
-
);</code></pre>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<h3 class="mw-section-subtitle">Coming Soon Banner</h3>
|
|
2
|
-
<p class="mw-text-muted mw-text-measure">
|
|
3
|
-
A placeholder for a section that is not built yet. Loud on purpose: the whole
|
|
4
|
-
point is that nobody ships it by accident.
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
|
-
<div class="mw-coming-soon">
|
|
8
|
-
<i class="mw-coming-soon-icon fas fa-tools"></i>
|
|
9
|
-
<div class="mw-coming-soon-text">Coming Soon</div>
|
|
10
|
-
</div>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<h3 class="mw-section-subtitle">Contact</h3>
|
|
2
|
-
<p class="mw-text-muted mw-text-measure">
|
|
3
|
-
The practical block at the end of a site - when we are open, how to reach us.
|
|
4
|
-
Only the second half is a component: <code>mw-contact</code> is an
|
|
5
|
-
<code><address></code> with its italics undone and a label column that
|
|
6
|
-
keeps the values under each other. The hours are a <code><dl></code> of
|
|
7
|
-
<code>mw-leader-row</code>, because a day and its times with a line between
|
|
8
|
-
them is the row that component already is.
|
|
9
|
-
</p>
|
|
10
|
-
|
|
11
|
-
<div class="mw-grid-auto-md">
|
|
12
|
-
<article class="mw-card">
|
|
13
|
-
<div class="mw-card-body">
|
|
14
|
-
<h4 class="mw-card-title">
|
|
15
|
-
<span class="mw-card-title-icon">
|
|
16
|
-
<i class="fas fa-clock" aria-hidden="true"></i>
|
|
17
|
-
</span>
|
|
18
|
-
Opening hours
|
|
19
|
-
</h4>
|
|
20
|
-
<hr class="mw-card-title-divider" />
|
|
21
|
-
|
|
22
|
-
<dl class="mw-item-list">
|
|
23
|
-
<div class="mw-leader-row">
|
|
24
|
-
<dt class="mw-leader-row-label">Monday to Friday</dt>
|
|
25
|
-
<dd class="mw-leader-row-value">11.30 - 14.00</dd>
|
|
26
|
-
<dd class="mw-leader-row-value">17.00 - 23.00</dd>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="mw-leader-row">
|
|
29
|
-
<dt class="mw-leader-row-label">Saturday</dt>
|
|
30
|
-
<dd class="mw-leader-row-value">17.00 - 23.00</dd>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="mw-leader-row">
|
|
33
|
-
<dt class="mw-leader-row-label">Sunday</dt>
|
|
34
|
-
<dd class="mw-leader-row-value">11.30 - 20.00</dd>
|
|
35
|
-
</div>
|
|
36
|
-
</dl>
|
|
37
|
-
|
|
38
|
-
<p class="mw-text-sm mw-text-muted mw-mt-6 mw-mb-0">
|
|
39
|
-
Hot food all day on Sunday. Otherwise the kitchen closes an hour before
|
|
40
|
-
the house does.
|
|
41
|
-
</p>
|
|
42
|
-
</div>
|
|
43
|
-
</article>
|
|
44
|
-
|
|
45
|
-
<article class="mw-card mw-card-addon-secondary">
|
|
46
|
-
<div class="mw-card-body">
|
|
47
|
-
<h4 class="mw-card-title">
|
|
48
|
-
<span class="mw-card-title-icon">
|
|
49
|
-
<i class="fas fa-location-dot" aria-hidden="true"></i>
|
|
50
|
-
</span>
|
|
51
|
-
How to reach us
|
|
52
|
-
</h4>
|
|
53
|
-
<hr class="mw-card-title-divider" />
|
|
54
|
-
|
|
55
|
-
<address class="mw-contact mw-mb-6">
|
|
56
|
-
<p class="mw-text-bold">Gasthaus Lamm</p>
|
|
57
|
-
<p>
|
|
58
|
-
Marktplatz 3<br />
|
|
59
|
-
72622 Musterhausen
|
|
60
|
-
</p>
|
|
61
|
-
<p class="mw-contact-row">
|
|
62
|
-
<span class="mw-contact-label">Phone</span>
|
|
63
|
-
<a class="mw-link" href="tel:+497123456789">07123 456789</a>
|
|
64
|
-
</p>
|
|
65
|
-
<p class="mw-contact-row">
|
|
66
|
-
<span class="mw-contact-label">Email</span>
|
|
67
|
-
<a class="mw-link" href="mailto:info@gasthaus-lamm.de"
|
|
68
|
-
>info@gasthaus-lamm.de</a
|
|
69
|
-
>
|
|
70
|
-
</p>
|
|
71
|
-
</address>
|
|
72
|
-
|
|
73
|
-
<div class="mw-button-bar mw-button-bar-left">
|
|
74
|
-
<a class="mw-btn mw-btn-primary" href="tel:+497123456789">
|
|
75
|
-
<i class="fas fa-phone" aria-hidden="true"></i>
|
|
76
|
-
Call us
|
|
77
|
-
</a>
|
|
78
|
-
<a class="mw-btn mw-btn-outline" href="mailto:info@gasthaus-lamm.de">
|
|
79
|
-
<i class="fas fa-envelope" aria-hidden="true"></i>
|
|
80
|
-
Write us
|
|
81
|
-
</a>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</article>
|
|
85
|
-
</div>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<h3 class="mw-section-subtitle">Content Slider</h3>
|
|
2
|
-
<p class="mw-text-muted mw-text-center">Image Slider</p>
|
|
3
|
-
|
|
4
|
-
<div class="mw-image-slider">
|
|
5
|
-
<div class="mw-image-slider-base" data-index="0">
|
|
6
|
-
<img
|
|
7
|
-
src="images/slider-mountains.svg"
|
|
8
|
-
class="mw-image-slider-base-image"
|
|
9
|
-
alt="Mountain Landscape"
|
|
10
|
-
loading="lazy"
|
|
11
|
-
/>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
<div class="mw-image-slider-overlay">
|
|
15
|
-
<div class="mw-image-slider-overlay-image" data-index="1">
|
|
16
|
-
<img src="images/slider-lake.svg" alt="Lake" loading="lazy" />
|
|
17
|
-
</div>
|
|
18
|
-
<div class="mw-image-slider-overlay-image" data-index="2">
|
|
19
|
-
<img src="images/slider-forest.svg" alt="Forest" loading="lazy" />
|
|
20
|
-
</div>
|
|
21
|
-
<div class="mw-image-slider-overlay-image" data-index="3">
|
|
22
|
-
<img src="images/slider-field.svg" alt="Field" loading="lazy" />
|
|
23
|
-
</div>
|
|
24
|
-
<div class="mw-image-slider-overlay-image" data-index="4">
|
|
25
|
-
<img src="images/slider-trees.svg" alt="Trees" loading="lazy" />
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<div class="mw-image-slider-controls-grid-3">
|
|
30
|
-
<button class="mw-btn mw-btn-primary" data-index="0">Base View</button>
|
|
31
|
-
<button class="mw-btn mw-btn-primary" data-index="1">Lake</button>
|
|
32
|
-
<button class="mw-btn mw-btn-primary" data-index="2">Forest</button>
|
|
33
|
-
<button class="mw-btn mw-btn-primary" data-index="3">Field</button>
|
|
34
|
-
<button class="mw-btn mw-btn-primary" data-index="4">Trees</button>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<h3 class="mw-section-subtitle">Divider</h3>
|
|
2
|
-
<p class="mw-text-muted mw-text-measure">
|
|
3
|
-
A rule between two things - horizontal or vertical, solid or dashed, in a
|
|
4
|
-
brand colour, or with a label sitting in the middle of it.
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
|
-
<div class="mw-grid-2 mw-gap-6">
|
|
8
|
-
<div>
|
|
9
|
-
<h3 class="mw-card-title mw-mb-4">Horizontal</h3>
|
|
10
|
-
<div class="mw-card mw-card-simple mw-grid-1 mw-gap-6">
|
|
11
|
-
<div>
|
|
12
|
-
<h4 class="mw-text-medium mw-mb-2">Default</h4>
|
|
13
|
-
<p class="mw-text-muted">Content above</p>
|
|
14
|
-
<hr class="mw-divider" />
|
|
15
|
-
<p class="mw-text-muted">Content below</p>
|
|
16
|
-
</div>
|
|
17
|
-
<div>
|
|
18
|
-
<h4 class="mw-text-medium mw-mb-2">Thick</h4>
|
|
19
|
-
<hr class="mw-divider mw-divider-thick" />
|
|
20
|
-
</div>
|
|
21
|
-
<div>
|
|
22
|
-
<h4 class="mw-text-medium mw-mb-2">Dashed</h4>
|
|
23
|
-
<hr class="mw-divider mw-divider-dashed" />
|
|
24
|
-
</div>
|
|
25
|
-
<div>
|
|
26
|
-
<h4 class="mw-text-medium mw-mb-2">Primary color</h4>
|
|
27
|
-
<hr class="mw-divider mw-divider-primary" />
|
|
28
|
-
</div>
|
|
29
|
-
<div>
|
|
30
|
-
<h4 class="mw-text-medium mw-mb-2">Secondary color</h4>
|
|
31
|
-
<hr class="mw-divider mw-divider-secondary" />
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<div>
|
|
37
|
-
<h3 class="mw-card-title mw-mb-4">With Text & Vertical</h3>
|
|
38
|
-
<div class="mw-card mw-card-simple mw-grid-1 mw-gap-6">
|
|
39
|
-
<div>
|
|
40
|
-
<h4 class="mw-text-medium mw-mb-2">With label</h4>
|
|
41
|
-
<div class="mw-divider-text">
|
|
42
|
-
<span>or</span>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<div>
|
|
46
|
-
<div class="mw-divider-text">
|
|
47
|
-
<span>Section Title</span>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
<div>
|
|
51
|
-
<div class="mw-divider-text mw-divider-primary">
|
|
52
|
-
<span><i class="fas fa-star"></i> Featured</span>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div>
|
|
57
|
-
<h4 class="mw-text-medium mw-mb-2">Vertical (inside flex row)</h4>
|
|
58
|
-
<div
|
|
59
|
-
style="display: flex; align-items: center; gap: 1rem; height: 70px"
|
|
60
|
-
>
|
|
61
|
-
<span class="mw-text-muted">Left</span>
|
|
62
|
-
<div class="mw-divider-vertical"></div>
|
|
63
|
-
<span class="mw-text-muted">Middle</span>
|
|
64
|
-
<div class="mw-divider-vertical"></div>
|
|
65
|
-
<span class="mw-text-muted">Right</span>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|