Initial commit
This commit is contained in:
		
						commit
						e20bfe468e
					
				
					 13 changed files with 3161 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| root = true | ||||
| 
 | ||||
| [*] | ||||
| indent_style = space | ||||
| indent_size = 2 | ||||
| end_of_line = lf | ||||
| charset = utf-8 | ||||
| trim_trailing_whitespace = false | ||||
| insert_final_newline = true | ||||
| 
 | ||||
| [*.tmpl] | ||||
| indent_size = 4 | ||||
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| /dist | ||||
| /node_modules | ||||
							
								
								
									
										42
									
								
								Gruntfile.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								Gruntfile.js
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,42 @@ | |||
| module.exports = function (grunt) { | ||||
|   require('jit-grunt')(grunt); | ||||
| 
 | ||||
|   grunt.initConfig({ | ||||
|     less: { | ||||
|       dev: { | ||||
|         files: { | ||||
|           "dist/public/lavender-git/main.css": "src/lavender-git/main.less" | ||||
|         } | ||||
|       } | ||||
|     }, | ||||
|     copy: { | ||||
|       dev: { | ||||
|         files: [ | ||||
|           { | ||||
|             expand: true, | ||||
|             cwd: "src/public", | ||||
|             src: ["**"], | ||||
|             dest: "dist/public" | ||||
|           }, | ||||
|           { | ||||
|             expand: true, | ||||
|             cwd: "src/templates", | ||||
|             src: ["**"], | ||||
|             dest: "dist/templates" | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     }, | ||||
|     watch: { | ||||
|       styles: { | ||||
|         files: ['src/**'], | ||||
|         tasks: ['less', 'copy'], | ||||
|         options: { | ||||
|           nospawn: true | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   }); | ||||
| 
 | ||||
|   grunt.registerTask('default', ['less', 'copy', 'watch']); | ||||
| }; | ||||
							
								
								
									
										3039
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										3039
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
							
								
								
									
										15
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| { | ||||
|   "name": "gitea-theme", | ||||
|   "version": "1.0.0", | ||||
|   "description": "", | ||||
|   "scripts": {}, | ||||
|   "author": "", | ||||
|   "license": "ISC", | ||||
|   "devDependencies": { | ||||
|     "grunt": "^1.4.1", | ||||
|     "grunt-contrib-copy": "^1.0.0", | ||||
|     "grunt-contrib-less": "^3.0.0", | ||||
|     "grunt-contrib-watch": "^1.1.0", | ||||
|     "jit-grunt": "^0.10.0" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										39
									
								
								src/lavender-git/main.less
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								src/lavender-git/main.less
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| @primary: #a272c4; | ||||
| 
 | ||||
| :root { | ||||
|   --color-primary: @primary !important; | ||||
|    | ||||
|   --color-primary-dark-1: darken(@primary, 5%) !important; | ||||
|   --color-primary-dark-2: darken(@primary, 10%) !important; | ||||
|   --color-primary-dark-3: darken(@primary, 15%) !important; | ||||
|   --color-primary-dark-4: darken(@primary, 20%) !important; | ||||
|   --color-primary-dark-5: darken(@primary, 25%) !important; | ||||
|   --color-primary-dark-6: darken(@primary, 30%) !important; | ||||
|   --color-primary-dark-7: darken(@primary, 35%) !important; | ||||
| 
 | ||||
|   --color-primary-light-1: lighten(@primary, 5%) !important; | ||||
|   --color-primary-light-2: lighten(@primary, 10%) !important; | ||||
|   --color-primary-light-3: lighten(@primary, 15%) !important; | ||||
|   --color-primary-light-4: lighten(@primary, 20%) !important; | ||||
|   --color-primary-light-5: lighten(@primary, 25%) !important; | ||||
|   --color-primary-light-6: lighten(@primary, 30%) !important; | ||||
|   --color-primary-light-7: lighten(@primary, 35%) !important; | ||||
| 
 | ||||
|   --color-primary-alpha-10: fadeout(@primary, 10%) !important; | ||||
|   --color-primary-alpha-20: fadeout(@primary, 20%) !important; | ||||
|   --color-primary-alpha-30: fadeout(@primary, 30%) !important; | ||||
|   --color-primary-alpha-40: fadeout(@primary, 40%) !important; | ||||
|   --color-primary-alpha-50: fadeout(@primary, 50%) !important; | ||||
|   --color-primary-alpha-60: fadeout(@primary, 60%) !important; | ||||
|   --color-primary-alpha-70: fadeout(@primary, 70%) !important; | ||||
|   --color-primary-alpha-80: fadeout(@primary, 80%) !important; | ||||
|   --color-primary-alpha-90: fadeout(@primary, 90%) !important; | ||||
| } | ||||
| 
 | ||||
| .ui.green.button { | ||||
|   background-color: var(--color-primary); | ||||
| } | ||||
| 
 | ||||
| .ui.green.button:hover, .ui.green.button:focus { | ||||
|   background-color: var(--color-primary-dark-2); | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								src/public/img/apple-touch-icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/public/img/apple-touch-icon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/public/img/avatar_default.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/public/img/avatar_default.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/public/img/favicon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/public/img/favicon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/public/img/logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/public/img/logo.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										1
									
								
								src/public/img/logo.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/public/img/logo.svg
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" style="enable-background:new 0 0 640 640" xml:space="preserve" width="32" height="32"><path style="fill:#fff" d="m395.9 484.2-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5 21.2-17.9 33.8-11.8 17.2 8.3 27.1 13 27.1 13l-.1-109.2 16.7-.1.1 117.1s57.4 24.2 83.1 40.1c3.7 2.3 10.2 6.8 12.9 14.4 2.1 6.1 2 13.1-1 19.3l-61 126.9c-6.2 12.7-21.4 18.1-33.9 12z"/><path style="fill:#b57edc" d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"/><path style="fill:#b57edc" d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"/></svg> | ||||
| After Width: | Height: | Size: 2.2 KiB | 
							
								
								
									
										1
									
								
								src/templates/custom/header.tmpl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/templates/custom/header.tmpl
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| <link rel="stylesheet" href="/lavender-git/main.css"> | ||||
							
								
								
									
										10
									
								
								src/templates/home.tmpl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/templates/home.tmpl
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| {{template "base/head" .}} | ||||
| <div style="margin-top: 2em"> | ||||
|     <div class="ui stackable middle very relaxed page grid"> | ||||
|         <div class="centered column"> | ||||
|             <h1>lavender git</h1> | ||||
|             <p>git, but purple :)</p> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| {{template "base/footer" .}} | ||||
		Loading…
	
		Reference in a new issue