Commit graph

73 commits

Author SHA1 Message Date
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
Jay Sitter
87cf5d9b6c chore: Remove some more redundancies 2023-06-17 01:18:35 -04:00
Jay Sitter
d2dac88cd8 chore: Fix vars 2023-06-17 00:53:44 -04:00
Jay Sitter
42c46c18ca chore: Remove some redundant Sass variable declarations and re-organize them 2023-06-17 00:38:30 -04:00
Jay Sitter
a41079929d fix: Fix imports 2023-06-17 00:12:01 -04:00
Jay Sitter
ab92d7264d fix: Sass files don't need to refer to full node_modules path 2023-06-16 23:14:39 -04:00
SleeplessOne1917
28023bb3a6
Merge branch 'main' into generate-theme-css 2023-06-17 02:22:10 +00:00
SleeplessOne1917
9165433282
Merge branch 'main' into 1117-jump-to-main-content 2023-06-17 02:19:59 +00:00
Jay Sitter
3d24a108ae feat: Fix some colors on dark mode 2023-06-16 20:02:07 -04:00
Jay Sitter
ebba5bdd80 feat: Move text formatting bar above textarea 2023-06-16 17:47:43 -04:00
Sean Spade
d3e181222a feat: Adds Jump to main content functionality
feat: Adds media query for prefers reduced motion

chore: remove <a/> from index.tsx

chore: remove tranisiton for skip link

chore: remove omitted error variable

update translations

chore: update translations

chore: Covert <a/> jump to content from html to Inferno JSX

chore: add translation

feat: add main as a parent to routes so jump to content always skips navigation on every page

chore: Use bootstrap classes

feat: Tidy Jump to content feature with some basic JS

feat: Jump to main content
2023-06-16 17:22:05 -04:00
SleeplessOne1917
d3a19751d5
Merge branch 'main' into generate-theme-css 2023-06-16 20:00:46 +00:00
Florian Heft
3afd636b9e Fixed color scheme variables of litely-red
* Adapted variables to the actual color that
  was used before
