Commit Graph
43 Commits
Author SHA1 Message Date
Charis 3124f3dad7 feat: add docs feedback widget (#21131)
Add a docs feedback widget to allow upvoting and downvoting pages.

Votes (completely anonymized, barely more than a counter) go to a database in the main supabase-com project. If the user has accepted telemetry, the votes also go to Logflare with a bit more info. Post-vote, logged-in users can leave a comment, which goes to the `platform/feedback/send` endpoint. There is a warning in the feedback modal that the feedback is not anonymous.
2024-03-11 20:28:25 -04:00
754ee55cd0 chore: update themes and add dark-new theme set (#20865)
* chore: update themes and add dark-new theme set

* chore: update

* add deep dark css theme

* fix issue with wrong class

* chore: add `bg-studio` as a custom remapped color for studio background

* updated surface classes to use a surface-75.

* update backgrounds and borders

* Update CardButton.tsx

* Update NavigationIconButton.tsx

* chore: add theme selection

* Update package.json

* Update index.ts

* Update package.json

* update alias

* Update ThemeSettings.tsx

* chore: split up theme support

* remove old code

* Update index.ts

* add back in

* Update ThemeSettingsOld.tsx

* fix issue with system theme leaking through

* reset themes

* update imports

* packagelock updated

* Update ThemeSettingsWithPreferredTheme.tsx

* Update system.svg

* Update NavigationIconButton.tsx

* Update NavigationBar.tsx

* update

* Update light.css

* updated some colors

* light mode updated

* hacked

* prettier

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-02-15 16:56:18 +01:00
Charis e11717493f wrap tab lists to prevent overflow (#18859)
Quick fix to add a wrapping option that makes tabs visible if there are
many of them.

Long-term fix would be to detect overflow and switch to a dropdown in
that case. Or use dropdown for smaller screens only and let it wrap on
larger screens (since it will be rarer for wrapping to trigger there).
2023-11-15 16:09:58 -05:00
b91532f6c7 Migrate to styling tokens (#18314)
* migrate some www components to tokens

* consolidate InteractiveShimmerCard to Panel component

* update tokens in blog

* update tokens in careers page

* update tokens in customers section

* update tokens in open-source section

* update tokens in Realtime page

* update tokens in Storage and Vector

* update tokens in SplitCodeBlockCarousel

* update tokens in PGCharts

* remove unused css files

* update tokens in Card

* update tokens in Pricing page

* clean up priving page imports

* remove hardcoded theme vars

* migrate first half of defaultTheme.ts to tokens

* migrate second half of defaultTheme.ts to tokens

* improve inputs

* add foreground to text-light and text-lighter

* add foreground to text-light and text-lighter

* migrate docs components with styling tokens

* migrate docs components with styling tokens

* fix broken Repos component

* fix broken classes in blog

* update tokens on Button and other components

* update tokens on IconPanel

* update studio main layout base styling tokens

* update tokens across studio, docs and www

* update tokens across studio, docs and www

* update ui/Panel to styling tokens

* update ExampleProject and TableEditorMenu tokens

* www vector page tokens

* update studio UI tokens

* update other studio UI tokens

* update more studio UI tokens

* change tokens here, change tokens there

* finish updating colors with tokens variables

* add gui sandbox for theme experimentation

* use common package for www, docs and studio and fix Command K tokens

* provide light mode default tokens options

* fix conflict leftover

* update loading line

* fix className typo

* fix prettier

* update themeSandbox preset default values

* fix text-background0

* prettier

* update warningBanner with warning color

* switch all border-border with border-default

* improve border-secondary and foreground-muted in light mode

* force ring color on toggle

* fix button bg color and border-muted light token

* fix input bg color

* fix dark button hover

* fix homepage product card

* fix code-hike table header colors

* button dark border

* remove tabIndex leftover from homepage main ctas

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-07 03:40:53 +00:00
Jonathan Summers-Muir 568e76dcdf update var(--*) values 2023-07-30 17:50:33 +08:00
Jonathan Summers-Muir 0039abdd8d add style imports 2023-07-13 14:31:41 +08:00
Isaiah Hamilton 6d79cb8623 fix: selection color on selected code 2023-06-08 12:32:08 -04:00
Jonathan Summers-Muir 6ac605f6e6 Merge branch 'master' into jsm/design-tokens-poc-2 2023-05-20 14:29:37 +08:00
Francesco Sansalvadore 3d29f2cc36 chore: fix cli docs text wrap 2023-05-15 11:13:13 +02:00
Terry Sutton f982243160 Merge pull request #14224 from supabase/fs/docs-polish
chore: docs polish
2023-05-10 15:16:45 -02:30
Jonathan Summers-Muir 4e65e5c00c Update main.scss 2023-05-09 01:14:58 +08:00
Francesco Sansalvadore 160fb55864 fix: remove double scroll on table of contents in docs 2023-05-08 17:41:47 +02:00
Greg Richardson 6189cfa12d feat: add font-display swap to prevent FOIT 2023-05-04 16:47:28 -06:00
Jonathan Summers-Muir 5385a8b958 Update main.scss 2023-04-10 18:11:50 +08:00
Jonathan Summers-Muir 69ff91f64f add new classes 2023-03-22 16:07:25 +08:00
Jonathan Summers-Muir ac6388ae41 remove old tailwind config 2023-03-22 15:01:44 +08:00
Jonathan Summers-Muir 25662010ce update to use new themes 2023-03-21 18:32:17 +08:00
Jonathan Summers-Muir 53cb175272 Update main.scss 2022-12-20 11:24:45 +08:00
Jonathan Summers-Muir dc7e615e41 chore: use next/image for images in articles 2022-12-20 11:22:36 +08:00
Terry Sutton d500165f5e Fix horizontal scroll for tablist 2022-12-12 09:00:45 -03:30
Jonathan Summers-Muir 32073e5e69 some color changes 2022-12-06 16:51:00 +08:00
Jonathan Summers-Muir bdaf8e6889 updated layouts to use components 2022-11-24 15:03:36 +08:00
Terry Sutton 4ce05f606f Merge branch 'master' into feat/docs2.0 2022-11-22 12:24:21 -03:30
Terry Sutton 64e48fb238 Add an inline block component 2022-11-18 16:53:28 -03:30
Terry Sutton 776a892ef8 Unneeded css block 2022-11-18 15:25:08 -03:30
Terry Sutton aef47a1bc5 Fix code wrapping in paragraphs 2022-11-18 15:22:11 -03:30
Jonathan Summers-Muir b97eb16108 Merge branch 'master' into feat/docs2.0 2022-11-16 20:43:20 +08:00
Terry Sutton de796961e4 Fix toc styles 2022-11-11 10:25:46 -03:30
Jonathan Summers-Muir e4798dc565 Merge branch 'master' into feat/docs2.0 2022-11-10 13:15:16 +08:00
Jonathan Summers-Muir c107c5df19 add codehike, some basic parameters to ref docs, and some other stuff 2022-11-10 01:15:59 +08:00
Terry Sutton 554c40c5cc Fix/minor style fixes (#10212)
* Fix oss avatars

* Fix sponsor avatars

* Responsive nudges
2022-11-09 11:24:56 -03:00
Terry Sutton 39c4f917e8 Fix ff list rendering 2022-11-08 12:09:45 -03:30
Terry Sutton 74da8df848 Merge pull request #10100 from supabase/chore/fix-broken-links
Refactor contributors and sponsors
2022-11-08 12:05:25 -03:30
Joshen Lim 3a282d41c4 Small style fix 2022-11-08 02:18:37 +08:00
Terry Sutton 356ffb1904 Remove unneeded css 2022-11-07 12:29:56 -03:30
Terry Sutton 1ad916d08f Fix max width on article tag 2022-11-07 12:23:26 -03:30
Joshen Lim f004c86dd0 Fix code wrapping in li 2022-11-04 14:27:29 +08:00
Joshen Lim cc4563d5c3 Fix custom anchors and usage of code in headers 2022-11-04 14:27:29 +08:00
Terry Sutton 4d8a40377b Add param to force css change 2022-11-03 17:01:10 -02:30
Terry Sutton db1591df15 Fix page width issue 2022-11-03 14:19:14 -02:30
Terry Sutton b650dd4d19 Temp fix for code overlapping 2022-11-03 14:13:51 -02:30
Terry Sutton 3571e444f6 Fix mobile menu toggle, add responsive nudges 2022-11-03 12:31:06 -02:30
Joshen Lim 986cccb9b1 Rename temp docs to docs 2022-11-03 20:40:03 +07:00