Skip to content

Commit

Permalink
fix: adapt agenda buttons colors to be more readable (#7210)
Browse files Browse the repository at this point in the history
Co-authored-by: NGPixel <github@ngpixel.com>
  • Loading branch information
evyncke and NGPixel committed Mar 21, 2024
1 parent cb84ad3 commit 7f2c3ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions client/agenda/Agenda.vue
Expand Up @@ -58,14 +58,17 @@
n-button(
:type='agendaStore.isTimezoneMeeting ? `primary` : `default`'
@click='setTimezone(`meeting`)'
:text-color='agendaStore.isTimezoneMeeting ? `#FFF` : null'
) Meeting
n-button(
:type='agendaStore.isTimezoneLocal ? `primary` : `default`'
@click='setTimezone(`local`)'
:text-color='agendaStore.isTimezoneLocal ? `#FFF` : null'
) Local
n-button(
:type='agendaStore.timezone === `UTC` ? `primary` : `default`'
@click='setTimezone(`UTC`)'
:text-color='agendaStore.timezone === `UTC` ? `#FFF` : null'
) UTC
n-select.agenda-timezone-ddn(
v-if='siteStore.viewport > 1250'
Expand Down
7 changes: 4 additions & 3 deletions client/agenda/AgendaQuickAccess.vue
Expand Up @@ -62,7 +62,8 @@
n-button.mt-2(
id='agenda-quickaccess-calview-btn'
block
color='#6c757d'
color='#6f42c1'
text-color='#FFF'
size='large'
strong
@click='agendaStore.$patch({ calendarShown: true })'
Expand All @@ -78,8 +79,8 @@
n-button.mt-2(
id='agenda-quickaccess-addtocal-btn'
block
secondary
color='#6c757d'
:color='siteStore.theme === `dark` ? `rgba(111, 66, 193, .3)` : `#e2d9f3`'
:text-color='siteStore.theme === `dark` ? `#e2d9f3` : `#59359a`'
size='large'
strong
)
Expand Down
5 changes: 4 additions & 1 deletion client/agenda/AgendaScheduleCalendar.vue
Expand Up @@ -11,14 +11,17 @@ n-drawer(v-model:show='isShown', placement='bottom', :height='state.drawerHeight
n-button(
:type='agendaStore.isTimezoneMeeting ? `primary` : `default`'
@click='setTimezone(`meeting`)'
:text-color='agendaStore.isTimezoneMeeting ? `#FFF` : null'
) Meeting
n-button(
:type='agendaStore.isTimezoneLocal ? `primary` : `default`'
@click='setTimezone(`local`)'
:text-color='agendaStore.isTimezoneLocal ? `#FFF` : null'
) Local
n-button(
:type='agendaStore.timezone === `UTC` ? `primary` : `default`'
@click='setTimezone(`UTC`)'
:text-color='agendaStore.timezone === `UTC` ? `#FFF` : null'
) UTC
n-divider(vertical)
n-button.me-2(
Expand All @@ -32,7 +35,7 @@ n-drawer(v-model:show='isShown', placement='bottom', :height='state.drawerHeight
n-badge.ms-2(:value='agendaStore.selectedCatSubs.length', processing)
n-button(
ghost
color='gray'
:color='siteStore.theme === `dark` ? `#e35d6a` : `gray`'
strong
@click='close'
)
Expand Down

0 comments on commit 7f2c3ed

Please sign in to comment.