Skip to content

Commit 323a9b7

Browse files
committed
Display: Set background color for button hover to colors.secondary.hover in tailwind.config.js - refs BT#20895
1 parent 66723bc commit 323a9b7

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

assets/css/scss/atoms/_buttons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ $border-color_12: #9333EA;
295295

296296
// secondary button
297297
.p-button.p-button-secondary {
298-
@include filled-style('secondary', 'support-5');
298+
@include filled-style('secondary', 'secondary-hover');
299299

300300
&.p-button-outlined {
301301
@include outlined-style('secondary');
@@ -308,7 +308,7 @@ $border-color_12: #9333EA;
308308

309309
.p-buttonset.p-button-secondary {
310310
> .p-button {
311-
@include filled-style('secondary', 'support-5');
311+
@include filled-style('secondary', 'secondary-hover');
312312

313313
&.p-button-outlined {
314314
@include outlined-style('secondary');

assets/vue/layouts/MyCourses.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<template>
22
<div class="flex justify-between items-center">
33
<h2 v-t="'My Courses'" />
4-
<Button
5-
v-if="isTeacher"
6-
class="p-button-secondary md:hidden"
7-
icon="pi pi-plus"
8-
/>
94
<Button
105
v-if="isTeacher"
116
:label="t('Course')"

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = {
1818
secondary: {
1919
DEFAULT: "#f37e2f",
2020
gradient: "#e06410",
21+
hover: "#d35e0f",
2122
bgdisabled: '#e4e9ed',
2223
},
2324
gray: {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy