Skip to content

Commit

Permalink
Merge pull request #3279 from tloncorp/hm/tweak-icons
Browse files Browse the repository at this point in the history
app: tweak icons
  • Loading branch information
arthyn authored Feb 22, 2024
2 parents 2715429 + 14dceb4 commit c6715b8
Show file tree
Hide file tree
Showing 34 changed files with 63 additions and 169 deletions.
15 changes: 5 additions & 10 deletions apps/tlon-web/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title data-react-helmet="true">Loading...</title>
<title data-react-helmet="true">Tlon</title>
<link rel="icon" href="favicon.ico" sizes="32x32" />
<link rel="icon" href="icon.svg" sizes="any" type="image/svg+xml" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<meta name="theme-color" content="#ffffff" data-react-helmet="true" />
<link
rel="icon"
sizes="any"
type="image/svg+xml"
data-react-helmet="true"
/>
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="mask-icon" href="/mask-icon.svg" color="#FFFFFF" />
<meta name="mobile-web-app-capable" content="yes" />
</head>
<body
Expand Down
Binary file modified apps/tlon-web/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/tlon-web/public/favicon.ico
Binary file not shown.
Binary file removed apps/tlon-web/public/groups-icon-192x192.png
Binary file not shown.
Binary file removed apps/tlon-web/public/groups-icon-512x512.png
Binary file not shown.
3 changes: 0 additions & 3 deletions apps/tlon-web/public/groups.svg

This file was deleted.

Binary file modified apps/tlon-web/public/icon-192-maskable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/tlon-web/public/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/tlon-web/public/icon-512-maskable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/tlon-web/public/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions apps/tlon-web/public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/tlon-web/public/inter-italic.var.woff2
Binary file not shown.
Binary file removed apps/tlon-web/public/inter-roman.var.woff2
Binary file not shown.
35 changes: 35 additions & 0 deletions apps/tlon-web/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "Tlon",
"short_name": "Tlon",
"description": "Start, host, and cultivate communities. Own your communications, organize your resources, and share documents. Tlon is a peer-to-peer collaboration tool built on Urbit that provides a few simple basics that communities can shape into something unique to their needs.",
"start_url": "/apps/groups/",
"scope": "/apps/groups/",
"id": "/apps/groups/",
"icons": [
{
"src": "./icon-512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "./icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "./icon-512-maskable.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./icon-192-maskable.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
5 changes: 0 additions & 5 deletions apps/tlon-web/public/safari-pinned-tab.svg

This file was deleted.

Binary file removed apps/tlon-web/public/source-code-pro.woff2
Binary file not shown.
7 changes: 0 additions & 7 deletions apps/tlon-web/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
} from 'react-router-dom';

import { IS_MOCK } from '@/api';
import tlonFavicon from '@/assets/favicon.ico';
import NewChannelModal from '@/channels/NewChannel/NewChannelModal';
import ChatChannel from '@/chat/ChatChannel';
import ChatThread from '@/chat/ChatThread/ChatThread';
Expand Down Expand Up @@ -709,12 +708,6 @@ function RoutedApp() {
<Router basename={basename()}>
<Helmet>
<title>Tlon</title>
<link
rel="icon"
href={tlonFavicon}
sizes="any"
type="image/svg+xml"
/>
<meta name="theme-color" content={userThemeColor} />
</Helmet>
<AppUpdateContext.Provider value={appUpdateContextValue}>
Expand Down
Binary file removed apps/tlon-web/src/assets/android-chrome-512x512.png
Binary file not shown.
Binary file removed apps/tlon-web/src/assets/apple-touch-icon.png
Binary file not shown.
Binary file removed apps/tlon-web/src/assets/favicon.ico
Binary file not shown.
9 changes: 0 additions & 9 deletions apps/tlon-web/src/assets/groups.svg

This file was deleted.

Binary file removed apps/tlon-web/src/assets/icon-192-maskable.png
Binary file not shown.
Binary file removed apps/tlon-web/src/assets/icon-192.png
Binary file not shown.
Binary file removed apps/tlon-web/src/assets/icon-512-maskable.png
Binary file not shown.
Binary file removed apps/tlon-web/src/assets/icon-512.png
Binary file not shown.
17 changes: 0 additions & 17 deletions apps/tlon-web/src/assets/manifest.json

This file was deleted.

10 changes: 0 additions & 10 deletions apps/tlon-web/src/assets/mask-icon.svg

This file was deleted.

5 changes: 0 additions & 5 deletions apps/tlon-web/src/assets/safari-pinned-tab.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/tlon-web/src/assets/talk.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ export default {
sizes: '192x192',
type: 'image/png',
},
{
src: './icon-512-maskable.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable',
},
{
src: './icon-192-maskable.png',
sizes: '192x192',
type: 'image/png',
purpose: 'maskable',
},
],
theme_color: '#ffffff',
background_color: '#ffffff',
Expand Down
87 changes: 0 additions & 87 deletions apps/tlon-web/src/styles/fonts.css

This file was deleted.

2 changes: 0 additions & 2 deletions apps/tlon-web/src/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import './fonts';

/**
* See: https://tailwindcss.com/docs/using-with-preprocessors#using-post-css-as-your-preprocessor=
*/
Expand Down
4 changes: 0 additions & 4 deletions apps/tlon-web/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@
"type": "boxShadow"
},
"fontFamilies": {
"inter": {
"value": "Inter",
"type": "fontFamilies"
},
"source-code-pro": {
"value": "Source Code Pro",
"type": "fontFamilies"
Expand Down
2 changes: 1 addition & 1 deletion apps/tlon-web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { BuildOptions, defineConfig, loadEnv } from 'vite';
import { VitePWA } from 'vite-plugin-pwa';

import packageJson from './package.json';
import manifest from './src/assets/manifest';
import manifest from './src/manifest';

// https://vitejs.dev/config/
export default ({ mode }: { mode: string }) => {
Expand Down

0 comments on commit c6715b8

Please sign in to comment.