Skip to content

Leonxlnx/taste-skill / skills/taste-skill

design-taste-frontend

Verified

tasteskill 2.5.1, the anti-slop frontend skill. Builds professional company websites at the level of figma.com and x.ai: plain copy in a voice of its own, one system, one section per screen, equal edges, real photographs and real product UI (licensed stand-in photographs when the client has none; a product render only when the brief asks for 3D), a hero entrance and one or two dealt moments on every page, shader effects and scenes only on tech, gaming and software pages, quiet micro-interactions, and a checker and finish gate that enforce it in a real browser. Use this whenever you build, design, redesign, restyle, polish or review a landing page, company, product, shop, cafe, hotel, studio, SaaS, AI, developer-tool or game site, as static HTML/CSS or inside an existing React, Next.js, Vue, Svelte, Astro or Tailwind project, or when the user says a page looks generic, templated or "AI-made".

FileKindSize
SKILL.mdskill md30.2 KB
assets/backgrounds/backgrounds.cssother41.5 KB
assets/backgrounds/backgrounds.jsscript8.9 KB
assets/backgrounds/check.htmlother4.8 KB
assets/backgrounds/check.mjsscript14.2 KB
assets/backgrounds/demo.htmlother43.3 KB
assets/backgrounds/index.jsonconfig19.6 KB
assets/backgrounds/pick.mjsscript14.0 KB
assets/components/_lab.htmlother6.4 KB
assets/components/base.cssother7.6 KB
assets/components/fx-avatar/component.cssother3.3 KB
assets/components/fx-avatar/component.htmlother1.2 KB
assets/components/fx-avatar/component.jsscript2.7 KB
assets/components/fx-avatar/meta.jsonconfig870 B
assets/components/fx-band/component.cssother1.4 KB
assets/components/fx-band/component.htmlother482 B
assets/components/fx-band/component.jsscript2.7 KB
assets/components/fx-band/meta.jsonconfig1.1 KB
assets/components/fx-bars/component.cssother3.4 KB
assets/components/fx-bars/component.htmlother2.3 KB
assets/components/fx-bars/component.jsscript2.2 KB
assets/components/fx-bars/meta.jsonconfig1.2 KB
assets/components/fx-button/component.cssother1.6 KB
assets/components/fx-button/component.htmlother798 B
assets/components/fx-button/component.jsscript3.0 KB
assets/components/fx-button/meta.jsonconfig1.1 KB
assets/components/fx-chart/component.cssother3.4 KB
assets/components/fx-chart/component.htmlother1.2 KB
assets/components/fx-chart/component.jsscript5.3 KB
assets/components/fx-chart/meta.jsonconfig1.3 KB
assets/components/fx-dither-object/component.cssother452 B
assets/components/fx-dither-object/component.htmlother177 B
assets/components/fx-dither-object/component.jsscript24.1 KB
assets/components/fx-dither-object/meta.jsonconfig2.7 KB
assets/components/fx-feature-card/component.cssother10.7 KB
assets/components/fx-feature-card/component.htmlother8.9 KB
assets/components/fx-feature-card/component.jsscript12.1 KB
assets/components/fx-feature-card/meta.jsonconfig3.0 KB
assets/components/fx-globe/component.cssother2.2 KB
assets/components/fx-globe/component.htmlother1.6 KB
assets/components/fx-globe/component.jsscript1.3 KB
assets/components/fx-globe/meta.jsonconfig819 B
assets/components/fx-headline/component.cssother1.6 KB
assets/components/fx-headline/component.htmlother833 B
assets/components/fx-headline/component.jsscript742 B
assets/components/fx-headline/meta.jsonconfig964 B
assets/components/fx-icon-tiles/component.cssother1.7 KB
assets/components/fx-icon-tiles/component.htmlother2.1 KB
assets/components/fx-icon-tiles/component.jsscript1.4 KB
assets/components/fx-icon-tiles/meta.jsonconfig922 B
assets/components/fx-logos/component.cssother2.0 KB
assets/components/fx-logos/component.htmlother12.4 KB
assets/components/fx-logos/component.jsscript1.2 KB
assets/components/fx-logos/meta.jsonconfig1.0 KB
assets/components/fx-map/bake.mjsscript25.2 KB
assets/components/fx-map/component.cssother10.6 KB
assets/components/fx-map/component.htmlother1.2 KB
assets/components/fx-map/component.jsscript14.4 KB
assets/components/fx-map/meta.jsonconfig2.6 KB
assets/components/fx-map/sample-map.jsonconfig55.7 KB
assets/components/fx-photo/component.cssother2.0 KB
assets/components/fx-photo/component.htmlother553 B
assets/components/fx-photo/component.jsscript1.9 KB
assets/components/fx-photo/meeting-room.jpgbinary198.7 KB
assets/components/fx-photo/meta.jsonconfig1.8 KB
assets/components/fx-pricing/component.cssother3.8 KB
assets/components/fx-pricing/component.htmlother1.8 KB
assets/components/fx-pricing/component.jsscript1.5 KB
assets/components/fx-pricing/meta.jsonconfig971 B
assets/components/fx-progress/component.cssother2.9 KB
assets/components/fx-progress/component.htmlother2.0 KB
assets/components/fx-progress/component.jsscript4.3 KB
assets/components/fx-progress/meta.jsonconfig1.3 KB
assets/components/fx-prompt/component.cssother3.1 KB
assets/components/fx-prompt/component.htmlother1.3 KB
assets/components/fx-prompt/component.jsscript1.1 KB
assets/components/fx-prompt/meta.jsonconfig782 B
assets/components/fx-search/component.cssother2.6 KB
assets/components/fx-search/component.htmlother1.4 KB
assets/components/fx-search/component.jsscript4.9 KB
assets/components/fx-search/meta.jsonconfig953 B
assets/components/fx-spotlight/component.cssother1.8 KB
assets/components/fx-spotlight/component.htmlother1.6 KB
assets/components/fx-spotlight/component.jsscript4.0 KB
assets/components/fx-spotlight/meta.jsonconfig1.1 KB
assets/components/fx-stat/component.cssother1.6 KB
assets/components/fx-stat/component.htmlother694 B
assets/components/fx-stat/component.jsscript1.2 KB
assets/components/fx-stat/meta.jsonconfig1.1 KB
assets/components/fx-tabs/component.cssother5.0 KB
assets/components/fx-tabs/component.htmlother2.9 KB
assets/components/fx-tabs/component.jsscript3.1 KB
assets/components/fx-tabs/meta.jsonconfig1.2 KB
assets/components/index.htmlother18.6 KB
assets/components/shared.jsscript25.9 KB
assets/diagrams/demo.htmlother11.4 KB
assets/diagrams/diagram.cssother25.5 KB
assets/diagrams/diagram.jsscript89.2 KB
assets/diagrams/lab.htmlother11.2 KB
assets/diagrams/mount.jsscript609 B
assets/diagrams/presets.jsonconfig27.8 KB
assets/effects/README.mdmarkdown9.8 KB
assets/effects/ascii-shade/effect.jsscript18.3 KB
assets/effects/ascii-shade/meta.jsonconfig372 B
assets/effects/aurora-curtains/effect.jsscript9.2 KB
assets/effects/aurora-curtains/meta.jsonconfig361 B
assets/effects/bayer-dither/effect.jsscript5.9 KB
assets/effects/bayer-dither/meta.jsonconfig311 B
assets/effects/caustics/effect.jsscript7.3 KB
assets/effects/caustics/meta.jsonconfig357 B
assets/effects/contour-lines/effect.jsscript8.2 KB
assets/effects/contour-lines/meta.jsonconfig358 B
assets/effects/dot-terrain/effect.jsscript9.2 KB
assets/effects/dot-terrain/meta.jsonconfig332 B
assets/effects/dotted-globe/effect.jsscript52.9 KB
assets/effects/dotted-globe/meta.jsonconfig546 B
assets/effects/duotone-grade/effect.jsscript33.7 KB
assets/effects/duotone-grade/meta.jsonconfig395 B
assets/effects/edge-glow/effect.jsscript10.6 KB
assets/effects/edge-glow/meta.jsonconfig427 B
assets/effects/film-light-leak/effect.jsscript12.2 KB
assets/effects/film-light-leak/meta.jsonconfig343 B
assets/effects/fluted-glass/effect.jsscript9.7 KB
assets/effects/fluted-glass/meta.jsonconfig305 B
assets/effects/fx.jsscript40.5 KB
assets/effects/gallery.htmlother37.4 KB
assets/effects/god-rays/effect.jsscript9.1 KB
assets/effects/god-rays/meta.jsonconfig318 B
assets/effects/gradient-mesh/effect.jsscript11.0 KB
assets/effects/gradient-mesh/meta.jsonconfig334 B
assets/effects/grain-gradient/effect.jsscript8.1 KB
assets/effects/grain-gradient/meta.jsonconfig311 B
assets/effects/grid-pulse/effect.jsscript18.6 KB
assets/effects/grid-pulse/meta.jsonconfig343 B
assets/effects/halftone-screen/effect.jsscript12.8 KB
assets/effects/halftone-screen/meta.jsonconfig342 B
assets/effects/index.jsonconfig36.7 KB
assets/effects/lab.htmlother31.0 KB
assets/effects/line-engraving/effect.jsscript12.4 KB
assets/effects/line-engraving/meta.jsonconfig343 B
assets/effects/orb-sphere/effect.jsscript14.2 KB
assets/effects/orb-sphere/meta.jsonconfig366 B
assets/effects/painterly-landscape/effect.jsscript12.8 KB
assets/effects/painterly-landscape/meta.jsonconfig364 B
assets/effects/pick.jsscript10.1 KB
assets/effects/prism-dispersion/effect.jsscript9.6 KB
assets/effects/prism-dispersion/meta.jsonconfig331 B
assets/effects/ridgeline/effect.jsscript19.2 KB
assets/effects/ridgeline/meta.jsonconfig460 B
assets/effects/ruled-grounds/effect.jsscript11.3 KB
assets/effects/ruled-grounds/meta.jsonconfig357 B
assets/effects/silk-folds/effect.jsscript10.4 KB
assets/effects/silk-folds/meta.jsonconfig348 B
assets/effects/soft-light-bars/effect.jsscript21.1 KB
assets/effects/soft-light-bars/meta.jsonconfig391 B
assets/effects/spotlight-cone/effect.jsscript7.3 KB
assets/effects/spotlight-cone/meta.jsonconfig349 B
assets/icons/demo.htmlother475.1 KB
assets/icons/demo/adyen.svgother2.4 KB
assets/icons/demo/after-effects.svgother5.2 KB
assets/icons/demo/ai.svgother795 B
assets/icons/demo/airbnb.svgother5.2 KB
assets/icons/demo/airbyte.svgother3.0 KB
assets/icons/demo/airflow.svgother3.4 KB
assets/icons/demo/airtable.svgother1.8 KB
assets/icons/demo/akamai.svgother5.5 KB
assets/icons/demo/algolia.svgother11.5 KB
assets/icons/demo/alpinejs.svgother343 B
assets/icons/demo/amd.svgother1.5 KB
assets/icons/demo/amex.svgother8.4 KB
assets/icons/demo/amplitude.svgother3.3 KB
assets/icons/demo/android.svgother4.7 KB
assets/icons/demo/angular.svgother1.8 KB
assets/icons/demo/ansible.svgother5.4 KB
assets/icons/demo/anthropic.svgother1.2 KB
assets/icons/demo/app-store.svgother2.9 KB
assets/icons/demo/apple-pay.svgother3.1 KB
assets/icons/demo/apple.svgother1.2 KB
assets/icons/demo/arc.svgother4.6 KB
assets/icons/demo/archlinux.svgother1.0 KB
assets/icons/demo/arduino.svgother6.7 KB
assets/icons/demo/argo.svgother22.7 KB
assets/icons/demo/arm.svgother2.5 KB
assets/icons/demo/asana.svgother1004 B
assets/icons/demo/astro.svgother3.1 KB
assets/icons/demo/audio.svgother516 B
assets/icons/demo/auth0.svgother759 B
assets/icons/demo/aws.svgother7.9 KB
assets/icons/demo/azure.svgother3.2 KB
assets/icons/demo/babel.svgother68.6 KB
assets/icons/demo/basecamp.svgother3.4 KB
assets/icons/demo/baseten.svgother1.3 KB
assets/icons/demo/bash.svgother4.2 KB
assets/icons/demo/battle-net.svgother1.1 KB
assets/icons/demo/behance.svgother12.4 KB
assets/icons/demo/bitbucket.svgother1.5 KB
assets/icons/demo/bitcoin.svgother2.3 KB
assets/icons/demo/blender.svgother3.7 KB
assets/icons/demo/bluesky.svgother1.0 KB
assets/icons/demo/bootstrap.svgother2.0 KB

