Publish / publish (push) Successful in 3s
One self-contained stylesheet (.waves) with the wave PNG inlined and the gradient colours, angle and tile size as custom properties. Tags publish @mtps/waves to the Gitea npm registry. The README plans the move from the PNG to an SVG tile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
669 B
HTML
20 lines
669 B
HTML
<!doctype html>
|
|
<!-- open after `pnpm build` -->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>waves</title>
|
|
<link rel="stylesheet" href="dist/waves.css" />
|
|
<style>
|
|
body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
|
|
.waves { display: grid; place-items: center; font: 600 20px system-ui; color: #fff; }
|
|
.alt { --waves-from: #3a6073; --waves-to: #16222a; --waves-angle: 160deg; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="waves">default</div>
|
|
<div class="waves alt">custom colours</div>
|
|
</body>
|
|
</html>
|