mirror of
				https://codeberg.org/tacerus/teddit.git
				synced 2025-10-31 03:07:26 +01:00 
			
		
		
		
	Theme is set to "Auto" when no theme is selected.
This will make the website behave according to user's browser theme unless they specify otherwise.
This commit is contained in:
		
							parent
							
								
									8e3afb71d9
								
							
						
					
					
						commit
						8a2a1e5cd1
					
				| @ -32,7 +32,12 @@ html | ||||
|           .setting | ||||
|             label(for="theme") Theme:  | ||||
|               select(id="theme", name="theme") | ||||
|                 if(!user_preferences.theme || user_preferences.theme == '') | ||||
|                 if(!user_preferences.theme || user_preferences.theme === 'auto') | ||||
|                   option(value="auto", selected="selected") Auto | ||||
|                   option(value="") White | ||||
|                   option(value="dark") Dark | ||||
|                   option(value="sepia") Sepia | ||||
|                 if(user_preferences.theme == '') | ||||
|                   option(value="auto") Auto | ||||
|                   option(value="", selected="selected") White | ||||
|                   option(value="dark") Dark | ||||
| @ -47,11 +52,6 @@ html | ||||
|                   option(value="") White | ||||
|                   option(value="dark") Dark | ||||
|                   option(value="sepia", selected="selected") Sepia | ||||
|                 if(user_preferences.theme === 'auto') | ||||
|                   option(value="auto", selected="selected") Auto | ||||
|                   option(value="") White | ||||
|                   option(value="dark") Dark | ||||
|                   option(value="sepia") Sepia | ||||
|           .setting | ||||
|             label(for="flairs") Show flairs:  | ||||
|               if(!user_preferences.flairs || user_preferences.flairs == 'true') | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 meyagci
						meyagci