assets/effects/edge-glow/effect.js

View on GitHub
// edge-glow: light runs around the edge of a card or prompt box. A bright head travels the border
// (measured by arc length, at a steady speed in px per second, capped on small boxes) with a long tail
// that fades evenly behind it; the whole border keeps a faint idle glow, and the head throws a soft
// wash of its colour into the box as it passes. By default the element itself is the card (inset 0):
// put the content straight inside it. With inset > 0 the effect draws its own card that many px inside
// the element and the glow also blooms outward into that margin.
import { shader, color } from '../fx.js';

const params = {
  radius:      { default: 14,   min: 0,    max: 48,  step: 1 },     // corner radius, CSS px (match the element's)
  width:       { default: 1.4,  min: 0.5,  max: 3,   step: 0.1 },   // border width, CSS px
  glow:        { default: 26,   min: 0,    max: 48,  step: 1 },     // glow spread, CSS px
  bloom:       { default: 0.6,  min: 0,    max: 1,   step: 0.01 },  // glow strength
  segment:     { default: 0.4,  min: 0.1,  max: 0.7, step: 0.01 },  // length of the tail, share of the edge
  speed:       { default: 140,  min: 20,   max: 400, step: 5 },     // CSS px per second (at most a quarter lap per second)
  count:       { default: 1,    min: 1,    max: 2,   step: 1 },     // one head, or two on opposite sides
  idle:        { default: 0.35, min: 0,    max: 1,   step: 0.01 },  // the faint glow along the rest of the border
  wash:        { default: 0.5,  min: 0,    max: 1,   step: 0.01 },  // light the head throws into the box
  inset:       { default: 0,    min: 0,    max: 80,  step: 1 },     // 0: the element is the card; else the card edge, CSS px inside
  fill:        { default: 0,    min: 0,    max: 1,   step: 1 },     // 1 fills the card with the surface colour, 0 with the page colour
};

