Minor style tweaks

This commit is contained in:
Gregory Schier
2023-03-02 16:16:41 -08:00
parent 957739ba5e
commit e465b33365
21 changed files with 11 additions and 9 deletions

View File

@@ -4,12 +4,13 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "rsw build && tsc && vite build",
"build": "rsw build && vite build",
"dev": "vite",
"lint": "tsc && eslint . --ext .ts,.tsx",
"preview": "vite preview",
"tauri-dev": "concurrently -n app,rsw \"tauri dev\" \"rsw watch\"",
"tauri-build": "tauri build"
"tauri-build": "npm run build:icon && tauri build",
"build:icon": "tauri icon src-tauri/icons/icon.png"
},
"dependencies": {
"@codemirror/commands": "^6.2.1",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -21,8 +21,8 @@
}
.cm-editor .placeholder-widget {
@apply text-xs text-white bg-blue-400 py-[1px] px-1 mx-[1px] rounded border border-gray-50 cursor-pointer;
text-shadow: 0 0 0.2em black;
@apply text-xs text-white bg-blue-400 py-[1px] px-1 mx-[1px] rounded cursor-default hover:bg-blue-500;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.9);
}
.cm-editor .cm-scroller {

View File

@@ -44,13 +44,13 @@ export const myHighlightStyle = HighlightStyle.define([
},
{
tag: [t.name, t.tagName, t.angleBracket, t.docString, t.number],
color: 'hsl(var(--color-blue-500))',
color: 'hsl(var(--color-blue-600))',
},
{ tag: [t.variableName], color: '#31c434' },
{ tag: [t.bool], color: '#e864f6' },
{ tag: [t.attributeName], color: 'hsl(var(--color-violet-500))' },
{ tag: [t.attributeValue], color: 'hsl(var(--color-orange-500))' },
{ tag: [t.string], color: 'hsl(var(--color-yellow-500))' },
{ tag: [t.attributeName], color: 'hsl(var(--color-violet-600))' },
{ tag: [t.attributeValue], color: 'hsl(var(--color-orange-600))' },
{ tag: [t.string], color: 'hsl(var(--color-yellow-600))' },
{ tag: [t.keyword, t.meta, t.operator], color: '#45e8a4' },
]);

View File

@@ -30,6 +30,7 @@ html, body, #root {
:root, [data-theme="light"] {
/* Colors */
--color-white: 255 100% 100%;
--color-black: 255 0% 0%;
--color-background: var(--color-white);
--color-blue-50: 217 91% 95%;
@@ -107,7 +108,6 @@ html, body, #root {
}
[data-theme="dark"] {
--color-white: 255 100% 100%;
--color-background: 217 21% 7%;
--color-blue-900: 217 91% 95%;

View File

@@ -17,6 +17,7 @@ module.exports = {
colors: {
transparent: 'transparent',
white: 'hsl(var(--color-white) / <alpha-value>)',
black: 'hsl(var(--color-black) / <alpha-value>)',
background: 'hsl(var(--color-background) / <alpha-value>)',
gray: color('gray'),
blue: color('blue'),