@mekari/pixel3-theme 0.5.0-dev.2 → 0.6.0-dev.0
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/dist/index.js +14 -9
- package/dist/index.mjs +14 -9
- package/package.json +1 -1
- package/src/recipes/rich-text-editor.ts +11 -6
- package/src/text-styles.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -4371,9 +4371,6 @@ var richTextEditorSlotRecipe = (0, import_dev33.defineSlotRecipe)({
|
|
|
4371
4371
|
}
|
|
4372
4372
|
},
|
|
4373
4373
|
toolbar: {
|
|
4374
|
-
display: "flex",
|
|
4375
|
-
flexFlow: "wrap",
|
|
4376
|
-
gap: "1",
|
|
4377
4374
|
border: "1px solid",
|
|
4378
4375
|
borderColor: "gray.100",
|
|
4379
4376
|
borderRadius: "md",
|
|
@@ -4480,11 +4477,13 @@ var RTEStyleProviderRecipe = (0, import_dev33.defineRecipe)({
|
|
|
4480
4477
|
fontWeight: "bolder"
|
|
4481
4478
|
},
|
|
4482
4479
|
"& a": {
|
|
4483
|
-
color: "blue.400",
|
|
4484
4480
|
cursor: "pointer",
|
|
4485
|
-
|
|
4481
|
+
color: "blue.400",
|
|
4486
4482
|
_hover: {
|
|
4487
|
-
|
|
4483
|
+
textDecoration: "underline"
|
|
4484
|
+
},
|
|
4485
|
+
_nextTheme: {
|
|
4486
|
+
color: "text.link"
|
|
4488
4487
|
}
|
|
4489
4488
|
},
|
|
4490
4489
|
"& ol, ul": {
|
|
@@ -4503,6 +4502,12 @@ var RTEStyleProviderRecipe = (0, import_dev33.defineRecipe)({
|
|
|
4503
4502
|
borderColor: "text.default"
|
|
4504
4503
|
}
|
|
4505
4504
|
},
|
|
4505
|
+
'& [data-type="mention"]': {
|
|
4506
|
+
color: "blue.400",
|
|
4507
|
+
_nextTheme: {
|
|
4508
|
+
color: "text.link"
|
|
4509
|
+
}
|
|
4510
|
+
},
|
|
4506
4511
|
_nextTheme: {
|
|
4507
4512
|
color: "text.default"
|
|
4508
4513
|
}
|
|
@@ -6575,7 +6580,7 @@ var textStyles = (0, import_dev49.defineTextStyles)({
|
|
|
6575
6580
|
fontFamily: "var(--font-inter)",
|
|
6576
6581
|
fontSize: "lg",
|
|
6577
6582
|
lineHeight: "xl",
|
|
6578
|
-
fontWeight: "semiBold"
|
|
6583
|
+
fontWeight: "semiBold !important"
|
|
6579
6584
|
}
|
|
6580
6585
|
},
|
|
6581
6586
|
h2: {
|
|
@@ -6583,7 +6588,7 @@ var textStyles = (0, import_dev49.defineTextStyles)({
|
|
|
6583
6588
|
fontFamily: "var(--font-inter)",
|
|
6584
6589
|
fontSize: "xl",
|
|
6585
6590
|
lineHeight: "md",
|
|
6586
|
-
fontWeight: "semiBold"
|
|
6591
|
+
fontWeight: "semiBold !important"
|
|
6587
6592
|
}
|
|
6588
6593
|
},
|
|
6589
6594
|
h1: {
|
|
@@ -6591,7 +6596,7 @@ var textStyles = (0, import_dev49.defineTextStyles)({
|
|
|
6591
6596
|
fontFamily: "var(--font-inter)",
|
|
6592
6597
|
fontSize: "2xl",
|
|
6593
6598
|
lineHeight: "sm",
|
|
6594
|
-
fontWeight: "semiBold"
|
|
6599
|
+
fontWeight: "semiBold !important"
|
|
6595
6600
|
}
|
|
6596
6601
|
}
|
|
6597
6602
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -4345,9 +4345,6 @@ var richTextEditorSlotRecipe = defineSlotRecipe22({
|
|
|
4345
4345
|
}
|
|
4346
4346
|
},
|
|
4347
4347
|
toolbar: {
|
|
4348
|
-
display: "flex",
|
|
4349
|
-
flexFlow: "wrap",
|
|
4350
|
-
gap: "1",
|
|
4351
4348
|
border: "1px solid",
|
|
4352
4349
|
borderColor: "gray.100",
|
|
4353
4350
|
borderRadius: "md",
|
|
@@ -4454,11 +4451,13 @@ var RTEStyleProviderRecipe = defineRecipe11({
|
|
|
4454
4451
|
fontWeight: "bolder"
|
|
4455
4452
|
},
|
|
4456
4453
|
"& a": {
|
|
4457
|
-
color: "blue.400",
|
|
4458
4454
|
cursor: "pointer",
|
|
4459
|
-
|
|
4455
|
+
color: "blue.400",
|
|
4460
4456
|
_hover: {
|
|
4461
|
-
|
|
4457
|
+
textDecoration: "underline"
|
|
4458
|
+
},
|
|
4459
|
+
_nextTheme: {
|
|
4460
|
+
color: "text.link"
|
|
4462
4461
|
}
|
|
4463
4462
|
},
|
|
4464
4463
|
"& ol, ul": {
|
|
@@ -4477,6 +4476,12 @@ var RTEStyleProviderRecipe = defineRecipe11({
|
|
|
4477
4476
|
borderColor: "text.default"
|
|
4478
4477
|
}
|
|
4479
4478
|
},
|
|
4479
|
+
'& [data-type="mention"]': {
|
|
4480
|
+
color: "blue.400",
|
|
4481
|
+
_nextTheme: {
|
|
4482
|
+
color: "text.link"
|
|
4483
|
+
}
|
|
4484
|
+
},
|
|
4480
4485
|
_nextTheme: {
|
|
4481
4486
|
color: "text.default"
|
|
4482
4487
|
}
|
|
@@ -6549,7 +6554,7 @@ var textStyles = defineTextStyles({
|
|
|
6549
6554
|
fontFamily: "var(--font-inter)",
|
|
6550
6555
|
fontSize: "lg",
|
|
6551
6556
|
lineHeight: "xl",
|
|
6552
|
-
fontWeight: "semiBold"
|
|
6557
|
+
fontWeight: "semiBold !important"
|
|
6553
6558
|
}
|
|
6554
6559
|
},
|
|
6555
6560
|
h2: {
|
|
@@ -6557,7 +6562,7 @@ var textStyles = defineTextStyles({
|
|
|
6557
6562
|
fontFamily: "var(--font-inter)",
|
|
6558
6563
|
fontSize: "xl",
|
|
6559
6564
|
lineHeight: "md",
|
|
6560
|
-
fontWeight: "semiBold"
|
|
6565
|
+
fontWeight: "semiBold !important"
|
|
6561
6566
|
}
|
|
6562
6567
|
},
|
|
6563
6568
|
h1: {
|
|
@@ -6565,7 +6570,7 @@ var textStyles = defineTextStyles({
|
|
|
6565
6570
|
fontFamily: "var(--font-inter)",
|
|
6566
6571
|
fontSize: "2xl",
|
|
6567
6572
|
lineHeight: "sm",
|
|
6568
|
-
fontWeight: "semiBold"
|
|
6573
|
+
fontWeight: "semiBold !important"
|
|
6569
6574
|
}
|
|
6570
6575
|
}
|
|
6571
6576
|
});
|
package/package.json
CHANGED
|
@@ -20,9 +20,6 @@ const richTextEditorSlotRecipe = defineSlotRecipe({
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
toolbar: {
|
|
23
|
-
display: 'flex',
|
|
24
|
-
flexFlow: 'wrap',
|
|
25
|
-
gap: '1',
|
|
26
23
|
border: '1px solid',
|
|
27
24
|
borderColor: 'gray.100',
|
|
28
25
|
borderRadius: 'md',
|
|
@@ -130,11 +127,13 @@ const RTEStyleProviderRecipe = defineRecipe({
|
|
|
130
127
|
fontWeight: 'bolder'
|
|
131
128
|
},
|
|
132
129
|
'& a': {
|
|
133
|
-
color: 'blue.400',
|
|
134
130
|
cursor: 'pointer',
|
|
135
|
-
|
|
131
|
+
color: 'blue.400',
|
|
136
132
|
_hover: {
|
|
137
|
-
|
|
133
|
+
textDecoration: 'underline'
|
|
134
|
+
},
|
|
135
|
+
_nextTheme: {
|
|
136
|
+
color: 'text.link'
|
|
138
137
|
}
|
|
139
138
|
},
|
|
140
139
|
'& ol, ul': {
|
|
@@ -154,6 +153,12 @@ const RTEStyleProviderRecipe = defineRecipe({
|
|
|
154
153
|
borderColor: 'text.default'
|
|
155
154
|
}
|
|
156
155
|
},
|
|
156
|
+
'& [data-type="mention"]': {
|
|
157
|
+
color: 'blue.400',
|
|
158
|
+
_nextTheme: {
|
|
159
|
+
color: 'text.link'
|
|
160
|
+
}
|
|
161
|
+
},
|
|
157
162
|
_nextTheme: {
|
|
158
163
|
color: 'text.default'
|
|
159
164
|
}
|
package/src/text-styles.ts
CHANGED
|
@@ -21,7 +21,7 @@ export const textStyles = defineTextStyles({
|
|
|
21
21
|
fontFamily: 'var(--font-inter)',
|
|
22
22
|
fontSize: 'lg',
|
|
23
23
|
lineHeight: 'xl',
|
|
24
|
-
fontWeight: 'semiBold'
|
|
24
|
+
fontWeight: 'semiBold !important'
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
h2: {
|
|
@@ -29,7 +29,7 @@ export const textStyles = defineTextStyles({
|
|
|
29
29
|
fontFamily: 'var(--font-inter)',
|
|
30
30
|
fontSize: 'xl',
|
|
31
31
|
lineHeight: 'md',
|
|
32
|
-
fontWeight: 'semiBold'
|
|
32
|
+
fontWeight: 'semiBold !important'
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
h1: {
|
|
@@ -37,7 +37,7 @@ export const textStyles = defineTextStyles({
|
|
|
37
37
|
fontFamily: 'var(--font-inter)',
|
|
38
38
|
fontSize: '2xl',
|
|
39
39
|
lineHeight: 'sm',
|
|
40
|
-
fontWeight: 'semiBold'
|
|
40
|
+
fontWeight: 'semiBold !important'
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
})
|