Skip to content

Commit 7f2c3ed

Browse files
evynckeNGPixel
andauthored
fix: adapt agenda buttons colors to be more readable (ietf-tools#7210)
Co-authored-by: NGPixel <github@ngpixel.com>
1 parent cb84ad3 commit 7f2c3ed

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

client/agenda/Agenda.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,17 @@
5858
n-button(
5959
:type='agendaStore.isTimezoneMeeting ? `primary` : `default`'
6060
@click='setTimezone(`meeting`)'
61+
:text-color='agendaStore.isTimezoneMeeting ? `#FFF` : null'
6162
) Meeting
6263
n-button(
6364
:type='agendaStore.isTimezoneLocal ? `primary` : `default`'
6465
@click='setTimezone(`local`)'
66+
:text-color='agendaStore.isTimezoneLocal ? `#FFF` : null'
6567
) Local
6668
n-button(
6769
:type='agendaStore.timezone === `UTC` ? `primary` : `default`'
6870
@click='setTimezone(`UTC`)'
71+
:text-color='agendaStore.timezone === `UTC` ? `#FFF` : null'
6972
) UTC
7073
n-select.agenda-timezone-ddn(
7174
v-if='siteStore.viewport > 1250'

client/agenda/AgendaQuickAccess.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
n-button.mt-2(
6363
id='agenda-quickaccess-calview-btn'
6464
block
65-
color='#6c757d'
65+
color='#6f42c1'
66+
text-color='#FFF'
6667
size='large'
6768
strong
6869
@click='agendaStore.$patch({ calendarShown: true })'
@@ -78,8 +79,8 @@
7879
n-button.mt-2(
7980
id='agenda-quickaccess-addtocal-btn'
8081
block
81-
secondary
82-
color='#6c757d'
82+
:color='siteStore.theme === `dark` ? `rgba(111, 66, 193, .3)` : `#e2d9f3`'
83+
:text-color='siteStore.theme === `dark` ? `#e2d9f3` : `#59359a`'
8384
size='large'
8485
strong
8586
)

client/agenda/AgendaScheduleCalendar.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ n-drawer(v-model:show='isShown', placement='bottom', :height='state.drawerHeight
1111
n-button(
1212
:type='agendaStore.isTimezoneMeeting ? `primary` : `default`'
1313
@click='setTimezone(`meeting`)'
14+
:text-color='agendaStore.isTimezoneMeeting ? `#FFF` : null'
1415
) Meeting
1516
n-button(
1617
:type='agendaStore.isTimezoneLocal ? `primary` : `default`'
1718
@click='setTimezone(`local`)'
19+
:text-color='agendaStore.isTimezoneLocal ? `#FFF` : null'
1820
) Local
1921
n-button(
2022
:type='agendaStore.timezone === `UTC` ? `primary` : `default`'
2123
@click='setTimezone(`UTC`)'
24+
:text-color='agendaStore.timezone === `UTC` ? `#FFF` : null'
2225
) UTC
2326
n-divider(vertical)
2427
n-button.me-2(
@@ -32,7 +35,7 @@ n-drawer(v-model:show='isShown', placement='bottom', :height='state.drawerHeight
3235
n-badge.ms-2(:value='agendaStore.selectedCatSubs.length', processing)
3336
n-button(
3437
ghost
35-
color='gray'
38+
:color='siteStore.theme === `dark` ? `#e35d6a` : `gray`'
3639
strong
3740
@click='close'
3841
)

0 commit comments

Comments
 (0)