ags: sync

This commit is contained in:
end-4 2024-01-26 21:37:49 +07:00
parent dfa61c05f8
commit e0b5f17f39
9 changed files with 415 additions and 415 deletions

View file

@ -18,9 +18,9 @@ $onErrorContainer: #e2e2e2;
$colorbarbg: #000000;
$background: #000000;
$onBackground: #e2e2e2;
$surface: #000000;
$surface: #161616;
$onSurface: #e2e2e2;
$surfaceVariant: #202020;
$surfaceVariant: #242424;
$onSurfaceVariant: #e2e2e2;
$outline: #a1a1a1;
$shadow: #000000;

View file

@ -87,9 +87,9 @@
"BLACK_500": "#393634",
"BLACK_700": "#33302F",
"BLACK_900": "#2B2928",
"accent_bg_color": "#51d7ef",
"accent_fg_color": "#00363f",
"accent_color": "#51d7ef",
"accent_bg_color": "#e4b5ff",
"accent_fg_color": "#471868",
"accent_color": "#e4b5ff",
"destructive_bg_color": "#ffb4a9",
"destructive_fg_color": "#680003",
"destructive_color": "#ffb4a9",
@ -99,22 +99,22 @@
"warning_fg_color": "rgba(0, 0, 0, 0.87)",
"error_bg_color": "#ffb4a9",
"error_fg_color": "#680003",
"window_bg_color": "#0F1011",
"window_fg_color": "#e1e3e4",
"view_bg_color": "#191c1d",
"view_fg_color": "#e1e3e4",
"window_bg_color": "#111012",
"window_fg_color": "#e7e0e5",
"view_bg_color": "#1d1b1e",
"view_fg_color": "#e7e0e5",
"headerbar_bg_color": "mix(@dialog_bg_color, @window_bg_color, 0.5)",
"headerbar_fg_color": "#cde7ed",
"headerbar_border_color": "#334a4f",
"headerbar_fg_color": "#eedcf5",
"headerbar_border_color": "#4f4256",
"headerbar_backdrop_color": "@headerbar_bg_color",
"headerbar_shade_color": "rgba(0, 0, 0, 0.09)",
"card_bg_color": "#0F1011",
"card_fg_color": "#cde7ed",
"card_bg_color": "#111012",
"card_fg_color": "#eedcf5",
"card_shade_color": "rgba(0, 0, 0, 0.09)",
"dialog_bg_color": "#334a4f",
"dialog_fg_color": "#cde7ed",
"popover_bg_color": "#334a4f",
"popover_fg_color": "#cde7ed",
"dialog_bg_color": "#4f4256",
"dialog_fg_color": "#eedcf5",
"popover_bg_color": "#4f4256",
"popover_fg_color": "#eedcf5",
"thumbnail_bg_color": "#1a1b26",
"thumbnail_fg_color": "#AEE5FA",
"shade_color": "rgba(0, 0, 0, 0.36)",

View file

@ -26,13 +26,6 @@
}
}
tooltip {
animation-name: appear;
animation-duration: 100ms;
animation-timing-function: ease-out;
animation-iteration-count: 1;
}
menu {
@include elevation-border-softer;
padding: 0.681rem;
@ -90,6 +83,10 @@ radio:checked {
}
tooltip {
animation-name: appear;
animation-duration: 100ms;
animation-timing-function: ease-out;
animation-iteration-count: 1;
@include normal-rounding;
background-color: $surfaceVariant;
color: $onSurfaceVariant;

View file

@ -1,29 +1,29 @@
$darkmode: true;
$primary: #51d7ef;
$onPrimary: #00363f;
$primaryContainer: #004e5a;
$onPrimaryContainer: #9cefff;
$secondary: #b1cbd1;
$onSecondary: #1c3439;
$secondaryContainer: #334a4f;
$onSecondaryContainer: #cde7ed;
$tertiary: #bcc5ea;
$onTertiary: #262f4d;
$tertiaryContainer: #3d4665;
$onTertiaryContainer: #dae1ff;
$primary: #e4b5ff;
$onPrimary: #471868;
$primaryContainer: #5f3280;
$onPrimaryContainer: #f4d9ff;
$secondary: #d2c1d9;
$onSecondary: #372c3e;
$secondaryContainer: #4f4256;
$onSecondaryContainer: #eedcf5;
$tertiary: #f4b7ba;
$onTertiary: #4b2528;
$tertiaryContainer: #663b3e;
$onTertiaryContainer: #ffdadc;
$error: #ffb4a9;
$onError: #680003;
$errorContainer: #930006;
$onErrorContainer: #ffb4a9;
$colorbarbg: #0F1011;
$background: #0F1011;
$onBackground: #e1e3e4;
$surface: #191c1d;
$onSurface: #e1e3e4;
$surfaceVariant: #3f484a;
$onSurfaceVariant: #bfc8ca;
$outline: #899294;
$colorbarbg: #111012;
$background: #111012;
$onBackground: #e7e0e5;
$surface: #1d1b1e;
$onSurface: #e7e0e5;
$surfaceVariant: #4b454d;
$onSurfaceVariant: #cdc3ce;
$outline: #968e98;
$shadow: #000000;
$inverseSurface: #e1e3e4;
$inverseOnSurface: #2d3132;
$inversePrimary: #006877;
$inverseSurface: #e7e0e5;
$inverseOnSurface: #322f33;
$inversePrimary: #784a9a;

View file

@ -1,4 +1,5 @@
$sidebar_chat_textboxareaColor: mix($onSurfaceVariant, $surfaceVariant, 40%);
$textboxColor: mix($surface, $surfaceVariant, 80%);
$system: $secondary;
$onSystem: $onSecondary;
$chatgpt: $primary;
@ -510,7 +511,8 @@ $onChatgpt: $onPrimary;
.sidebar-chat-textarea {
@include normal-rounding;
border: 0.068rem solid $sidebar_chat_textboxareaColor;
background-color: $textboxColor;
color: $onSurfaceVariant;
padding: 0.682rem;
}
@ -526,20 +528,15 @@ $onChatgpt: $onPrimary;
min-width: 1.705rem;
min-height: 1.705rem;
border-radius: $rounding_medium - 0.681rem;
background-color: $sidebar_chat_textboxareaColor;
}
.sidebar-chat-send:hover,
.sidebar-chat-send:focus {
background-color: mix($sidebar_chat_textboxareaColor,
$t_onSecondaryContainer,
97%);
background-color: $surfaceVariant;
}
.sidebar-chat-send:active {
background-color: mix($sidebar_chat_textboxareaColor,
$t_onSecondaryContainer,
80%);
background-color: mix($surfaceVariant, $onBackground, 80%);
}
.sidebar-chat-send-available {
@ -679,7 +676,8 @@ $onChatgpt: $onPrimary;
}
.sidebar-chat-chip-action {
border: 0.068rem solid $sidebar_chat_textboxareaColor;
background-color: $textboxColor;
color: $onSurfaceVariant;
}
.sidebar-chat-chip-action:hover,
@ -700,7 +698,7 @@ $onChatgpt: $onPrimary;
@include menu_decel;
@include small-rounding;
padding: 0.341rem 0.477rem;
background-color: $t_surfaceVariant;
background-color: $textboxColor;
color: $onSurfaceVariant;
}

