forked from Shinonome/dots-hyprland
ags: sync
This commit is contained in:
@@ -18,9 +18,9 @@ $onErrorContainer: #e2e2e2;
|
|||||||
$colorbarbg: #000000;
|
$colorbarbg: #000000;
|
||||||
$background: #000000;
|
$background: #000000;
|
||||||
$onBackground: #e2e2e2;
|
$onBackground: #e2e2e2;
|
||||||
$surface: #000000;
|
$surface: #161616;
|
||||||
$onSurface: #e2e2e2;
|
$onSurface: #e2e2e2;
|
||||||
$surfaceVariant: #202020;
|
$surfaceVariant: #242424;
|
||||||
$onSurfaceVariant: #e2e2e2;
|
$onSurfaceVariant: #e2e2e2;
|
||||||
$outline: #a1a1a1;
|
$outline: #a1a1a1;
|
||||||
$shadow: #000000;
|
$shadow: #000000;
|
||||||
|
|||||||
@@ -87,9 +87,9 @@
|
|||||||
"BLACK_500": "#393634",
|
"BLACK_500": "#393634",
|
||||||
"BLACK_700": "#33302F",
|
"BLACK_700": "#33302F",
|
||||||
"BLACK_900": "#2B2928",
|
"BLACK_900": "#2B2928",
|
||||||
"accent_bg_color": "#51d7ef",
|
"accent_bg_color": "#e4b5ff",
|
||||||
"accent_fg_color": "#00363f",
|
"accent_fg_color": "#471868",
|
||||||
"accent_color": "#51d7ef",
|
"accent_color": "#e4b5ff",
|
||||||
"destructive_bg_color": "#ffb4a9",
|
"destructive_bg_color": "#ffb4a9",
|
||||||
"destructive_fg_color": "#680003",
|
"destructive_fg_color": "#680003",
|
||||||
"destructive_color": "#ffb4a9",
|
"destructive_color": "#ffb4a9",
|
||||||
@@ -99,22 +99,22 @@
|
|||||||
"warning_fg_color": "rgba(0, 0, 0, 0.87)",
|
"warning_fg_color": "rgba(0, 0, 0, 0.87)",
|
||||||
"error_bg_color": "#ffb4a9",
|
"error_bg_color": "#ffb4a9",
|
||||||
"error_fg_color": "#680003",
|
"error_fg_color": "#680003",
|
||||||
"window_bg_color": "#0F1011",
|
"window_bg_color": "#111012",
|
||||||
"window_fg_color": "#e1e3e4",
|
"window_fg_color": "#e7e0e5",
|
||||||
"view_bg_color": "#191c1d",
|
"view_bg_color": "#1d1b1e",
|
||||||
"view_fg_color": "#e1e3e4",
|
"view_fg_color": "#e7e0e5",
|
||||||
"headerbar_bg_color": "mix(@dialog_bg_color, @window_bg_color, 0.5)",
|
"headerbar_bg_color": "mix(@dialog_bg_color, @window_bg_color, 0.5)",
|
||||||
"headerbar_fg_color": "#cde7ed",
|
"headerbar_fg_color": "#eedcf5",
|
||||||
"headerbar_border_color": "#334a4f",
|
"headerbar_border_color": "#4f4256",
|
||||||
"headerbar_backdrop_color": "@headerbar_bg_color",
|
"headerbar_backdrop_color": "@headerbar_bg_color",
|
||||||
"headerbar_shade_color": "rgba(0, 0, 0, 0.09)",
|
"headerbar_shade_color": "rgba(0, 0, 0, 0.09)",
|
||||||
"card_bg_color": "#0F1011",
|
"card_bg_color": "#111012",
|
||||||
"card_fg_color": "#cde7ed",
|
"card_fg_color": "#eedcf5",
|
||||||
"card_shade_color": "rgba(0, 0, 0, 0.09)",
|
"card_shade_color": "rgba(0, 0, 0, 0.09)",
|
||||||
"dialog_bg_color": "#334a4f",
|
"dialog_bg_color": "#4f4256",
|
||||||
"dialog_fg_color": "#cde7ed",
|
"dialog_fg_color": "#eedcf5",
|
||||||
"popover_bg_color": "#334a4f",
|
"popover_bg_color": "#4f4256",
|
||||||
"popover_fg_color": "#cde7ed",
|
"popover_fg_color": "#eedcf5",
|
||||||
"thumbnail_bg_color": "#1a1b26",
|
"thumbnail_bg_color": "#1a1b26",
|
||||||
"thumbnail_fg_color": "#AEE5FA",
|
"thumbnail_fg_color": "#AEE5FA",
|
||||||
"shade_color": "rgba(0, 0, 0, 0.36)",
|
"shade_color": "rgba(0, 0, 0, 0.36)",
|
||||||
|
|||||||
@@ -26,13 +26,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip {
|
|
||||||
animation-name: appear;
|
|
||||||
animation-duration: 100ms;
|
|
||||||
animation-timing-function: ease-out;
|
|
||||||
animation-iteration-count: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
menu {
|
menu {
|
||||||
@include elevation-border-softer;
|
@include elevation-border-softer;
|
||||||
padding: 0.681rem;
|
padding: 0.681rem;
|
||||||
@@ -90,6 +83,10 @@ radio:checked {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
|
animation-name: appear;
|
||||||
|
animation-duration: 100ms;
|
||||||
|
animation-timing-function: ease-out;
|
||||||
|
animation-iteration-count: 1;
|
||||||
@include normal-rounding;
|
@include normal-rounding;
|
||||||
background-color: $surfaceVariant;
|
background-color: $surfaceVariant;
|
||||||
color: $onSurfaceVariant;
|
color: $onSurfaceVariant;
|
||||||
|
|||||||
@@ -1,29 +1,29 @@
|
|||||||
$darkmode: true;
|
$darkmode: true;
|
||||||
$primary: #51d7ef;
|
$primary: #e4b5ff;
|
||||||
$onPrimary: #00363f;
|
$onPrimary: #471868;
|
||||||
$primaryContainer: #004e5a;
|
$primaryContainer: #5f3280;
|
||||||
$onPrimaryContainer: #9cefff;
|
$onPrimaryContainer: #f4d9ff;
|
||||||
$secondary: #b1cbd1;
|
$secondary: #d2c1d9;
|
||||||
$onSecondary: #1c3439;
|
$onSecondary: #372c3e;
|
||||||
$secondaryContainer: #334a4f;
|
$secondaryContainer: #4f4256;
|
||||||
$onSecondaryContainer: #cde7ed;
|
$onSecondaryContainer: #eedcf5;
|
||||||
$tertiary: #bcc5ea;
|
$tertiary: #f4b7ba;
|
||||||
$onTertiary: #262f4d;
|
$onTertiary: #4b2528;
|
||||||
$tertiaryContainer: #3d4665;
|
$tertiaryContainer: #663b3e;
|
||||||
$onTertiaryContainer: #dae1ff;
|
$onTertiaryContainer: #ffdadc;
|
||||||
$error: #ffb4a9;
|
$error: #ffb4a9;
|
||||||
$onError: #680003;
|
$onError: #680003;
|
||||||
$errorContainer: #930006;
|
$errorContainer: #930006;
|
||||||
$onErrorContainer: #ffb4a9;
|
$onErrorContainer: #ffb4a9;
|
||||||
$colorbarbg: #0F1011;
|
$colorbarbg: #111012;
|
||||||
$background: #0F1011;
|
$background: #111012;
|
||||||
$onBackground: #e1e3e4;
|
$onBackground: #e7e0e5;
|
||||||
$surface: #191c1d;
|
$surface: #1d1b1e;
|
||||||
$onSurface: #e1e3e4;
|
$onSurface: #e7e0e5;
|
||||||
$surfaceVariant: #3f484a;
|
$surfaceVariant: #4b454d;
|
||||||
$onSurfaceVariant: #bfc8ca;
|
$onSurfaceVariant: #cdc3ce;
|
||||||
$outline: #899294;
|
$outline: #968e98;
|
||||||
$shadow: #000000;
|
$shadow: #000000;
|
||||||
$inverseSurface: #e1e3e4;
|
$inverseSurface: #e7e0e5;
|
||||||
$inverseOnSurface: #2d3132;
|
$inverseOnSurface: #322f33;
|
||||||
$inversePrimary: #006877;
|
$inversePrimary: #784a9a;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
$sidebar_chat_textboxareaColor: mix($onSurfaceVariant, $surfaceVariant, 40%);
|
$sidebar_chat_textboxareaColor: mix($onSurfaceVariant, $surfaceVariant, 40%);
|
||||||
|
$textboxColor: mix($surface, $surfaceVariant, 80%);
|
||||||
$system: $secondary;
|
$system: $secondary;
|
||||||
$onSystem: $onSecondary;
|
$onSystem: $onSecondary;
|
||||||
$chatgpt: $primary;
|
$chatgpt: $primary;
|
||||||
@@ -510,7 +511,8 @@ $onChatgpt: $onPrimary;
|
|||||||
|
|
||||||
.sidebar-chat-textarea {
|
.sidebar-chat-textarea {
|
||||||
@include normal-rounding;
|
@include normal-rounding;
|
||||||
border: 0.068rem solid $sidebar_chat_textboxareaColor;
|
background-color: $textboxColor;
|
||||||
|
color: $onSurfaceVariant;
|
||||||
padding: 0.682rem;
|
padding: 0.682rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -526,20 +528,15 @@ $onChatgpt: $onPrimary;
|
|||||||
min-width: 1.705rem;
|
min-width: 1.705rem;
|
||||||
min-height: 1.705rem;
|
min-height: 1.705rem;
|
||||||
border-radius: $rounding_medium - 0.681rem;
|
border-radius: $rounding_medium - 0.681rem;
|
||||||
background-color: $sidebar_chat_textboxareaColor;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-chat-send:hover,
|
.sidebar-chat-send:hover,
|
||||||
.sidebar-chat-send:focus {
|
.sidebar-chat-send:focus {
|
||||||
background-color: mix($sidebar_chat_textboxareaColor,
|
background-color: $surfaceVariant;
|
||||||
$t_onSecondaryContainer,
|
|
||||||
97%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-chat-send:active {
|
.sidebar-chat-send:active {
|
||||||
background-color: mix($sidebar_chat_textboxareaColor,
|
background-color: mix($surfaceVariant, $onBackground, 80%);
|
||||||
$t_onSecondaryContainer,
|
|
||||||
80%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-chat-send-available {
|
.sidebar-chat-send-available {
|
||||||
@@ -679,7 +676,8 @@ $onChatgpt: $onPrimary;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-chat-chip-action {
|
.sidebar-chat-chip-action {
|
||||||
border: 0.068rem solid $sidebar_chat_textboxareaColor;
|
background-color: $textboxColor;
|
||||||
|
color: $onSurfaceVariant;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-chat-chip-action:hover,
|
.sidebar-chat-chip-action:hover,
|
||||||
@@ -700,7 +698,7 @@ $onChatgpt: $onPrimary;
|
|||||||
@include menu_decel;
|
@include menu_decel;
|
||||||
@include small-rounding;
|
@include small-rounding;
|
||||||
padding: 0.341rem 0.477rem;
|
padding: 0.341rem 0.477rem;
|
||||||
background-color: $t_surfaceVariant;
|
background-color: $textboxColor;
|
||||||
color: $onSurfaceVariant;
|
color: $onSurfaceVariant;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
* {
|
* {
|
||||||
all: unset;
|
all: unset;
|
||||||
}
|
}
|
||||||
|
// *:not(tooltip) { all: unset; }
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
@import './material'; // Material colors
|
@import './material'; // Material colors
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { fileExists } from './messages.js';
|
|||||||
const initMessages =
|
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: "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: "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: "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%", },
|
{ role: "user", content: "raise volume by 5%", },
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { fileExists } from './messages.js';
|
|||||||
const initMessages =
|
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: "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: "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: "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%" }], },
|
{ role: "user", parts: [{ text: "raise volume by 5%" }], },
|
||||||
|
|||||||
+360
-356
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user