1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 02:12:38 +01:00
This commit is contained in:
Puyodead1 2023-03-30 11:02:35 -04:00
parent 1d8e155e74
commit 333ba01c4d
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
8 changed files with 28 additions and 23 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "fosscord-client-react",
"name": "spacebar-client-react",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "fosscord-client-react",
"name": "spacebar-client-react",
"version": "0.1.0",
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",

View File

@ -1,5 +1,5 @@
{
"name": "fosscord-client-react",
"name": "spacebar-client-react",
"version": "0.1.0",
"private": true,
"dependencies": {

View File

@ -11,7 +11,7 @@
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Fosscord</title>
<title>Spacebar</title>
<style>
html,

View File

@ -1,6 +1,6 @@
{
"short_name": "Fosscord",
"name": "Fosscord",
"short_name": "Spacebar",
"name": "Spacebar",
"icons": [
{
"src": "favicon.ico",

View File

@ -1,10 +0,0 @@
<svg width="1148" height="1148" viewBox="0 0 1148 1148" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="1148" height="1148" rx="340" fill="url(#paint0_linear_6_79)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M285 283L862 283.003C862.022 322.978 857.961 362.849 849.881 401.987C803.291 627.415 627.023 804.889 403.157 851.801C364.29 859.935 324.697 864.023 285 864V283ZM403.157 630.815V742.76C557.555 683.015 679.971 558.361 737.447 401.983H403.157V507.046H560.653C517.925 554.691 467.668 594.894 411.915 626.03C409.017 627.648 406.097 629.243 403.157 630.815Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_6_79" x1="574" y1="0" x2="574" y2="1148" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF5F00"/>
<stop offset="1" stop-color="#FF3D00"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 813 B

View File

@ -0,0 +1,11 @@
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_2)">
<path d="M0 151.638C0 67.8905 67.8905 0 151.638 0H360.362C444.11 0 512 67.8905 512 151.638V360.362C512 444.11 444.11 512 360.362 512H151.638C67.8905 512 0 444.11 0 360.362V151.638Z" fill="#0185FF"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M419.395 296.205C424.003 317.631 418.678 339.993 404.912 357.042C391.143 374.092 370.407 384 348.497 384H163.949C142.039 384 121.303 374.092 107.536 357.042C93.7677 339.993 88.4431 317.631 93.0509 296.205L125.547 145.08C127.06 138.042 131.891 132.176 138.508 129.344C145.124 126.511 152.703 127.065 158.837 130.829L256.223 190.583L353.609 130.829C359.743 127.065 367.322 126.511 373.938 129.344C380.555 132.176 385.386 138.042 386.899 145.08L419.395 296.205ZM344.729 261.348C344.729 250.399 335.855 241.523 324.91 241.523H286.727C275.782 241.523 266.91 250.399 266.91 261.348V299.542C266.91 310.491 275.782 319.365 286.727 319.365H324.91C335.855 319.365 344.729 310.491 344.729 299.542V261.348ZM245.536 261.348C245.536 250.399 236.664 241.523 225.719 241.523H187.536C176.591 241.523 167.717 250.399 167.717 261.348V299.542C167.717 310.491 176.591 319.365 187.536 319.365H225.719C236.664 319.365 245.536 310.491 245.536 299.542V261.348Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_1_2">
<rect width="512" height="512" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -39,8 +39,8 @@ export type Theme = Overrides & {
export const ThemePresets: Record<string, Theme> = {
light: {
brandPrimary: "#FF5F00",
brandSecondary: "#FF3D00",
brandPrimary: "#0185ff",
brandSecondary: "#000115",
primary: "#ede8e7",
primaryAlt: "",
secondary: "#ebe5e4",
@ -66,8 +66,8 @@ export const ThemePresets: Record<string, Theme> = {
buttonWarningActive: "",
},
dark: {
brandPrimary: "#FF5F00",
brandSecondary: "#FF3D00",
brandPrimary: "#0185ff",
brandSecondary: "#000115",
primary: "#232120",
primaryAlt: "#312e2d",
secondary: "#1b1918",
@ -77,9 +77,9 @@ export const ThemePresets: Record<string, Theme> = {
inputBackground: "#121212",
error: "#e83f36",
// buttons
buttonPrimary: "#FF5F00",
buttonPrimaryHover: "#ff3d00",
buttonPrimaryActive: "#BA4500",
buttonPrimary: "#0185ff",
buttonPrimaryHover: "#0078e6",
buttonPrimaryActive: "#006acd",
buttonSecondary: "#4a4544",
buttonSecondaryHover: "#746d69",
buttonSecondaryActive: "#5f5a59",

View File

@ -16,6 +16,10 @@ export default class AppStore {
},
});
this.api.on("debug", console.debug);
this.api.on("warn", console.warn);
this.api.on("error", console.error);
makeAutoObservable(this);
}
}