@@ -10,42 +10,88 @@ defineEmits<{
1010
1111<template >
1212 <div
13- class =" mt-4 flex flex-wrap items-center gap-2 rounded-xl border border-outline-variant/15 bg-surface-container-low px-4 py-3 "
13+ class =" td-action-rail "
1414 data-board-action-rail
1515 >
16- <span class =" text-xs font-semibold uppercase tracking-wide text-on-surface/60" >Board Actions</span >
17- <button
18- class =" px-3 py-2 text-sm font-medium text-on-surface/70 hover:bg-surface-container border border-outline-variant/15 rounded-lg transition-colors"
19- @click =" $emit('capture')"
20- >
16+ <span class =" td-action-rail__label" >Board Actions</span >
17+ <button class =" td-action-rail__btn" @click =" $emit('capture')" >
2118 Capture here
2219 </button >
23- <button
24- class =" px-3 py-2 text-sm font-medium text-on-surface/70 hover:bg-surface-container border border-outline-variant/15 rounded-lg transition-colors"
25- @click =" $emit('chat')"
26- >
20+ <button class =" td-action-rail__btn" @click =" $emit('chat')" >
2721 Ask assistant
2822 </button >
29- <button
30- class =" px-3 py-2 text-sm font-medium text-on-surface/70 hover:bg-surface-container border border-outline-variant/15 rounded-lg transition-colors"
31- @click =" $emit('review')"
32- >
23+ <button class =" td-action-rail__btn" @click =" $emit('review')" >
3324 Review proposals
3425 </button >
35- <button
36- class =" px-3 py-2 text-sm font-medium text-on-surface/70 hover:bg-surface-container border border-outline-variant/15 rounded-lg transition-colors"
37- @click =" $emit('inbox')"
38- >
26+ <button class =" td-action-rail__btn" @click =" $emit('inbox')" >
3927 Open Inbox
4028 </button >
41- <button
42- class =" px-3 py-2 text-sm font-medium text-on-primary-container bg-primary-container hover:brightness-110 rounded-lg transition-colors"
43- @click =" $emit('addCard')"
44- >
29+ <button class =" td-action-rail__btn td-action-rail__btn--primary" @click =" $emit('addCard')" >
4530 Add card
4631 </button >
47- <p class =" text-sm text-on-surface/60 " >
32+ <p class =" td-action-rail__hint " >
4833 New input starts in Capture or Inbox. Only approved changes land on this board.
4934 </p >
5035 </div >
5136</template >
37+
38+ <style scoped>
39+ .td-action-rail {
40+ margin-top : var (--td-space-5 );
41+ display : flex ;
42+ flex-wrap : wrap ;
43+ align-items : center ;
44+ gap : var (--td-space-2 );
45+ border-radius : var (--td-radius-xl );
46+ border : 0.5px solid var (--td-border-ghost );
47+ background : var (--td-surface-container-low );
48+ padding : var (--td-space-4 ) var (--td-space-5 );
49+ }
50+
51+ .td-action-rail__label {
52+ font-size : var (--td-font-xs );
53+ font-family : ' Space Grotesk' , system-ui , sans-serif ;
54+ font-weight : 600 ;
55+ text-transform : uppercase ;
56+ letter-spacing : 0.1em ;
57+ color : var (--td-text-tertiary );
58+ }
59+
60+ .td-action-rail__btn {
61+ padding : var (--td-space-2 ) var (--td-space-4 );
62+ font-size : var (--td-font-sm );
63+ font-weight : 500 ;
64+ color : var (--td-text-muted );
65+ border : 1px solid var (--td-border-default );
66+ border-radius : var (--td-radius-lg );
67+ transition :
68+ background-color var (--td-transition-fast ),
69+ color var (--td-transition-fast );
70+ }
71+
72+ .td-action-rail__btn :hover {
73+ background : var (--td-surface-container );
74+ color : var (--td-text-primary );
75+ }
76+
77+ .td-action-rail__btn :focus-visible {
78+ outline : none ;
79+ box-shadow : var (--td-focus-ring );
80+ }
81+
82+ .td-action-rail__btn--primary {
83+ background : var (--td-color-primary );
84+ color : var (--td-text-inverse );
85+ border-color : transparent ;
86+ }
87+
88+ .td-action-rail__btn--primary :hover {
89+ background : var (--td-color-primary-hover );
90+ color : var (--td-text-inverse );
91+ }
92+
93+ .td-action-rail__hint {
94+ font-size : var (--td-font-sm );
95+ color : var (--td-text-tertiary );
96+ }
97+ </style >
0 commit comments