View file

@ -2,6 +2,7 @@
* {
all: unset;
}
// *:not(tooltip) { all: unset; }
// Colors
@import './material'; // Material colors

View file

@ -10,7 +10,7 @@ import { fileExists } from './messages.js';
const initMessages =
[
{ role: "user", content: "You are an assistant on a sidebar of a Wayland Linux desktop. Please always use a casual tone when answering your questions, unless requested otherwise or making writing suggestions. These are the steps you should take to respond to the user's queries:\n1. If it's a writing- or grammar-related question or a sentence in quotation marks, Please point out errors and correct when necessary using underlines, and make the writing more natural where appropriate without making too major changes. If you're given a sentence in quotes but is grammatically correct, explain briefly concepts that are uncommon.\n2. If it's a question about system tasks, give a bash command in a code block with very brief explanation for each command\n3. Otherwise, when asked to summarize information or explaining concepts, you are encouraged to use bullet points and headings. Use casual language and be short and concise. \nThanks!", },
{ role: "assistant", content: "- Alright!", },
{ role: "assistant", content: "- Got it!", },
{ role: "user", content: "\"He rushed to where the event was supposed to be hold, he didn't know it got calceled\"", },
{ role: "assistant", content: "## Grammar correction\nErrors:\n\"He rushed to where the event was supposed to be __hold____,__ he didn't know it got calceled\"\nCorrection + minor improvements:\n\"He rushed to the place where the event was supposed to be __held____, but__ he didn't know that it got calceled\"", },
{ role: "user", content: "raise volume by 5%", },

View file

@ -9,7 +9,7 @@ import { fileExists } from './messages.js';
const initMessages =
[
{ role: "user", parts: [{ text: "You are an assistant on a sidebar of a Wayland Linux desktop. Please always use a casual tone when answering your questions, unless requested otherwise or making writing suggestions. These are the steps you should take to respond to the user's queries:\n1. If it's a writing- or grammar-related question or a sentence in quotation marks, Please point out errors and correct when necessary using underlines, and make the writing more natural where appropriate without making too major changes. If you're given a sentence in quotes but is grammatically correct, explain briefly concepts that are uncommon.\n2. If it's a question about system tasks, give a bash command in a code block with very brief explanation for each command\n3. Otherwise, when asked to summarize information or explaining concepts, you are encouraged to use bullet points and headings. Use casual language and be short and concise. \nThanks!" }], },
{ role: "model", parts: [{ text: "- Alright!" }], },
{ role: "model", parts: [{ text: "- Got it!" }], },
{ role: "user", parts: [{ text: "\"He rushed to where the event was supposed to be hold, he didn't know it got calceled\"" }], },
{ role: "model", parts: [{ text: "## Grammar correction\nErrors:\n\"He rushed to where the event was supposed to be __hold____,__ he didn't know it got calceled\"\nCorrection + minor improvements:\n\"He rushed to the place where the event was supposed to be __held____, but__ he didn't know that it got calceled\"" }], },
{ role: "user", parts: [{ text: "raise volume by 5%" }], },

File diff suppressed because it is too large Load diff