Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32513511
D3557.1767118629.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
709 B
Referenced Files
None
Subscribers
None
D3557.1767118629.diff
View Options
diff --git a/web/components/button.css b/web/components/button.css
--- a/web/components/button.css
+++ b/web/components/button.css
@@ -13,6 +13,12 @@
.primary {
background: var(--btn-bg-primary);
color: var(--fg);
+ transition: 200ms;
+}
+
+.primary:hover {
+ background-color: var(--btn-bg-primary-hover);
+ transition: 200ms;
}
.secondary {
diff --git a/web/theme.css b/web/theme.css
--- a/web/theme.css
+++ b/web/theme.css
@@ -61,6 +61,7 @@
/* Color Theme */
--btn-bg-primary: var(--violet-dark-100);
+ --btn-bg-primary-hover: var(--violet-dark-80);
--btn-bg-danger: var(--error-primary);
--chat-bg: var(--violet-dark-80);
--chat-confirmation-icon: var(--violet-dark-100);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 6:17 PM (13 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5868730
Default Alt Text
D3557.1767118629.diff (709 B)
Attached To
Mode
D3557: [web] Change `Button` component color on hover
Attached
Detach File
Event Timeline
Log In to Comment