The official web app for lemmy.
Go to file
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
.github Updated link to lemmy-repo as direct link to issues 2023-06-19 14:28:46 +02:00
.husky Extra lints (#192) 2021-02-21 21:24:09 -05:00
lemmy-translations@7fc71d0860 Updating translations. 2023-06-19 11:52:00 -04:00
src feat: Bootstrap 5 (#1378) 2023-06-20 08:01:29 -04:00
.babelrc Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
.eslintignore Merge branch 'main' into nicer-error-hnadling 2023-05-23 23:07:23 +00:00
.eslintrc.json feat(a11y): Add eslint-plugin-jsx-a11y 2023-06-17 15:46:51 -04:00
.gitignore Partly functioning fuse-box, but moving te webpack now. 2020-09-06 11:15:25 -05:00
.gitmodules Test submodules (#6) 2020-09-10 15:22:21 -04:00
.prettierignore fix: Prettier ignore generated themes, as they aren't written by humans 2023-06-18 12:03:12 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Use http client (#1081) 2023-06-14 08:20:40 -04:00
accessibility_tests.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
CONTRIBUTING.md Fix CONTRIBUTING link 2023-06-02 22:25:40 -07:00
deploy.sh Use http client (#1081) 2023-06-14 08:20:40 -04:00
dev.dockerfile hardcoded node version due to bug "Text file busy" error introduced in node 20.3 (#1320) 2023-06-16 11:45:36 -04:00
Dockerfile hardcoded node version due to bug "Text file busy" error introduced in node 20.3 (#1320) 2023-06-16 11:45:36 -04:00
generate_translations.js I18 quality of life change (#973) 2023-04-03 09:28:56 -04:00
LICENSE Adding prettier 2020-08-23 00:04:58 -04:00
package.json feat: Bootstrap 5 (#1378) 2023-06-20 08:01:29 -04:00
README.md Use http client (#1081) 2023-06-14 08:20:40 -04:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Lint fix (#1035) 2023-05-23 18:55:36 -04:00
update_translations.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
webpack.config.js Use http client (#1081) 2023-06-14 08:20:40 -04:00
yarn.lock feat: Bootstrap 5 (#1378) 2023-06-20 08:01:29 -04:00

Lemmy-UI

The official web app for Lemmy, written in inferno.

Based off of MrFoxPro's inferno-isomorphic-template.

Configuration

The following environment variables can be used to configure lemmy-ui:

ENV_VAR type default description
LEMMY_UI_HOST string 0.0.0.0:1234 The IP / port that the lemmy-ui isomorphic node server is hosted at.
LEMMY_UI_LEMMY_INTERNAL_HOST string 0.0.0.0:8536 The internal IP / port that lemmy is hosted at. Often lemmy:8536 if using docker.
LEMMY_UI_LEMMY_EXTERNAL_HOST string 0.0.0.0:8536 The external IP / port that lemmy is hosted at. Often DOMAIN.TLD.
LEMMY_UI_HTTPS bool false Whether to use https.
LEMMY_UI_EXTRA_THEMES_FOLDER string ./extra_themes A location for additional lemmy css themes.
LEMMY_UI_DEBUG bool false Loads the Eruda debugging utility.
LEMMY_UI_DISABLE_CSP bool false Disables CSP security headers
LEMMY_UI_CUSTOM_HTML_HEADER string Injects a custom script into <head>.