const frag = /* glsl */ `
const float FX_PI = 3.14159265359;
float sdRR(vec2 q, vec2 b, float r) {
  vec2 d = abs(q) - b + r;
  return length(max(d, 0.0)) + min(max(d.x, d.y), 0.0) - r;
}
// arc-length position of the nearest edge point, clockwise from the left end of the top side (y down)
float arcPos(vec2 q, vec2 b, float r, out float per) {
  vec2 c = max(b - r, vec2(0.0));
  float qa = 0.5 * FX_PI * r;
  per = 4.0 * (c.x + c.y) + 4.0 * qa;
  vec2 a = abs(q);
  bool inX = a.x <= c.x;
  bool inY = a.y <= c.y;
  if (inX && inY) {
    if (b.y - a.y < b.x - a.x) inY = false; else inX = false;
  }
  if (inX) return q.y < 0.0 ? q.x + c.x : 2.0 * c.x + 2.0 * c.y + 2.0 * qa + (c.x - q.x);
  if (inY) return q.x > 0.0 ? 2.0 * c.x + qa + (q.y + c.y) : 4.0 * c.x + 2.0 * c.y + 3.0 * qa + (c.y - q.y);
  vec2 cc = sign(q) * c;
  float th = atan(q.y - cc.y, q.x - cc.x);
  if (q.x > 0.0 && q.y < 0.0) return 2.0 * c.x + r * (th + 0.5 * FX_PI);
  if (q.x > 0.0) return 2.0 * c.x + 2.0 * c.y + qa + r * th;
  if (q.y > 0.0) return 4.0 * c.x + 2.0 * c.y + 2.0 * qa + r * (th - 0.5 * FX_PI);
  return 4.0 * c.x + 4.0 * c.y + 3.0 * qa + r * (th + FX_PI);
}
// the edge point at arc length s (the inverse of arcPos)
vec2 pointAt(float s, vec2 b, float r) {
  vec2 c = max(b - r, vec2(0.0));
  float qa = 0.5 * FX_PI * r;
  float s1 = 2.0 * c.x, s2 = s1 + qa, s3 = s2 + 2.0 * c.y, s4 = s3 + qa;
  float s5 = s4 + 2.0 * c.x, s6 = s5 + qa, s7 = s6 + 2.0 * c.y;
  float rr = max(r, 1e-3);
  if (s < s1) return vec2(-c.x + s, -b.y);
  if (s < s2) { float th = -0.5 * FX_PI + (s - s1) / rr; return vec2(c.x, -c.y) + r * vec2(cos(th), sin(th)); }
  if (s < s3) return vec2(b.x, -c.y + (s - s2));
  if (s < s4) { float th = (s - s3) / rr; return c + r * vec2(cos(th), sin(th)); }
  if (s < s5) return vec2(c.x - (s - s4), b.y);
  if (s < s6) { float th = 0.5 * FX_PI + (s - s5) / rr; return vec2(-c.x, c.y) + r * vec2(cos(th), sin(th)); }
  if (s < s7) return vec2(-b.x, c.y - (s - s6));
  float th = FX_PI + (s - s7) / rr;
  return -c + r * vec2(cos(th), sin(th));
}
// the tail: full at the head, fading evenly (linearly) over L behind it, a short fade in front
float segWin(float s, float head, float per, float L) {
  float ds = mod(s - head + 0.5 * per, per) - 0.5 * per;
  float tail = clamp(1.0 + ds / L, 0.0, 1.0);
  float front = 1.0 - smoothstep(0.0, 0.04 * L + 6.0, ds);
  return tail * front;
}

void main() {
  float dpr = u_dpr;
  vec2 px = vec2(gl_FragCoord.x, u_res.y - gl_FragCoord.y);
  vec2 q = px - 0.5 * u_res;
  float hw = 0.5 * u_width * dpr;
  float ins = min(u_inset * dpr, 0.45 * min(u_res.x, u_res.y));
  // with inset 0 the line sits just inside the element's own edge, so none of it is clipped
  float pad = max(ins, hw + 0.5);
  vec2 b = max(0.5 * u_res - pad, vec2(4.0));
  float rr = min(max(u_radius * dpr - (pad - ins), 0.0), min(b.x, b.y));
  float d = sdRR(q, b, rr);

  float per;
  float s = arcPos(q, b, rr, per);
  // steady px per second, at most a quarter lap per second on small boxes
  float v = min(u_speed, 0.25 * per / dpr) * dpr;
  float head = mod(u_time * v + u_seed * 37.0, per);
  float L = u_segment * per;
  float win = segWin(s, head, per, L);
  float h2 = mod(head + 0.5 * per, per);
  if (u_count > 1.5) win = max(win, segWin(s, h2, per, L));
  vec3 segCol = mix(u_cA, u_cB, win);

  float stroke = 1.0 - smoothstep(hw - 0.75, hw + 0.75, abs(d));
  float outside = smoothstep(-0.6, 0.6, d);
  float g = max(u_glow * dpr, 1.0);
  float dout = max(d, 0.0), din = max(-d, 0.0);
  float bloomOut = 0.55 * exp(-dout / (g * 0.35)) + 0.45 * exp(-dout * dout / (g * g) * 2.0);
  float edgeD = min(min(px.x, u_res.x - px.x), min(px.y, u_res.y - px.y));
  bloomOut *= smoothstep(0.0, max(ins * 0.85, 1.0), edgeD) * step(0.5, ins);
  float bloomIn = exp(-din / (g * 0.3)) * (1.0 - outside);
  float glowA = (bloomOut * outside + bloomIn) * u_bloom;

  // the wash: soft light thrown into the box around the head (and the middle of its tail)
  float R = 0.32 * min(b.x, b.y) + 3.0 * g;
  vec2 hp = pointAt(head, b, rr);
  vec2 tp = pointAt(mod(head - 0.3 * L + per, per), b, rr);
  float wsh = exp(-dot(q - hp, q - hp) / (R * R)) + 0.45 * exp(-dot(q - tp, q - tp) / (R * R));
  if (u_count > 1.5) {
    vec2 hp2 = pointAt(h2, b, rr);
    wsh += exp(-dot(q - hp2, q - hp2) / (R * R));
  }
  wsh *= u_wash * (1.0 - outside) * 0.6;

  vec3 col = mix(u_cardFill, u_bg, outside);
  col = mix(col, u_glowC, clamp(wsh, 0.0, 1.0) * u_glowK);
  // idle: the whole border holds a faint line and glow
  col = mix(col, u_glowC, clamp(glowA * u_idle * 0.5, 0.0, 1.0) * u_glowK);
  col = mix(col, u_line, stroke * (0.35 + 0.65 * u_idle));
  // the moving light: glow and line along the tail, white-hot at the head
  col = mix(col, u_glowC, clamp(win * (0.4 + 0.6 * win) * glowA * 1.4, 0.0, 1.0) * u_glowK);
  // the line swells a little toward the head
  float hwH = hw * (1.0 + 0.8 * smoothstep(0.6, 1.0, win));
  float strokeH = 1.0 - smoothstep(hwH - 0.75, hwH + 0.75, abs(d));
  col = mix(col, segCol, strokeH * win);
  col = mix(col, u_hot, strokeH * smoothstep(0.8, 1.0, win) * 0.9);
  col.x += fx_grain(gl_FragCoord.xy, floor(u_time * 24.0)) * 0.005;
  fxColor = vec4(fx_dither(fx_rgb(col)), 1.0);
}
`;

