Skip to content

Commit

Permalink
refactor(prompt-action-cards): Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmartashub committed Oct 9, 2024
1 parent c767657 commit 0d6146f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 2 additions & 9 deletions src/sass/elements/_right--new-chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ main [role='presentation'] {
button.relative.flex.w-40.flex-col.rounded-2xl.border-token-border-light,
button.relative.whitespace-nowrap.rounded-2xl.border-token-border-light.text-start.align-top.shadow-xxs.transition.enabled\:hover\:bg-token-main-surface-secondary.disabled\:cursor-not-allowed {

--clr: hsla(var(--accent-hsl) / 0.1);
// --clr: hsla(var(--accent-hsl) / 0.2);
--clr: hsla(var(--accent-hsl) / 0.12);
border: 1px solid var(--clr) !important;
background-image: var(--c-bg-gradient) !important;
color: var(--c-accent) !important;
Expand All @@ -29,13 +28,7 @@ main [role='presentation'] {
}

&:hover {
background-color: var(--c-accent) !important;
color: var(--c-on-accent) !important;
transform: scale(0.97);

.text-gray-600 {
--c-subtext-2: var(--c-on-accent) !important;
}
}
}

Expand All @@ -56,7 +49,7 @@ main [role='presentation'] div.w-full:has(> form #prompt-textarea) + div.hidden
transform: scale(0.97);

.text-gray-600 {
--c-subtext-2: var(--c-accent) !important;
--c-subtext-2: currentColor;
}

svg {
Expand Down
3 changes: 1 addition & 2 deletions src/sass/elements/_right--textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ main form {
margin-top: 0.2rem;
padding: 0 !important;
border-radius: var(--br-btn-big);
background-color: hsla(var(--accent-hsl) / 0.1) !important;
background-color: hsla(var(--accent-hsl) / 0.08) !important;
backdrop-filter: blur(20px);


/* List of examples when clicked some of the cards below prompt field: "Summarize notes from a meeting", "Summarize my lease agreemen", etc */
ul > li > button {
background: transparent !important;
Expand Down

0 comments on commit 0d6146f

Please sign in to comment.