Commit graph

116 commits

Author SHA1 Message Date
Benjamin Barbeau
2b5068187c
Add code highlighting (#2195)
* Add highlighting

* Adds it to mdNoImages as well

* Revert "Adds it to mdNoImages as well"

This reverts commit 2f8e3bb0cc.

* Revert "Add highlighting"

This reverts commit 80bcddd4df.

* Prevent yarn.lock from massively updating

* Add code themes locally

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-20 11:18:13 -04:00
Daniel Lo Nigro
42d60fe3d5
Simplify favicon (#2176)
Removes Inkscape metadata and resulting unneeded XML namespaces
2023-10-08 00:31:02 +00:00
SleeplessOne1917
c6d6107ddc
feat: Accomodate 2FA changes in UI
* feat: Add modal for totp settings

* Make inputs show up on totp modal

* Make modal work when enabling and disabling 2FA

* Give user better feedback when en/disabling totp

* Use new 2FA flow for login

* Refactor 2fa modal to prevent implementation details from leaking

* chore: Use constant objects where appropriate

* Incorporate translations
2023-10-04 21:24:23 -04:00
cmp
b2927c36a2
Update spoiler icon to diamond shape. (#2102) 2023-08-30 12:42:30 -04:00
Domenic Horner
9fd75faa16
Frontend Settings - "Blur NSFW" and "Auto Expand" (#1640)
* fix for en-AU locale

* add setting checkboxes for auto-expand and blur nsfw

* mappings for backend

* blur and nsfw settings

* add icon blur

* fix lint

* revert remove en-au
2023-08-07 13:48:55 -04:00
Dessalines
9f2289d466
Upgrading deps, running prettier. (#1987) 2023-07-28 16:15:42 -04:00
SleeplessOne1917
b7ec7ae311
Add show/hide button to password fields (#1861)
* Make working password inputs

* Make show/hide password button use icon

* Tweak look

* Handle delete account form separately from change settings form

* Adjust password strengthometer position

* Incorporate PR feedback

* Add translations
2023-07-14 13:33:24 -04:00
SleeplessOne1917
45333d8c10
Darkly tweak (#1811)
* Make outline buttons have better contrast in dark themes

* Change secondary color for darkly themes

* Put compact styles back to how they were before

* Forgot to build themes
2023-07-07 14:27:25 -04:00
SleeplessOne1917
f854a51090
Dark theme tweaks (#1840)
* Make post titles visible on i386

* Make post titles visible on vaporwave dark

* Undo unnecessary changes
2023-07-07 08:23:25 -04:00
Jay Sitter
9ce164245f
fix: Fix mobile thumbnail being too small (#1814)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-05 15:31:08 -04:00
SleeplessOne1917
f6cbc896af
feat(theme): Vaporwave (#1682)
* Make vaporwave dark theme work

* Tweak vaporwave light theme

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-04 12:13:31 -04:00
Jay Sitter
8323bc9ab6
fix: Revert smaller text size (#1795) 2023-07-04 11:58:54 -04:00
Jay Sitter
0047c17eb3 fix: Fix avatar image overlay aspect ratio 2023-07-02 17:24:06 -04:00
Jay Sitter
a72cc6807e fix: Fix vote buttons in list view variable width 2023-07-02 11:20:02 -04:00
Alec Armbruster
38a109ba92
Add fixed width/height to PostListing thumbnail parent (#1660)
* add static width/height for post listing thumbnails

* Update src/shared/components/post/post-listing.tsx

Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>

* make hopefully final tweaks

* remove .overflow-hidden

---------

Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 22:44:10 -04:00
SleeplessOne1917
5c16be767c
Add i386 theme (#1662)
* Add i386 theme

* Make searchable selects display properly

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-28 16:43:33 -04:00
Alec Armbruster
93e015393c
Merge branch 'main' into feat/pureblack-theme 2023-06-27 11:31:07 -04:00
Alec Armbruster
63337848ed
fix a few colors 2023-06-27 11:30:32 -04:00
SleeplessOne1917
eef3ac41d3
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:29:13 -04:00
Jay Sitter
f57bf3bb8b fix: Restore icon avatars; make smaller and roundrect 2023-06-26 19:04:13 -04:00
Jay Sitter
d62424d491 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  fix vote button alignment
  Fix feedback on banning an unbanning
  remove icon (#1618)
  Indicate valid and invalid fields in signup form (#1450)
  capitalize button (#1616)
  Move password reset form to separate route, view (#1390)
  feat(UI): Reduce base font size (#1591)
  Fix: missing semantic css classes and html elements (#1583)
2023-06-26 18:24:31 -04:00
Alec Armbruster
6d92c07c89
Merge branch 'main' into feat/pureblack-theme 2023-06-26 15:50:14 -04:00
Jay Sitter
aee7e4d45b
feat(UI): Reduce base font size (#1591)
* feat: Reduce base font size

* chore: Build themes

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 14:53:37 -04:00
Alec Armbruster
3730cc6d82
run prettier 2023-06-26 10:41:21 -04:00
Alec Armbruster
94d223b162
add darkly-pureblack theme 2023-06-26 10:37:39 -04:00
Jay Sitter
424d29847b fix: Set max height on post listing thumbnails 2023-06-25 19:40:49 -04:00
Jay Sitter
6b5ea004a6
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 17:51:21 -04:00
Jay Sitter
937dd5f86a feat(UI): Fix some link hover colors 2023-06-25 17:18:25 -04:00
Jay Sitter
71b7375773 fix(UI): Make max-width wider, and make sidebar narrower on wide screens #1536 2023-06-25 14:00:55 -04:00
Jay Sitter
e09b1f53d3 Merge remote-tracking branch 'lemmy/main' into fix/a11y-fixes-2
* lemmy/main: (38 commits)
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
  fix: Fix some emoji escape logic
  fix: Button doesn't need tabindex
  fix: Fix incorrect function reference
  fix: Emoji picker can be closed with escape key, other a11y fixes
  fix: Fix some a11y issues on jump to content button
  fix: Clarify a comment
  fix: Fix merge error
  Remove federation worker count
  fix: Add triangle alert icon to language warning
  added litely-compact
  changed where custom compact code goes
  added darkly-compact - issue 552
  Refactor first load handling
  Fix issue when navigating awat from settings
  Give function better name
  ...
2023-06-25 01:05:36 -04:00
Jay Sitter
dccfc72e73 fix(a11y): Change image remove button to true button element 2023-06-24 19:44:22 -04:00
Jay Sitter
5ed7352359 fix: Emoji picker can be closed with escape key, other a11y fixes 2023-06-24 01:58:21 -04:00
dankxiaobong
1c0f4f6002 added litely-compact 2023-06-21 13:46:31 +02:00
dankxiaobong
6d13c84f69 changed where custom compact code goes 2023-06-21 12:29:00 +02:00
dankxiaobong
d56aeb95ca added darkly-compact - issue 552 2023-06-21 11:19:30 +02:00
SleeplessOne1917
5960b85e46
Merge branch 'main' into feat/component-classes-v2 2023-06-20 21:09:17 +00:00
Alec Armbruster
671d903166
fix main.css vars (#1424) 2023-06-20 17:01:35 -04:00
djvs
5033b024f6 component classes v2 2023-06-20 14:46:16 -04:00
Jay Sitter
c77086a9d5
feat: Bootstrap 5 (#1378)
* feat: Use Bootstrap 5; remove Bootstrap 4

* feat: Add link decoration override global var

* fix: Change sr-only to visually-hidden

* fix: Fix missing toggle button classes

* fix: Use darker green to pass 3:1 contrast and allow foreground color generation

* fix: Replace all mr- and ml- classes with me- (end) and ms- (start) classes

* fix: Replace all pr- and pl- classes with pe- (end) and ps- (start) classes

* fix: Replace custom-select with form-select d-inline-block

* fix: Change max-width to Bootstrap 4's max-width

* fix: Fix badge colors

* fix: Replace deprecated btn-block class with d-block

* fix: Temporary fix for missing btn-block styles

* fix: Fix margin-left auto and margin-right auto

* fix: Fix default border color

* fix: Fix some button widths

* fix: Fix form row margins

* fix: Remove theme color maps; no longer necessary in Bootstrap 5

* fix: Remove unused gray

* test commit

* fix: Fix deprecated input-group-append usage

* fix: Add missing col-form-label classes

* fix: Fix some column widths

* fix: Fix language dropdown style regression

* fix: Fix toast background color

* fix: Fix missing colors in red themes

* fix: Fix default radio button appearance for toggles

* fix: Fix missing margin in search form

* fix: Fix search form widths

* fix: Fix rate limit form columns

* fix: Fix search filters layout

* fix: Fix weird table background issue; re-compile from main updates

* fix: Fix modlog filter layout

* fix: Fix some horizontal margins

* fix: Fix incorrect usage of input-group

* chore: Empty commit to re-trigger Woodpecker job

* fix: Fix incorrect Bootstrap 5 padding class

* fix: Tighten up the home filter bars for the hell of it

* fix: Fix home filter bar gap

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 08:01:29 -04:00
Jay Sitter
7dc06199f2 fix: Litely Red was importing the wrong vars 2023-06-19 17:21:08 -04:00
Jay Sitter
94274a1e7f
feat(post): Move post domain beneath post title (#1363)
* feat(post): Move post domain and preview button beneath post title

* fix: Move the 'show body' button back to actions line; only show if there is something to show; add 'active' color

* fix: Fix some margins
2023-06-19 11:26:29 -04:00
Jay Sitter
eb9bc1d4fb fix: Add compiled theme stylesheets 2023-06-18 15:45:01 -04:00
Jay Sitter
473406d1da fix: Fix too-intense hr color between posts 2023-06-18 15:38:16 -04:00
Jay Sitter
c5e55fb286 fix: Remove some unused vars 2023-06-17 11:16:04 -04:00
Jay Sitter
77ab1f9e85 fix: Fix some references to ; they should refer to a specific gray in case changes 2023-06-17 10:58:22 -04:00
Jay Sitter
77a3e57f94 fix: Move var to grays area 2023-06-17 10:56:17 -04:00
Jay Sitter
6bb44191ae fix: Fix broken theme overrides; group theme variable files by variable type 2023-06-17 10:54:49 -04:00
Jay Sitter
b59ddb1810 fix: Fix input-bg for darkly theme 2023-06-17 01:39:48 -04:00
Jay Sitter
9885bc31eb chore: Fix a missing theme color 2023-06-17 01:20:49 -04:00
Jay Sitter
f0bbbd181d chore: Remove some more redundancies 2023-06-17 01:19:45 -04:00