// a neighbour hue of c, turned away from violet
function neighbour(c, deg = 40) {
  const h = color.lch(c)[2];
  const dist = x => { const d = Math.abs(((x % 360) + 360) % 360 - 305) % 360; return d > 180 ? 360 - d : d; };
  const turn = dist(h + deg) >= dist(h - deg) ? deg : -deg;
  return color.adjust(c, { h: turn });
}

// true when mixing ground into c in OKLab passes through violet or lavender (hue 275..335)
function crossesViolet(ground, c) {
  for (let t = 0.1; t < 1; t += 0.1) {
    const [, C, h] = color.lch(color.mix(ground, c, t));
    if (C > 0.012 && h >= 275 && h <= 335) return true;
  }
  return false;
}
// turn c's hue away from violet, a step at a time, until its mix with the ground stays clear of it
function clearOfViolet(ground, c) {
  const h = color.lch(c)[2];
  const dir = h >= 305 || h < 125 ? 1 : -1;
  for (let i = 0; i < 6 && crossesViolet(ground, c); i++) c = color.adjust(c, { h: 15 * dir });
  return c;
}

export function tones(P, prm) {
  const { bg, surface, ink, accent } = P;
  const [Lb] = color.lab(bg);
  const fill = prm.fill >= 0.5 ? surface : bg;
  // a grey accent: the light takes the ink instead, so it still reads as light, not as a smudge;
  // an accent whose mix with the ground would pass through lavender is turned a little away from it
  const src = clearOfViolet(fill, color.chroma(accent) < 0.03 ? color.withLightness(ink, 0.75) : accent);
  if (Lb < 0.6) {
    // dark: the tail is the accent, the head a lighter neighbour, white-hot at the tip
    const a = color.withLightness(color.saturate(src, 1.1), Math.max(0.68, color.lab(src)[0]));
    const b2 = clearOfViolet(fill, color.lighten(neighbour(a), 0.1));
    return {
      bg, fill, a, b: b2,
      line: color.mix(fill, ink, 0.3),
      hot: color.mix(b2, color.withLightness(ink, 0.98), 0.6),
      glow: color.mix(a, b2, 0.5),
      glowK: 1,
    };
  }
  // light: a saturated, mid-light accent line, and a glow that tints the ground toward a light
  // tint of the accent (never a darkened shadow colour)
  const [, Cs, hs] = color.lch(src);
  const Cl = Math.min(0.2, Math.max(Cs * 1.4, 0.13));
  const a = color.fromLch([0.6, Cl, hs]);
  const b2 = clearOfViolet(fill, color.withLightness(neighbour(a), 0.7));
  const tint = color.fromLch([Math.min(0.96, Math.max(Lb - 0.02, 0.8)), Math.min(0.13, Cl * 0.7), hs]);
  return {
    bg, fill, a: b2, b: a,
    line: color.mix(fill, ink, 0.22),
    hot: color.withLightness(color.saturate(a, 1.1), 0.6),
    glow: clearOfViolet(fill, tint),
    glowK: 1,
  };
}

