<commit_before># Alien Night | A dark theme for discourse

I wanna share a dark discourse theme I created for my [HWS server empyrion forum](https://forum.empyrion-homeworld.net).
It should be a combination of a dark space with the main color green and secondary color orange.

## Preview screenshots
##### Main page
![alien-night-theme--main](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--main.png)

##### Main page (mobile)
![alien-night-theme--main-mobile](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--main-mobile.png)

##### A post page
![alien-night-theme--post](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--post.png)

##### A poll page
![alien-night-theme--poll](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--poll.png)

## Installation
https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682

Basically pretty easy and straight forward:

1. Go to Admin
2. Customize
3. Themes
4. Import
5. From the web > github repro URL:
https://github.com/B-iggy/alien-night-discourse-dark-theme
6. Adjust as you wish. A Color Scheme is inclusive
7. Color Scheme:
![Color Schemes](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--colors.png)


## Additional feature: Theme Switcher
Included is a theme switcher at the top right where people can choose between a Light (default) Theme and this Dark theme.
I set a global modifier class in the html and store it in the local Storage. 
This way it is permanent and can react properly.
<commit_msg>Add mobile preview screenshot<commit_after># Alien Night | A dark theme for discourse

I wanna share a dark discourse theme I created for my [HWS server empyrion forum](https://forum.empyrion-homeworld.net).
It should be a combination of a dark space with the main color green and secondary color orange.

## Preview screenshots
##### Main page
![alien-night-theme--main](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--main.png)

##### A post page
![alien-night-theme--post](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--post.png)

##### Post page (mobile)
![alien-night-theme--main-mobile](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--main-mobile.png)

##### A poll page
![alien-night-theme--poll](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--poll.png)

## Installation
https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682

Basically pretty easy and straight forward:

1. Go to Admin
2. Customize
3. Themes
4. Import
5. From the web > github repro URL:
https://github.com/B-iggy/alien-night-discourse-dark-theme
6. Adjust as you wish. A Color Scheme is inclusive
7. Color Scheme:
![Color Schemes](https://raw.githubusercontent.com/B-iggy/alien-night-discourse-dark-theme/master/preview/alien-night-theme--colors.png)


## Additional feature: Theme Switcher
Included is a theme switcher at the top right where people can choose between a Light (default) Theme and this Dark theme.
I set a global modifier class in the html and store it in the local Storage. 
This way it is permanent and can react properly.

{'fraction_non_alphanumeric': 0.13126760563380283, 'fraction_numerical': 0.0067605633802816905, 'mean_word_length': 4.413109756097561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6658644', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1121, 'n_words': 305}