Loading...
Loading...
Apply opinionated styling to barebones HTML. Use when user has plain/unstyled HTML and wants to apply consistent visual styling. Triggers: style this HTML, apply styling, make this look good, /html-style, or when user shares HTML that needs CSS. Transforms tables, lists, status indicators, buttons, and layouts into a cohesive design system.
npx skill4agent add shipshitdev/library html-style<style>assets/base.css| Element | Class | Effect |
|---|---|---|
| Status text | | Red/green/orange inline text |
| Trend | | Green ↑ / Red ↓ |
| Category tag | | Blue/purple/orange pill |
| Status pill | | Filled green/red/orange |
| Filter toggle | | Outline / filled black |
| Time filter | | Small pill, black when active |
| Stat box | | 28px number, 12px label |
| Table | default or | Minimal or colored values |
| Section header | | Dark bar with white text |
| Collapsible | | Native HTML collapse |
| Insight | | Italic, yellow background |
| Tier | | Row background colors |
.table-styled.positive.negative.highlightth.sortable<a href="?sort=col">Col ▼</a>.stale.warm.pending.status-*.trend-up.trend-down.section-header<div class="section-header">🔴 URGENT</div>
<div class="section-header">🟠 PENDING</div>function saveDraft(el) {
localStorage.setItem('draft:' + el.dataset.threadId, el.textContent);
}
function copyToClipboard(text, btn) {
navigator.clipboard.writeText(text).then(() => {
btn.textContent = 'Copied!';
setTimeout(() => btn.textContent = 'Copy', 1500);
});
}tg://resolve?domain=usernamesms:+14155551234background: #fffclass="dark"<body>quick-viewtable-filters| Their Class | Style As |
|---|---|
| |
| |
| |
| Already styled (muted, small) |
| Already styled (muted header) |
| Inline button group |
| Their Class | Style As |
|---|---|
| Flex row with gap |
| Inline chip container |
| Dark pill with |
| Dropdown panel ( |
| Centered, muted text |
base.css<style><head>