Commit Graph

12 Commits

Author SHA1 Message Date
Zack Davis
c8f31030a4 fix regression of /about/uses label colors 2026-08-25 08:55:51 -07:00
Zack Davis
c6f1c438dc minor fixes 2026-08-24 17:41:17 -07:00
Zack Davis
abff40b977 Merge xrpl-brand-update-2026 into button-updates
Brings the merged Link component work (PR #3868) plus panelstack and
carousel fixes onto the new Button system.

Conflict resolutions:
- about/{index,history,impact}.page.tsx: keep both branches' imports;
  /about CTAs use the new Button; Link component retained for the
  inline validators links and FAQ markup.
- StandardCard: link color moves to $black/$lilac-500. Required, not
  cosmetic: the branch's $bds-btn-neutral-black no longer exists after
  the Button token system was replaced by $bds-btn-palette.
- Compiled CSS regenerated via npm run build-css rather than resolved
  by hand.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 13:00:09 -07:00
Alexander Mahan
b700e0e76e pr feedback 2026-08-24 09:29:48 -07:00
Zack Davis
29ef7b2001 Add RebrandButton on top of the shared icon set.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 13:21:50 -07:00
Zack Davis
63b9da490e rename xrpl-icon class to bds-icon 2026-08-21 11:45:31 -07:00
Zack Davis
e452a3285b add the shared icon set
Eighteen icon components behind one barrel at shared/components/Icons.
Every icon renders at 1em in currentColor and is aria-hidden, so size,
colour and accessible naming all come from whatever contains it.

The two link arrows carry motion. They are drawn as separate head and
tail elements on purpose: the tail retracts to nothing while the head
advances, which a single path cannot do, and a flattened replacement
renders correctly while silently losing the animation.

One inherited custom property is the whole contract:

  --xrpl-icon-engaged: 0   at rest   …   1   engaged

It names the cause rather than the effect. A container knows its own
hover and focus states but not which icon it holds, so each icon decides
what engagement means for it, and an icon with no stylesheet ignores the
signal and stays static.

Containers drive it with the xrpl-icon-engaged mixin, which emits
`> .xrpl-icon` — one level, then stop. That is what keeps a hovered card
from engaging the arrow inside a button it merely contains. Include it
on the element the icon actually sits in, which is not always the
element carrying the state; attached too high it matches nothing, which
fails as a missing animation rather than a wrong one. The rest value
declared on .xrpl-icon blocks a container that sets the property
directly instead of using the mixin.

Where the trigger is React state rather than a CSS state there is no
pseudo-class to hang the mixin off, so the arrows take an optional
`engaged` prop. Omitted it writes nothing at all; `false` is deliberately
different, pinning the icon still.

Fourteen of the icons are Google Material artwork under Apache-2.0. Each
file names its exact upstream source and commit, and lists the
modifications made to it; the licence entry is in LICENSE at the root.

Adds /icon-demo as the reference page for the set. It is linked from
nowhere and excluded from site search and sitemap.xml, but deliberately
left out of redocly.yaml's ignore list, which would 404 it under
`realm develop` too.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 10:33:04 -07:00
Calvin
176fb3cbc7 Component Library Refactor & New Components (#3510)
* adding showcase page

* adding CardStatsList

* clean up, tighter code

* code review and code clean up

* update import, clean up env for error message

* tweak some css code

* less css, rebuilt

* re-adding bem, modifier for bds variants
2026-06-08 16:58:22 -07:00
Calvin
fe1aa0ecb1 Add CardsIconGrid and CardsTextGrid Section Patterns (#3505)
* CardsIconGrid and CardsTextGrid + showcase pages

* cleaning up code

* more code clean up

* using the spacing tokens for values
2026-06-08 16:57:29 -07:00
Calvin Jhunjhuwala
3d59fe86a9 removed all old fonts, remove all old backgrounds 2026-06-08 16:49:15 -07:00
akcodez
643731f419 Enhance PostCSS configuration with expanded safelist for Bootstrap utility classes, update layout in about and resources pages, and refine color palette in CSS files for improved design consistency. Adjusted card styles and link behaviors to align with new design tokens. 2026-06-08 16:48:00 -07:00
akcodez
bfdf0ca4dc Implement CSS optimization pipeline with PurgeCSS, Autoprefixer, and cssnano; reduce bundle size by 42% (uncompressed) and 39% (gzipped). Add analysis tool for CSS metrics and update build scripts in package.json. Create comprehensive documentation for CSS optimization process. 2026-06-08 16:48:00 -07:00