@mythpe/quasar-ui-qui 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/composable/useMyth.ts +5 -1
- package/src/style/main.sass +6 -10
package/package.json
CHANGED
|
@@ -102,7 +102,11 @@ export const useMyth = () => {
|
|
|
102
102
|
const parents: string[] = routeName.split('.')
|
|
103
103
|
if (parents.length > 1) {
|
|
104
104
|
const e = `choice.${Str.pascalCase(lodash.pluralize(parents[parents.length - 2]))}`
|
|
105
|
-
|
|
105
|
+
if (te(e)) {
|
|
106
|
+
str = t(k, { name: t(e, '1') })
|
|
107
|
+
} else {
|
|
108
|
+
str = te(k) ? t(k, { name: '' }) : null
|
|
109
|
+
}
|
|
106
110
|
} else {
|
|
107
111
|
str = te(k) ? t(k, { name: '' }) : null
|
|
108
112
|
}
|
package/src/style/main.sass
CHANGED
|
@@ -74,11 +74,10 @@ $maxes: ('width', 'height') !default
|
|
|
74
74
|
$alignsX: ('top', 'bottom') !default
|
|
75
75
|
$alignsY: ('left', 'right') !default
|
|
76
76
|
$radius-class-name: 'border-rounded' !default
|
|
77
|
-
|
|
78
|
-
$radius-value: $generic-border-radius !default
|
|
77
|
+
$radius-value: $generic-border-radius !default
|
|
79
78
|
$bordered-class-name: 'bordered' !default
|
|
80
79
|
$bordered-size: 1px !default
|
|
81
|
-
$bordered-style: $bordered-size solid
|
|
80
|
+
$bordered-style: $bordered-size solid var(--q-primary) !default
|
|
82
81
|
|
|
83
82
|
|
|
84
83
|
.#{$radius-class-name}
|
|
@@ -122,11 +121,10 @@ pre
|
|
|
122
121
|
> .q-field
|
|
123
122
|
&:not(.q-field--disabled)
|
|
124
123
|
.q-field__label::after
|
|
125
|
-
|
|
126
|
-
color: $negative
|
|
124
|
+
color: var(--q-negative)
|
|
127
125
|
|
|
128
126
|
.m--input__top-label__content
|
|
129
|
-
color:
|
|
127
|
+
color: var(--q-negative)
|
|
130
128
|
|
|
131
129
|
|
|
132
130
|
[data-input-name].m--input__required
|
|
@@ -138,12 +136,10 @@ pre
|
|
|
138
136
|
|
|
139
137
|
.m--input__top-label__content::after
|
|
140
138
|
content: ' *'
|
|
141
|
-
|
|
142
|
-
color: $red
|
|
139
|
+
color: var(--q-negative)
|
|
143
140
|
|
|
144
141
|
.m--input__color-preview
|
|
145
|
-
|
|
146
|
-
border: 1px solid $primary
|
|
142
|
+
border: 1px solid var(--q-primary)
|
|
147
143
|
border-radius: $radius-value
|
|
148
144
|
|
|
149
145
|
|