2023-06-16 10:53:26 +02:00
Andrew DeLisa
79f4009541
Improve the look of tables (#1299)
* feat(css): remove table styling that overrides bootstrap

* feat(utils): style MD tables appropriately with bootstrap class
2023-06-15 17:42:22 -04:00
SleeplessOne1917
4c67ff255b
Merge branch 'main' into generate-theme-css 2023-06-15 15:51:52 +00:00
SleeplessOne1917
31e61e7449
Merge branch 'main' into comment-depth 2023-06-14 23:46:11 +00:00
Camel Coder
be60dae9f8
Horizontally scrollable code blocks, instead of wrapping.
This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
2023-06-14 12:00:13 +00:00
Florian Heft
20c3b6bfb3 Recompiled theme files using latest Bootstrap 4
* Rebuild the existing theme files using the
  new build system (93f00c9e).
* Files should be functionally the same apart
  from possibly some Bootstrap fixes. Most
  of the diff is reordering and formatting
  (e.g. color values).
2023-06-14 01:14:18 +02:00
Florian Heft
a170a0cc74 Added npm scripts to rebuild theme files
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
  and Bootstrap base variables
2023-06-14 01:14:18 +02:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00:00
Raymond Berger
de230a5e2f
remove unused theme files (#1202)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-12 14:57:52 -04:00
Alec Armbruster
1aa934584f
add .img-cover class, implement 2023-06-12 13:00:18 -04:00
abias
b12399de5f Make comments nested lists 2023-06-03 22:02:07 -04:00
SleeplessOne1917
ffe95ee1c6
Navbar hide menu fix (#1033)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags
2023-05-21 23:31:08 -04:00
SleeplessOne1917
0bd9a17009
Add web share for browsers that have it enabled (#1029)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-21 14:17:56 -04:00
SleeplessOne1917
0d30f4c731
Make admin UI for allowing/blocking instances easier to work with (#1012)
* Make admin UI for allowing/blocking instances easier to work with

* Tweak styles

* Remove log statements

* Trim instance names and slight refactor

* Use linkEvent
2023-05-16 09:08:52 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA (#1005)
* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax
2023-05-11 21:07:59 -04:00
Dessalines
457187693f
Prettier css (#995)
* Add prettier lint for css and scss files.

* Fixing eslint issue.

* Run prettier
2023-05-03 22:09:27 -04:00
SleeplessOne1917
3a88f6e854
Add content warning to modlog and fix modlog routing bug (#994)
* Add content warning to modlog and fix modlog routing bug

* Add translation logic
2023-05-03 22:06:59 -04:00
Anon
1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines
6aa33e6809
Remove buggy navbar search. Fixes #921 (#950) 2023-02-21 15:52:12 -05:00
Dessalines
31715ca75c
Removing extra themes. Fixes #905 (#910) 2023-02-02 21:14:59 -05:00
Dessalines
afeb64009b
Adding Community Language fixes. #783 (#868)
* Partially done with language tagging. #783

* A few more updates.
2022-12-19 10:57:29 -05:00
Anon
e2a29a5bad
Add Taglines support (#854)
* Add Taglines support

* Fix issue with deletion not rendering properly.

* Address PR comments

* Missed alllanguages

* Cleanup tagline match

* Update js client

* Move taglines to siteres

* Only show taglines editor after site setup

* Update js client
2022-11-20 11:08:44 -05:00
Dessalines
6e3a6a601b
Move symbols to its own cacheable file. Fixes #809 (#862) 2022-11-18 13:28:05 -05:00
Rens Groothuijsen
b979e0a3a9
Search button and input style fixes (#825)
* Align search button style with other navbar buttons, disable search box when hidden, adjust search box size

* Align search button margin with other navigation bar buttons
2022-10-20 23:56:57 -04:00
Sergio Varela
326beabda1
Cantarell for darkly/darkly-red. Fixes #779 (#784)
* Adds Cantarell

See: Use Cantarell instead of Liberation Sans for GNOME users on darkly/darkly-red themes. #779 (https://github.com/LemmyNet/lemmy-ui/issues/779)

* Adds Cantarell

See: Use Cantarell instead of Liberation Sans for GNOME users on darkly/darkly-red themes. #779 (https://github.com/LemmyNet/lemmy-ui/issues/779)
2022-09-20 22:43:33 -04:00
Anon
a8ab4e0558 Add support for filtering mod logs 2022-08-07 10:26:27 -05:00
Dessalines
321339c6c5
Don't render markdown for summaries. Fixes #658 (#659) 2022-05-23 11:13:41 +00:00
Dessalines
6b53ae7f62
Adding litely-red and darkly-red themes. (#636) 2022-04-27 19:10:58 +00:00
ada4b03615
Rename theme files from *.min.css to *.css (#590) 2022-03-03 12:55:26 -05:00
eduardog3000
5f6ea5de6d
Improvements to post listings (#536)
* Improvements to post listings.

* Expanded image and body now show below the rest of the listing.
* The above are also offset to not be under the votes and thumbnail.
* Post title doesn't jump to a new line when you expand the image.
* Thumbnail doesn't disappear when you expand the image.
* Does not apply on mobile since things don't jump around as much.
* Clicking expanded image opens the original in a new tab.
* Does not apply on mobile since you can just long press.
* Instead tapping the image closes it.
* pictrs images now prefer the original format over jpg.
* Rendering split into many functions to improve readability.
* Post actions are now on the same line as the comments button.
* Post actions now show on mobile.
* Comments button made larger.
* Expanding or contracting an image now expands or contracts the body.

* Regenerated yarn.lock

To avoid problems resulting from malicous changes by the dev of `colors`
2022-01-11 19:53:23 -05:00
Marek Ľach
f7e65d1dc0
Add some fallback properties for display in older browsers (#535)
* Update main.css

* Add some fallback for better rendering in older browsers

* Add some fallback for rendering in older browsers

* Add some fallback properties for older browsers

* Try to fix build for legacy browser improvements

* Update main.css
2022-01-03 15:32:37 -05:00
Dessalines
4c6713d3f2
Add nord theme. Fixes #520 (#527) 2021-12-22 10:50:55 -05:00