41 |
42 |
--------------------------------------------------------------------------------
/src/monaco/plugins/windicss/interfaces.ts:
--------------------------------------------------------------------------------
1 | import type { Processor } from 'windicss/lib'
2 |
3 | export type DictStr = { [key: string]: string | string[] }
4 |
5 | export type DeepNestDictStr = { [key: string]: string | DeepNestDictStr }
6 |
7 | export interface Core {
8 | processor?: Processor
9 | utilities: string[]
10 | variants: any
11 | colors: {
12 | label: string
13 | documentation: string
14 | }[]
15 | dynamics: {
16 | label: string
17 | position: number
18 | }[]
19 | }
20 |
21 | export interface Attr {
22 | static: {
23 | [key: string]: string[]
24 | }
25 | color: {
26 | [key: string]: {
27 | label: string
28 | doc: string
29 | }[]
30 | }
31 | bracket: {
32 | [key: string]: string[]
33 | }
34 | dynamic: {
35 | [key: string]: {
36 | label: string
37 | pos: number
38 | }[]
39 | }
40 | }
41 |
42 | export interface Completion {
43 | static: string[]
44 | color: {
45 | label: string
46 | doc: string
47 | }[]
48 | bracket: string[]
49 | dynamic: {
50 | label: string
51 | pos: number
52 | }[]
53 | attr: Attr
54 | }
55 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Jacob Clevenger
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/src/components/settings/InstallSettings.vue:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |