@auriel/peppertino 0.6.1 → 0.7.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/CHANGELOG.txt +9 -0
- package/README.md +59 -5
- package/agents/peppertino/SKILL.md +2 -0
- package/agents/peppertino/glass.md +16 -0
- package/agents/peppertino/utilities.md +1 -0
- package/agents/skill.md +5 -65
- package/dist/main.css +1056 -848
- package/dist/main.css.map +1 -1
- package/dist/main.min.css +1 -1
- package/index.html +23 -1
- package/package.json +1 -1
- package/src/scss/glass/_material.scss +23 -0
- package/src/scss/glass-button.scss +23 -0
- package/src/scss/glass-nav.scss +21 -0
- package/src/scss/glass-panel.scss +10 -0
- package/src/scss/helpers/glass.scss +5 -0
- package/src/scss/helpers/index.scss +1 -0
- package/src/scss/main.scss +4 -1
package/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="theme-color" content="#e90111" />
|
|
7
7
|
<link rel="manifest" href="./site.webmanifest" />
|
|
8
8
|
<link rel="icon" href="./icon.svg" type="image/svg+xml" />
|
|
9
|
-
<title>PeppertinoCSS 0.
|
|
9
|
+
<title>PeppertinoCSS 0.7.0 — Dev Sandbox</title>
|
|
10
10
|
<link rel="stylesheet" href="dist/main.css?v=1780286329" />
|
|
11
11
|
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
|
|
12
12
|
<script src="dist/peppertino.js" defer></script>
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
<li role="none"><a href="#sidebars" class="pp-header__dropdown-link font-sans font-400" role="menuitem">Sidebar</a></li>
|
|
58
58
|
<li role="none"><a href="#pill-navigation" class="pp-header__dropdown-link font-sans font-400" role="menuitem">Pill navigation</a></li>
|
|
59
59
|
<li role="none"><a href="#search-results" class="pp-header__dropdown-link font-sans font-400" role="menuitem">Search results</a></li>
|
|
60
|
+
<li role="none"><a href="#glass-components" class="pp-header__dropdown-link font-sans font-400" role="menuitem">Glass</a></li>
|
|
60
61
|
</ul>
|
|
61
62
|
</li>
|
|
62
63
|
<li class="pp-header__nav-item" role="none">
|
|
@@ -1282,6 +1283,22 @@ const greet = (name) => `Hello, ${name}!`;</code></pre>
|
|
|
1282
1283
|
<h2>Search results</h2><p>Structure results provided by your application.</p><div class="pp-search-results"><ol><li><a href="#utilities">Utility helpers</a><p>Explore the modular helper families.</p></li></ol></div>
|
|
1283
1284
|
</div></section>
|
|
1284
1285
|
|
|
1286
|
+
<section id="glass-components" class="pp-section"><div class="pp-section__inner text-left" style="align-items:stretch;max-width:720px;">
|
|
1287
|
+
<h2>Glass</h2>
|
|
1288
|
+
<p>Use the glass utility on an existing component or choose a standalone glass component.</p>
|
|
1289
|
+
<div style="display:grid;gap:1rem;padding:clamp(1rem,4vw,2rem);border-radius:1.5rem;background:linear-gradient(135deg,var(--pp-gradient-start),var(--pp-gradient-end),var(--pp-primary));">
|
|
1290
|
+
<div class="pp-card glass">A regular card using the <code>.glass</code> utility.</div>
|
|
1291
|
+
<section class="pp-glass-panel"><h3>Glass panel</h3><p>A standalone surface with its own material.</p></section>
|
|
1292
|
+
<div><button class="pp-glass-button" type="button">Glass button</button></div>
|
|
1293
|
+
<nav class="pp-glass-nav" aria-label="Example glass navigation"><a href="#glass-components" aria-current="page">Glass</a><a href="#utilities">Utilities</a></nav>
|
|
1294
|
+
</div>
|
|
1295
|
+
<p class="u-text-muted">The standalone panel, button, and navigation do not require <code>.glass</code> or JavaScript. Reduced-transparency and unsupported-filter fallbacks use a solid surface.</p>
|
|
1296
|
+
<figure class="pp-code-block"><figcaption class="pp-code-block__header">SCSS imports</figcaption><pre><code>@use '@auriel/peppertino/src/scss/helpers/glass';
|
|
1297
|
+
@use '@auriel/peppertino/src/scss/glass-panel';
|
|
1298
|
+
@use '@auriel/peppertino/src/scss/glass-button';
|
|
1299
|
+
@use '@auriel/peppertino/src/scss/glass-nav';</code></pre></figure>
|
|
1300
|
+
</div></section>
|
|
1301
|
+
|
|
1285
1302
|
<!-- Forms -->
|
|
1286
1303
|
<section id="forms" class="pp-section">
|
|
1287
1304
|
<div class="pp-section__inner text-left" style="align-items:flex-start;max-width:860px;">
|
|
@@ -2012,6 +2029,11 @@ const greet = (name) => `Hello, ${name}!`;</code></pre>
|
|
|
2012
2029
|
<div class="pp-section__inner text-left" style="align-items:flex-start;max-width:720px;">
|
|
2013
2030
|
<h2 class="font-sans font-700 tracking-tight">Changelog</h2>
|
|
2014
2031
|
|
|
2032
|
+
<div style="margin-top:2rem;">
|
|
2033
|
+
<p class="font-sans font-600 text-lg">v0.7.0 <span class="font-400 text-sm">— 2026-11-22</span></p>
|
|
2034
|
+
<p>Added a glass utility, standalone glass components, accessibility fallbacks, and updated component and agent documentation.</p>
|
|
2035
|
+
</div>
|
|
2036
|
+
|
|
2015
2037
|
<div style="margin-top:2rem;">
|
|
2016
2038
|
<p class="font-sans font-600 text-lg">v0.6.1 <span class="font-400 text-sm">— 2026-11-22</span></p>
|
|
2017
2039
|
<p>Completed the source inventory and added focused agent guidance for components, accessibility, and optional application behavior.</p>
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Shared declarations only: importing this file emits no CSS.
|
|
2
|
+
@mixin surface {
|
|
3
|
+
color: var(--pp-glass-text, var(--pp-on-surface, hsl(240 6% 10%)));
|
|
4
|
+
background: var(--pp-glass-opaque, var(--pp-bg-card, #fff));
|
|
5
|
+
border-color: var(--pp-glass-edge, var(--pp-border, hsl(240 5% 84%)));
|
|
6
|
+
|
|
7
|
+
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, white, transparent)) {
|
|
8
|
+
background: var(--pp-glass-tint, color-mix(in srgb, var(--pp-glass-opaque, var(--pp-bg-card, #fff)) 88%, transparent));
|
|
9
|
+
-webkit-backdrop-filter: blur(var(--pp-glass-blur, 18px)) saturate(140%);
|
|
10
|
+
backdrop-filter: blur(var(--pp-glass-blur, 18px)) saturate(140%);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
|
|
14
|
+
background: var(--pp-glass-opaque, var(--pp-bg-card, #fff));
|
|
15
|
+
-webkit-backdrop-filter: none;
|
|
16
|
+
backdrop-filter: none;
|
|
17
|
+
}
|
|
18
|
+
@media (forced-colors: active) {
|
|
19
|
+
color: CanvasText;
|
|
20
|
+
background: Canvas;
|
|
21
|
+
border-color: CanvasText;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'glass/material';
|
|
2
|
+
|
|
3
|
+
.pp-glass-button {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
gap: .5rem;
|
|
9
|
+
min-height: 2.75rem;
|
|
10
|
+
padding: .65rem 1rem;
|
|
11
|
+
border: 1px solid var(--pp-glass-edge, var(--pp-border, hsl(240 5% 84%)));
|
|
12
|
+
border-radius: 999px;
|
|
13
|
+
font: inherit;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
@include material.surface;
|
|
17
|
+
}
|
|
18
|
+
.pp-glass-button:hover:not(:disabled) { box-shadow: 0 .25rem 1rem rgb(0 0 0 / .15); }
|
|
19
|
+
.pp-glass-button:focus-visible { outline: 2px solid var(--pp-primary, hsl(355 100% 39%)); outline-offset: 3px; }
|
|
20
|
+
.pp-glass-button:disabled { opacity: .6; cursor: not-allowed; }
|
|
21
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
22
|
+
.pp-glass-button { transition: box-shadow 150ms ease; }
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use 'glass/material';
|
|
2
|
+
|
|
3
|
+
.pp-glass-nav {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
gap: .25rem;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
padding: .35rem;
|
|
11
|
+
border: 1px solid var(--pp-glass-edge, var(--pp-border, hsl(240 5% 84%)));
|
|
12
|
+
border-radius: 1rem;
|
|
13
|
+
@include material.surface;
|
|
14
|
+
}
|
|
15
|
+
.pp-glass-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem .8rem; border-radius: .7rem; color: inherit; text-decoration: none; }
|
|
16
|
+
.pp-glass-nav a:hover, .pp-glass-nav a[aria-current='page'] { background: var(--pp-glass-active, var(--pp-glass-opaque, var(--pp-bg-card, #fff))); }
|
|
17
|
+
.pp-glass-nav a[aria-current='page'] { font-weight: 700; }
|
|
18
|
+
.pp-glass-nav a:focus-visible { outline: 2px solid var(--pp-primary, hsl(355 100% 39%)); outline-offset: 2px; }
|
|
19
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
20
|
+
.pp-glass-nav a { transition: background-color 150ms ease; }
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@use 'glass/material';
|
|
2
|
+
|
|
3
|
+
.pp-glass-panel {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
border: 1px solid var(--pp-glass-edge, var(--pp-border, hsl(240 5% 84%)));
|
|
6
|
+
border-radius: 1rem;
|
|
7
|
+
padding: 1.25rem;
|
|
8
|
+
box-shadow: 0 .5rem 2rem rgb(0 0 0 / .12);
|
|
9
|
+
@include material.surface;
|
|
10
|
+
}
|
package/src/scss/main.scss
CHANGED