Repository navigation
Add a Decorator Kit (Beta) intro page for the CMS - #8
Merged
Merged
Conversation
A canvas-only HTML fragment to paste into the body of a Decorator 5 CMS page, introducing the kit as a beta: how it differs from the ucsd-decorator-v5 package, a quick start, init vs. add, upgrading with sync, and the "help me get started" interview. It points to the GitHub README as the full and current documentation. The look borrows from tritonai.ucsd.edu and the Developer Guide, so it ships with css/kit-beta.css. Every rule is scoped under main#main-content .kb, no rule paints the page ground or bleeds past its box, and fonts stay Roboto and Teko. Side-by-side sections stack on the content column's width via a container query, so the page works in both full-width and two-column layouts. Copy buttons reuse the live Developer Guide guide.js. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A ready-to-paste page body introducing the Decorator Kit as a beta, for a Decorator 5 CMS page (e.g. on developer.ucsd.edu):
user-guide/decorator-kit-beta-body.html: canvas-only HTML, with no header, nav, footer,<style>block, or inline styles.user-guide/css/kit-beta.css: the page's stylesheet.The page covers:
ucsd-decorator-v5npm packageinitvs.addnpm install --save-dev ucsd-decorator-kit@latest+sync, plus thesync,check,drift, andverifycommandsIt sends readers to the GitHub README for the full, current documentation.
Why
We want a short public landing page for the kit, in the style of the official Decorator docs. A first version that used only Decorator classes looked too plain, so this one takes its look from tritonai.ucsd.edu and the Developer Guide:
For reviewers
main#main-content .kb, and no rule names a chrome class or id. The tinted sections are rounded panels inside the content column, with no full-bleed tricks, so the page ground isn't painted. Fonts are Roboto and Teko only, colors are UC San Diego brand values, and there are no-success,-info,-warning, or-dangerclasses.developer.ucsd.edu/design/decorator/user-guide/js/guide.js, the same script as the Developer Guide. Without it, the page still works. In the preview browser, the script loaded and wired the buttons, but I couldn't confirm the clipboard write there.kit-beta.cssalongside the page and point the<link>at the top of the body to it. If the CMS strips body<link>tags, add the file through the page or site CSS setting instead. The comment at the top of the HTML explains this.init's real output.npm testpasses. These files aren't compiled into any rule file.🤖 Generated with Claude Code