Skip to content

Commit

Permalink
feat: change editor font to Source Code Pro (daeuniverse#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish authored Aug 6, 2023
1 parent ead5445 commit 2c5518e
Show file tree
Hide file tree
Showing 19 changed files with 5 additions and 5,313 deletions.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">daed</h1>
<p align="center">
<img width="100" src="public/logo.svg" />
<img width="100" src="public/logo.webp" />
</p>
<p align="center">
<em>A modern web dashboard for dae</em>
Expand All @@ -17,7 +17,7 @@

## Preview

![preview](docs/preview.png)
![preview](docs/preview.webp)

## Features

Expand Down
Binary file removed docs/preview.png
Binary file not shown.
Binary file added docs/preview.webp
Binary file not shown.
5 changes: 1 addition & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="icon" type="image/png" sizes="16x16" href="/logo.webp" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
Expand Down
Binary file removed public/android-chrome-192x192.png
Binary file not shown.
Binary file removed public/android-chrome-512x512.png
Binary file not shown.
Binary file removed public/apple-touch-icon.png
Binary file not shown.
Binary file removed public/favicon-16x16.png
Binary file not shown.
Binary file removed public/favicon-32x32.png
Binary file not shown.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/logo.png
Binary file not shown.
2,642 changes: 0 additions & 2,642 deletions public/logo.svg

This file was deleted.

Binary file added public/logo.webp
Binary file not shown.
19 changes: 0 additions & 19 deletions public/site.webmanifest

This file was deleted.

Binary file removed src/assets/logo.png
Binary file not shown.
2,642 changes: 0 additions & 2,642 deletions src/assets/logo.svg

This file was deleted.

3 changes: 1 addition & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import { Link } from 'react-router-dom'
import { z } from 'zod'

import { useGeneralQuery, useRunMutation, useUpdateAvatarMutation, useUpdateNameMutation, useUserQuery } from '~/apis'
import logo from '~/assets/logo.svg'
import { i18n } from '~/i18n'
import { endpointURLAtom, tokenAtom } from '~/store'
import { fileToBase64 } from '~/utils'
Expand Down Expand Up @@ -138,7 +137,7 @@ export const HeaderWithActions = () => {
<Group spacing="sm">
<Anchor component={Link} to="/">
<Group spacing="sm">
<Image radius="sm" src={logo} width={32} height={32} />
<Image radius="sm" src="/logo.webp" width={32} height={32} />

<Title
order={matchSmallScreen ? 5 : 2}
Expand Down
2 changes: 1 addition & 1 deletion src/constants/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const EDITOR_THEME_LIGHT = 'githubLight'
export const EDITOR_OPTIONS: EditorProps['options'] = {
fontSize: 14,
fontWeight: 'bold',
fontFamily: 'monospace',
fontFamily: 'Source Code Pro',
'semanticHighlighting.enabled': true,
lineHeight: 1.6,
minimap: {
Expand Down

0 comments on commit 2c5518e

Please sign in to comment.