This repository was archived by the owner on Sep 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Original file line number Diff line number Diff line change 4
4
declare module 'vue' {
5
5
export interface GlobalComponents {
6
6
Header : typeof import ( './src/components/Header.vue' ) [ 'default' ]
7
- HelloWorld : typeof import ( './src/components/HelloWorld.vue' ) [ 'default' ]
8
7
}
9
8
}
10
9
Original file line number Diff line number Diff line change 13
13
text-align : center;
14
14
color : # 2c3e50 ;
15
15
}
16
-
17
- @layer components {
18
- .btn {
19
- @apply
20
- px-3.5 py-2 bg-primary text-white rounded-md
21
- focus:outline-none;
22
- }
23
-
24
- .icon-btn {
25
- @apply
26
- p-2 text-2xl inline-flex items-center
27
- focus:outline-none;
28
- }
29
-
30
- .tag {
31
- @apply
32
- inline-block p-1 bg-secondary text-white text-sm font-bold leading-4 rounded-sm;
33
- & -outline {
34
- @apply
35
- bg-white border border-secondary text-secondary;
36
- }
37
- }
38
- }
Original file line number Diff line number Diff line change @@ -9,4 +9,24 @@ export default defineConfig({
9
9
} ,
10
10
} ,
11
11
} ,
12
+ shortcuts : {
13
+ 'btn' : {
14
+ '@apply' : 'px-3.5 py-2 bg-primary text-white rounded-md' ,
15
+ '&:focus' : {
16
+ '@apply' : 'outline-none' ,
17
+ } ,
18
+ } ,
19
+ 'icon-btn' : {
20
+ '@apply' : 'p-2 text-2xl inline-flex items-center' ,
21
+ '&:focus' : {
22
+ '@apply' : 'outline-none' ,
23
+ } ,
24
+ } ,
25
+ 'tag' : {
26
+ '@apply' : 'inline-block p-1 bg-secondary text-white text-sm font-bold leading-4 rounded-sm' ,
27
+ '&-outline' : {
28
+ '@apply' : 'bg-white border border-secondary text-secondary' ,
29
+ } ,
30
+ } ,
31
+ } ,
12
32
} )
You can’t perform that action at this time.
0 commit comments