Cory LaViska
fcfe2bde7d
Add FOUCE utilities ( #686 )
...
* add fouce utilities
* add comment
* Update docs/docs/installation.md
Co-authored-by: Lea Verou <lea@verou.me >
* commit PR suggestion
* rename wa-reduce-fouce to wa-cloak
* remove class as requested
* add cloak class
* wait a cycle
* move turbo to same file
* reduce fade
* disable SSR and add Turbo FOUCE helper
* disable SSR
* fix test suite
* workflow dispatch
* update fouce util
* no need to remove cloak class
* simplify fouce util
* add allDefined util
* update changelog
---------
Co-authored-by: Lea Verou <lea@verou.me >
Co-authored-by: konnorrogers <konnor5456@gmail.com >
2025-03-24 20:33:24 +00:00
Lea Verou
59dcaaff83
Content hierarchy bugfixes & improvements ( #821 )
...
- Sidebar, overview listings, breadcrumbs now based on actual parent-child relationships, rather than increasingly outdated heuristics
- parent properties are now generated automatically from the URL structure, and need only be specified to override that default
- Ability to group by page hierarchy in overview pages, where pages that have >= 2 children become categories
Smaller improvements:
- More flexible syntax for specifying the params of overview pages
- [Overviews] Hide group heading if only one group is present
- parentItem and parentUrl properties that can be used on any page
- Alias a collection as the children of a page (useful for "virtual" parents like Layout)
- Do not error if a page card icon is missing
2025-03-21 16:30:06 -04:00
Konnor Rogers
79bafc513a
11ty for webawesome-app ( #803 )
...
* working on integration
* 11ty for webawesome + app
* add flashes
* additional changes
* prettier
* add note about nunjucks
* prettier
2025-03-18 13:04:24 -04:00
Lea Verou
4921d1c32e
Save palette MVP, fixes #746 ( #755 )
2025-02-18 16:11:40 -05:00
Lea Verou
d6a91919e0
Code block improvements
...
- Add ids, use ids to link copy button. No need for client-side script or updating the copy button manually for dynamic code snippets.
- Add button to link to code block
- Slight refactor on copy plugin to use the 11ty API properly
2025-02-14 15:09:02 -05:00
Lea Verou
726dc73e2a
Hue tweaking & chroma scaling, closes #669 #670 ( #747 )
...
- General infrastructure to support palette tweaking
- Hue shifts per color scale (UI, permalinks, dynamic code snippets)
- Scale overall chroma up/down (UI, permalinks, dynamic code snippets)
- Update contrast ratio tables (styling for contrast up/down/fail could use improvement, but it's a starting point)
- Make sure it works with Turbo (i.e. things don't break when we navigate to another page)
2025-02-13 19:28:20 -05:00
Lea Verou
99ad0abdd3
Palette icons, take 4
2025-02-13 10:52:40 -05:00
Lea Verou
ffda52a7cf
Theme remixing: Dynamic code snippets ( #729 )
2025-02-07 23:03:34 -05:00
Lea Verou
c30f3c4b09
Improve theme remixing UI ( #724 )
...
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-02-07 11:35:12 -05:00
lindsaym-fa
3394a95057
Remove visual test failure markers
2025-02-06 10:57:33 -05:00
Lindsay M
6080a85035
Replace teal with cyan, fixes #659 ( #671 )
...
Co-authored-by: Lea Verou <lea@verou.me >
2025-02-03 19:01:23 -05:00
lindsaym-fa
f7e088c8df
Rename violet to purple, fixes #656
2025-02-03 18:47:03 -05:00
Lea Verou
404d59d9d6
Improve FOUCE reduction utility, docs fixes, :state(wa-defined) ( #643 )
...
* Utility layout
* Split out, improve & document FOUCE utility
2025-01-31 11:19:30 -05:00
Lea Verou
74ecc52a15
Inheritable size ( #593 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-01-30 15:56:32 -08:00
Lindsay M
d8881c0b1e
Add Visual Test Suite ( #617 )
...
* Initial progress on visual test suite
* Additional tests and descriptions
* Add native callout, add dividers between tables
* Indicate test failures, improve alignment tests
* Split tests into separate files
* Add table scrolling
* Remove irrelevant icon test cases
* Add test failures
* Shorten "Inline Code" > "Code" to prevent wrapping
* Add horizontal orientation to radio button tests
2025-01-28 18:45:19 -05:00
Lea Verou
099edc5186
Implement wide page-level data
2025-01-22 13:25:29 -05:00
Lea Verou
da32015f27
Basic mixing and matching docs ( #560 )
2025-01-16 16:31:24 -05:00
Lea Verou
df51149d0a
Show contrast ratios in contrast pair tables
2025-01-16 13:18:26 -05:00
Lea Verou
d464714d7b
Rudimentary palette icons
2025-01-16 10:15:16 -05:00
Lea Verou
7d089bbe2f
Palette Docs
2025-01-16 10:15:16 -05:00
Lea Verou
1738c6345b
Fix #514 for reals this time
2025-01-14 13:02:37 -05:00
Lea Verou
0ac7916a1b
Attempt to fix #514
2025-01-14 13:02:37 -05:00
Lea Verou
07f70098f8
Theming -> Design Tokens
2025-01-14 12:31:24 -05:00
Lea Verou
bf852b1296
Fix #515
2025-01-14 11:29:36 -05:00
Lea Verou
e367c0ef29
Open sidebar group on overview pages, fixes #507
2025-01-14 10:20:04 -05:00
Lea Verou
a07f6280a3
Themes category in docs ( #477 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-01-13 13:14:12 -05:00
Lea Verou
6822b25772
Rewrite color scheme logic ( #481 )
...
- Minimize needless swaps
- Centralize logic
- Use an actual `<wa-select>` rather than hacking it with `<wa-dropdown>`
- Move shared includes to shared template
- Rewrite critical theme JS
- Refactor of theme picker code
- Utilize view transitions better and use them for color scheme too
- Do not store default value in localStorage
- Removed unused `*-wide` templates
- Fixed #482
2025-01-10 15:32:28 -05:00
Lea Verou
eb07dc1410
Use passthrough copy ( #474 )
2025-01-09 17:24:18 -05:00
Lindsay M
5bfeb8044e
Theme showcase improvements ( #480 )
...
* Presentation improvements
* Change `-webkit-text-size-adjust` to supported value (`none` isn't a supported keyword on iOS)
* Try using `text-size-adjust`
* Throwing caution to the wind
* Give up on `text-size-adjust` and add 1-column view
2025-01-09 13:31:31 -05:00
Lea Verou
419f0610e4
Template-tweaks
...
- Move breadcrumbs to separate template
- Rename `beforeContent` to `header`
- Move breadcrumbs inside header
2025-01-09 02:26:01 -05:00
Lindsay M
6d31db57f6
Revise and add showcase to Themes doc ( #456 )
...
* Initial progress
* Make responsive
* quick fix to show theme name/description
* Small styling tweaks
* Documentation updates
* Revisions and improvements
* Avoid using static URLs 'cause that's ridiculous
---------
Co-authored-by: Cory LaViska <cory@abeautifulsite.net >
2025-01-08 17:33:09 -05:00
Lea Verou
21ed4f82b0
Improve UX of Layout section
2025-01-08 17:13:38 -05:00
Lea Verou
844e374a72
Fix #470
2025-01-08 16:23:34 -05:00
Lindsay M
fa66f4262d
Fix mobile theme selector; fixes #440 ( #446 )
...
* Fix styling
* Fix mobile theme selector label
2025-01-08 15:01:20 -05:00
Cory LaViska
06e432589f
change migration => tailspin ( #463 )
2025-01-08 13:59:27 -05:00
Cory LaViska
b4c4074ae1
fix mobile color picker bug ( #462 )
2025-01-08 13:49:57 -05:00
Lea Verou
19042fcca4
Decouple dark mode & theme, fixes #445 closes #385 ( #457 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-01-08 12:50:29 -05:00
Lindsay M
e046015ed5
Theme cleanup ( #414 )
...
* formatting, docs tweaks
* FA theme cleanup
* Revert removal of `--wa-form-control-height-*`
* Classic theme cleanup
* Use consistent selectors for dark mode
* Clean slate for additional themes
* Retire depth stylesheets
* Move header styles for themer out of themes
* Missed instance of dark mode selector
* Migration theme cleanup
* Brutalist theme cleanup
* Changelog for new themes
* Playful theme cleanup
* Formatting
* Default theme update
* Add tests for form theming
* Fix test typo
* Change misnamed `multiplier` properties to `scale`
* Active theme cleanup
* Mellow theme cleanup
* Cleanup unused FA styles
* Glassy theme progress
* Add checked styles to glassy
* Fix typo
* Final FA theme cleanup
* Rename FA theme to 'Awesome', allow in alpha
* Final brutalist theme cleanup
* A few more brutalist tweaks
* One last brutalist tweak
* Final mellow theme cleanup
* Final Tailwind theme cleanup
* Final active theme cleanup
* Some classic theme cleanup
* Remove unused `--wa-form-control-height-*`
* Rename `--wa-form-control-resting-color` to `border-color`
* Touch up callout `appearance` styles
* Add more themes to alpha
* Add changelog for removal of `--wa-form-control-height-*`
* Clean up colors
* Final classic theme cleanup
* Add new themes to alpha build
* Re-add teal (used by Awesome theme)
* sync mobile/desktop theme pickers and don't dup IDs
* Remove `color/standard.css` (duplicates `/themes/default/color.css`)
* add view transition
* Add premium theme for later cleanup
* Accommodate new tag `appearance` styles
* Revise `--wa-form-control-height-*` changelog entry
Co-authored-by: Lea Verou <lea@verou.me >
* Improve `--wa-border-width-scale` description
Co-authored-by: Lea Verou <lea@verou.me >
* Better border docs
* Premium tweaks
---------
Co-authored-by: Cory LaViska <cory@abeautifulsite.net >
Co-authored-by: Lea Verou <lea@verou.me >
2025-01-07 15:41:57 -05:00
Lea Verou
a9af3172ad
Rename Range to Slider ( #428 )
2025-01-06 16:44:43 -05:00
Konnor Rogers
b868b1e8fc
fix alpha builds ( #423 )
...
* fix alpha builds
* Update docs/_includes/sidebar-group.njk
Co-authored-by: Lea Verou <lea@verou.me >
* Update docs/_includes/sidebar-group.njk
Co-authored-by: Lea Verou <lea@verou.me >
---------
Co-authored-by: Lea Verou <lea@verou.me >
2025-01-06 12:53:47 -05:00
Lea Verou
ac7437894a
Automate all overviews, fix bugs with filtering
2025-01-03 20:17:19 -05:00
Lea Verou
9a21ae6f52
Make sure unlisted page cards never show up
2025-01-03 19:02:31 -05:00
Lea Verou
cd3386ce78
Exclude unlisted pages properly
2025-01-03 18:51:16 -05:00
Lea Verou
2490fbeaca
attr filter for nicer optional attributes
2025-01-03 18:12:41 -05:00
Lea Verou
1dcf895be1
Don’t render children on the top level as well
2025-01-03 16:00:36 -05:00
Lea Verou
fa094d924d
Automate sidebar listings
2025-01-03 15:52:58 -05:00
Lea Verou
8142da95d8
Update sidebar.njk
2024-12-23 02:20:39 -05:00
Lea Verou
546c9c67b4
Hide cheatsheet from components sidebar
2024-12-23 02:18:59 -05:00
Lea Verou
3b10933151
Automate listing in components index page
2024-12-23 02:15:48 -05:00
Lea Verou
51a416718d
sidebar should be using components tag
2024-12-23 02:15:25 -05:00