You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-23Lines changed: 14 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,9 @@
1
+

2
+

3
+
1
4
# Chat-App
2
5
A real time chat application done with tauri and react with a firebase backend
3
6
4
-
# Note
5
-
This branch is done with tauri. The old version which is done with electron is accessible here: https://github.com/waveyboym/Chat-App/tree/read-only-old-version.
6
-
The old version will no longer receive updates and/or fixes. I'm just putting it up in case anyone might want to have access to it.
Executables for windows and linux is available <ahref="https://github.com/waveyboym/Chat-App/releases">here</a> \
18
9
Executable for MacOS will be coming soon...
@@ -80,7 +71,7 @@ service cloud.firestore {
80
71
3. For a non-frameless window, open <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src-tauri/tauri-noframe.txt">tauri-noframe.txt</a> and select, copy and paste everything into <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src-tauri/tauri.conf.json">tauri.conf.json</a>
81
72
82
73
# Adding more colour themes
83
-
1. To add another colour theme, first go to <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src/components/sub_components/Themes.tsx">Themes.tsx</a> and go to line 155 and copy and paste the code above it; it looks like this :
74
+
1. To add another colour theme, first go to <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src/components/sub_components/Themes.tsx">Themes.tsx</a> and go to a line after the last "theme-selector" div and paste the following replacing "light-yellow-col | dark-yellow-col" and "lyellow | dyellow" with the name of your colour and the text in between h3 tags with the name of your colour to display:
84
75
```
85
76
<div className="theme-selector">
86
77
<motion.div
@@ -93,24 +84,24 @@ service cloud.firestore {
93
84
<h3>Light yellow theme</h3>
94
85
</div>
95
86
```
96
-
1. Change the parameters to suite your needs for the colour you want to create.
97
-
2. Go to <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src/App.tsx">App.tsx</a> and at line 28 add the colour name of your colour, eg "lgreen" was chosen above, so lyellow would be added as another colourtheme to compare:
1. Do the same thing as above at line 33 in the same file
100
87
2. Go to <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src/styles/Settings.scss">Settings.scss</a> and at line 448 add the class name of the theme-selector you created and it's corresponding colour, eg ```#light-yellow-col{background: #f8e962;}```
101
-
3. Go to <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src/styles/_constantMixins.scss">_constantMixins.scss</a> and depending on whether or not the colour you created is a darker or lighter colour, copy all the code in root, that is line 1 to 14 or line 16 to 29 and paste it at line 131.
102
-
4. Name ```[data-theme='dgreen']``` with the name of your colour, eg ```[data-theme='lyellow']```. Make sure this matches otherwise the colours won't reflect when you change the theme.
103
-
5. Change the three variables, \
88
+
3. Go to <ahref="https://github.com/waveyboym/Chat-App/blob/main/Fiddle%20Chat%20App/src/styles/_constantMixins.scss">_constantMixins.scss</a>
89
+
4. If you colour is a dark colour, copy a block that has a colour starting with such as ```[data-theme='dgreen']```. If is light, copy ```[data-theme='lgreen']```.
90
+
5. Name ```[data-theme='dgreen']``` with the name of your colour, eg ```[data-theme='lyellow']```. Make sure this matches otherwise the colours won't reflect when you change the theme.
91
+
6. Change the three variables, \
104
92
--root-dark-side-bar-col, \
105
93
--root-top-most-app-draggable-sec and \
106
94
--root-lighter-side-bar-col by adjusting their colours in the section of code you just copied over to suit your needs.
107
-
6. You are done and may now launch the app with ```npm run tauri dev```
95
+
96
+
# Note
97
+
This branch is done with tauri. The old version which is done with electron is accessible here: https://github.com/waveyboym/Chat-App/tree/read-only-old-version.
98
+
The old version will no longer receive updates and/or fixes. I'm just putting it up in case anyone might want to have access to it.
108
99
109
100
# TODO
110
101
-[ ] Improve load times between opening messages
111
-
-[x] Improve user interface for navigating between private messages and room messages(DONE)
102
+
-[x] Improve user interface for navigating between private messages and room message
112
103
-[x] Add support for presence detection(whether or not a user is online)
113
-
-[x] Add ability to view all friends in a separate component(DONE)
104
+
-[x] Add ability to view all friends in a separate component
0 commit comments