@md-plugins/quasar-app-extension-q-press 0.1.0-beta.20 → 0.1.0-beta.22
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/README.md +2 -2
- package/dist/index.js +1 -1
- package/dist/install.js +1 -1
- package/dist/templates/init/src/_q-press/components/MarkdownApi.vue +1 -1
- package/dist/templates/init/src/_q-press/css/app.scss +73 -0
- package/dist/templates/init/src/_q-press/css/code-theme.scss +3 -0
- package/dist/templates/init/src/_q-press/css/themes/newspaper.scss +4 -4
- package/dist/templates/init/src/components/LandingPage/LandingPage.vue +1068 -225
- package/dist/templates/init/src/markdown/other/upgrade-guide.md +8 -7
- package/dist/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +1 -1
- package/dist/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md +1 -1
- package/dist/templates/init/src/pages/Error404.vue +19 -0
- package/dist/templates/init/src/pages/ErrorNotFound.vue +19 -0
- package/dist/templates/update/src/_q-press/components/MarkdownApi.vue +1 -1
- package/dist/templates/update/src/_q-press/css/app.scss +73 -0
- package/dist/templates/update/src/_q-press/css/code-theme.scss +3 -0
- package/dist/templates/update/src/_q-press/css/themes/newspaper.scss +4 -4
- package/package.json +17 -17
- package/src/index.ts +1 -1
- package/src/install.ts +1 -1
- package/src/templates/init/src/_q-press/components/MarkdownApi.vue +1 -1
- package/src/templates/init/src/_q-press/css/app.scss +73 -0
- package/src/templates/init/src/_q-press/css/code-theme.scss +3 -0
- package/src/templates/init/src/_q-press/css/themes/newspaper.scss +4 -4
- package/src/templates/init/src/components/LandingPage/LandingPage.vue +1068 -225
- package/src/templates/init/src/markdown/other/upgrade-guide.md +8 -7
- package/src/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +1 -1
- package/src/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md +1 -1
- package/src/templates/init/src/pages/Error404.vue +19 -0
- package/src/templates/init/src/pages/ErrorNotFound.vue +19 -0
- package/src/templates/update/src/_q-press/components/MarkdownApi.vue +1 -1
- package/src/templates/update/src/_q-press/css/app.scss +73 -0
- package/src/templates/update/src/_q-press/css/code-theme.scss +3 -0
- package/src/templates/update/src/_q-press/css/themes/newspaper.scss +4 -4
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@ The Ultimate Markdown Solution for the Quasar Framework.
|
|
|
4
4
|
|
|
5
5
|
See the [documentation](https://md-plugins.netlify.app/quasar-app-extensions/qpress/overview) for more information.
|
|
6
6
|
|
|
7
|
-
> Current beta release: `0.1.0-beta.
|
|
7
|
+
> Current beta release: `0.1.0-beta.22`.
|
|
8
8
|
>
|
|
9
|
-
> Q-Press currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
9
|
+
> Q-Press currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.36`. TypeScript processing is required.
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ function extendTypeScriptConfig(typescriptConfig) {
|
|
|
42
42
|
}
|
|
43
43
|
export default defineIndexScript((api) => {
|
|
44
44
|
api.compatibleWith('quasar', '^2.0.0');
|
|
45
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.
|
|
45
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.36');
|
|
46
46
|
// here we extend /quasar.config, so we can add some Vite/Vue stuff
|
|
47
47
|
api.extendQuasarConf(async (config) => {
|
|
48
48
|
config.build ??= {};
|
package/dist/install.js
CHANGED
|
@@ -7,7 +7,7 @@ import { defineInstallScript } from '@quasar/app-vite';
|
|
|
7
7
|
import { existsSync } from 'node:fs';
|
|
8
8
|
export default defineInstallScript(async (api) => {
|
|
9
9
|
api.compatibleWith('quasar', '^2.0.0');
|
|
10
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.
|
|
10
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.36');
|
|
11
11
|
// project must have pinia installed
|
|
12
12
|
if ((await api.getStorePackageName()) !== 'pinia') {
|
|
13
13
|
console.error('-----------------------------');
|
|
@@ -693,3 +693,76 @@ body.body--dark .markdown-card-title {
|
|
|
693
693
|
border-top-color: color.scale($brand-secondary, $lightness: -30%);
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
+
|
|
697
|
+
.qpress-error-page {
|
|
698
|
+
overflow: hidden;
|
|
699
|
+
color: $brand-light-text;
|
|
700
|
+
background:
|
|
701
|
+
radial-gradient(circle at top right, rgba($brand-primary, 0.24), transparent 34rem),
|
|
702
|
+
linear-gradient(135deg, color.scale($light-bg, $lightness: 8%), $light-bg);
|
|
703
|
+
|
|
704
|
+
&__content {
|
|
705
|
+
width: min(680px, 100%);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
&__eyebrow {
|
|
709
|
+
margin: 0 0 10px;
|
|
710
|
+
color: $brand-secondary;
|
|
711
|
+
font-family: $font-family-brand;
|
|
712
|
+
font-size: 0.85rem;
|
|
713
|
+
font-weight: 700;
|
|
714
|
+
letter-spacing: 0.18em;
|
|
715
|
+
text-transform: uppercase;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
&__code {
|
|
719
|
+
margin: 0;
|
|
720
|
+
color: $brand-primary;
|
|
721
|
+
font-family: $font-family-brand;
|
|
722
|
+
font-size: clamp(6rem, 24vw, 18rem);
|
|
723
|
+
font-weight: 800;
|
|
724
|
+
line-height: 0.85;
|
|
725
|
+
text-shadow: 0 20px 52px rgba($brand-primary, 0.22);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
&__message {
|
|
729
|
+
max-width: 34rem;
|
|
730
|
+
margin: 24px auto 0;
|
|
731
|
+
color: rgba($brand-light-text, 0.78);
|
|
732
|
+
font-size: clamp(1.25rem, 3vw, 2rem);
|
|
733
|
+
line-height: 1.35;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
&__button {
|
|
737
|
+
color: $brand-light-bg !important;
|
|
738
|
+
background: $brand-primary !important;
|
|
739
|
+
border: 1px solid rgba($brand-primary, 0.45);
|
|
740
|
+
box-shadow: $shadow--small;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
body.body--dark .qpress-error-page {
|
|
745
|
+
color: $brand-dark-text;
|
|
746
|
+
background:
|
|
747
|
+
radial-gradient(circle at top right, rgba($brand-accent, 0.18), transparent 34rem),
|
|
748
|
+
linear-gradient(135deg, color.scale($brand-dark-bg, $lightness: 8%), $brand-dark-bg);
|
|
749
|
+
|
|
750
|
+
.qpress-error-page__eyebrow {
|
|
751
|
+
color: $brand-accent;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.qpress-error-page__code {
|
|
755
|
+
color: $brand-accent;
|
|
756
|
+
text-shadow: 0 20px 52px rgba($brand-accent, 0.26);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.qpress-error-page__message {
|
|
760
|
+
color: rgba($brand-dark-text, 0.78);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.qpress-error-page__button {
|
|
764
|
+
color: $brand-dark-bg !important;
|
|
765
|
+
background: $brand-accent !important;
|
|
766
|
+
border-color: rgba($brand-accent, 0.5);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
@@ -25,10 +25,10 @@ $brand-light-codeblock-text: #333333;
|
|
|
25
25
|
$brand-dark-codeblock-bg: #1a1a1a;
|
|
26
26
|
$brand-dark-codeblock-text: #e6e6e6;
|
|
27
27
|
|
|
28
|
-
$header-btn-color--light: #
|
|
29
|
-
$header-btn-hover-color--light: #
|
|
30
|
-
$header-btn-color--dark: #
|
|
31
|
-
$header-btn-hover-color--dark: #
|
|
28
|
+
$header-btn-color--light: #747efc;
|
|
29
|
+
$header-btn-hover-color--light: #5a63dc;
|
|
30
|
+
$header-btn-color--dark: #aeb6ff;
|
|
31
|
+
$header-btn-hover-color--dark: #d8dcff;
|
|
32
32
|
|
|
33
33
|
$light-pill: $brand-light;
|
|
34
34
|
$light-text: $brand-light-text;
|