function uniforms({ palette, params }) {
  const k = tones(palette, params);
  return {
    u_bg: color.labVec(k.bg), u_cardFill: color.labVec(k.fill), u_line: color.labVec(k.line),
    u_cA: color.labVec(k.a), u_cB: color.labVec(k.b), u_hot: color.labVec(k.hot), u_glowC: color.labVec(k.glow), u_glowK: k.glowK,
  };
}

export default {
  id: 'edge-glow',
  name: 'Edge glow',
  family: 'light',
  params,
  mount(el, { palette, params: given, seed }) {
    return shader(el, {
      frag,
      schema: params,
      params: given,
      palette,
      seed,
      uniforms,
      still: 1.5,
      fallback: ({ palette: P, params: prm }) => {
        const k = tones(P, prm);
        const i = prm.inset;
        const glow = `radial-gradient(45% 55% at 26% ${i}px, ${color.mix(k.fill, k.glow, 0.7)}, transparent 70%)`;
        // inset 0: the element (and its own rounded corners) is the card; otherwise a flat inner card
        if (!i) return `${glow}, ${k.fill}`;
        return `${glow}, linear-gradient(${k.fill}, ${k.fill}) center / calc(100% - ${2 * i}px) calc(100% - ${2 * i}px) no-repeat, `
          + `linear-gradient(${k.line}, ${k.line}) center / calc(100% - ${2 * i - 2}px) calc(100% - ${2 * i - 2}px) no-repeat, ${k.bg}`;
      },
    });
  },
};
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall