Skip to content

Commit

Permalink
Set version
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Oct 17, 2024
1 parent 10947e6 commit d0bd38c
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 89 deletions.
2 changes: 1 addition & 1 deletion components/app/AppFooter.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="layout-footer">
<div>
<span>PrimeVue {{ version }} on Vue 3 by </span>
<span>PrimeVue {{ version }} by </span>
<a href="https://www.primetek.com.tr" target="_blank" rel="noopener noreferrer">PrimeTek</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/landing/HeroSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h1 class="text-5xl font-bold text-center xl:text-left leading-tight">UI Library for Vue.js with <span class="font-bold text-primary">Tailwind CSS</span></h1>
<p class="text-center mt-0 mb-8 text-surface-500 dark:text-surface-400 font-medium text-xl leading-relaxed lg:px-56">Create your own design with the flexibility of Tailwind CSS and the convenience of PrimeVue Unstyled components.</p>
<div class="flex items-center gap-4">
<NuxtLink to="/overview" class="linkbox linkbox-primary">
<NuxtLink to="/vite" class="linkbox linkbox-primary">
<span>Get Started </span>
<i class="pi pi-arrow-right ml-4"></i>
</NuxtLink>
Expand Down
88 changes: 45 additions & 43 deletions doc/nuxt/CSSVariablesDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,33 @@ export default {
basic: `
/* Primary and Surface Palettes */
:root {
--p-primary-50: var(--p-surface-50);
--p-primary-100: var(--p-surface-100);
--p-primary-200: var(--p-surface-200);
--p-primary-300: var(--p-surface-300);
--p-primary-400: var(--p-surface-400);
--p-primary-500: var(--p-surface-500);
--p-primary-600: var(--p-surface-600);
--p-primary-700: var(--p-surface-700);
--p-primary-800: var(--p-surface-800);
--p-primary-900: var(--p-surface-900);
--p-primary-950: var(--p-surface-950);
--p-primary-50: #ecfdf5;
--p-primary-100: #d1fae5;
--p-primary-200: #a7f3d0;
--p-primary-300: #6ee7b7;
--p-primary-400: #34d399;
--p-primary-500: #10b981;
--p-primary-600: #059669;
--p-primary-700: #047857;
--p-primary-800: #065f46;
--p-primary-900: #064e3b;
--p-primary-950: #022c22;
--p-surface-0: #ffffff;
--p-surface-50: #f8fafc;
--p-surface-100: #f1f5f9;
--p-surface-200: #e2e8f0;
--p-surface-300: #cbd5e1;
--p-surface-400: #94a3b8;
--p-surface-500: #64748b;
--p-surface-600: #475569;
--p-surface-700: #334155;
--p-surface-800: #1e293b;
--p-surface-900: #0f172a;
--p-surface-950: #020617;
--p-surface-50: #fafafa;
--p-surface-100: #f4f4f5;
--p-surface-200: #e4e4e7;
--p-surface-300: #d4d4d8;
--p-surface-400: #a1a1aa;
--p-surface-500: #71717a;
--p-surface-600: #52525b;
--p-surface-700: #3f3f46;
--p-surface-800: #27272a;
--p-surface-900: #18181b;
--p-surface-950: #09090b;
--p-content-border-radius: 6px;
}
/* Light Mode */
/* Light */
:root {
--p-primary-color: var(--p-primary-500);
--p-primary-contrast-color: var(--p-surface-0);
Expand All @@ -64,28 +64,30 @@ export default {
/*
* Dark Mode
* Change the .p-dark to match the darkMode in tailwind.config.
* Defaults to system, change the selector to match the darkMode in tailwind.config.
* For example;
* darkMode: ['selector', '[class*="app-dark"]']
* should match;
* :root.app-dark
* darkMode: ['selector', '[class*="app-dark"]']
* should be;
* :root[class="app-dark"] {
*/
:root.p-dark {
--p-primary-color: var(--p-primary-400);
--p-primary-contrast-color: var(--p-surface-900);
--p-primary-hover-color: var(--p-primary-300);
--p-primary-active-color: var(--p-primary-200);
--p-content-border-color: var(--p-surface-700);
--p-content-hover-background: var(--p-surface-800);
--p-content-hover-color: var(--p-surface-0);
--p-highlight-background: color-mix(in srgb, var(--p-primary-400), transparent 84%);
--p-highlight-color: rgba(255,255,255,.87);
--p-highlight-focus-background: color-mix(in srgb, var(--p-primary-400), transparent 76%);
--p-highlight-focus-color: rgba(255,255,255,.87);
--p-text-color: var(--p-surface-0);
--p-text-hover-color: var(--p-surface-0);
--p-text-muted-color: var(--p-surface-400);
--p-text-hover-muted-color: var(--p-surface-300);
@media (prefers-color-scheme: dark) {
:root {
--p-primary-color: var(--p-primary-400);
--p-primary-contrast-color: var(--p-surface-900);
--p-primary-hover-color: var(--p-primary-300);
--p-primary-active-color: var(--p-primary-200);
--p-content-border-color: var(--p-surface-700);
--p-content-hover-background: var(--p-surface-800);
--p-content-hover-color: var(--p-surface-0);
--p-highlight-background: color-mix(in srgb, var(--p-primary-400), transparent 84%);
--p-highlight-color: rgba(255, 255, 255, 0.87);
--p-highlight-focus-background: color-mix(in srgb, var(--p-primary-400), transparent 76%);
--p-highlight-focus-color: rgba(255, 255, 255, 0.87);
--p-text-color: var(--p-surface-0);
--p-text-hover-color: var(--p-surface-0);
--p-text-muted-color: var(--p-surface-400);
--p-text-hover-muted-color: var(--p-surface-300);
}
}
`
}
Expand Down
88 changes: 45 additions & 43 deletions doc/vite/CSSVariablesDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,33 @@ export default {
basic: `
/* Primary and Surface Palettes */
:root {
--p-primary-50: var(--p-surface-50);
--p-primary-100: var(--p-surface-100);
--p-primary-200: var(--p-surface-200);
--p-primary-300: var(--p-surface-300);
--p-primary-400: var(--p-surface-400);
--p-primary-500: var(--p-surface-500);
--p-primary-600: var(--p-surface-600);
--p-primary-700: var(--p-surface-700);
--p-primary-800: var(--p-surface-800);
--p-primary-900: var(--p-surface-900);
--p-primary-950: var(--p-surface-950);
--p-primary-50: #ecfdf5;
--p-primary-100: #d1fae5;
--p-primary-200: #a7f3d0;
--p-primary-300: #6ee7b7;
--p-primary-400: #34d399;
--p-primary-500: #10b981;
--p-primary-600: #059669;
--p-primary-700: #047857;
--p-primary-800: #065f46;
--p-primary-900: #064e3b;
--p-primary-950: #022c22;
--p-surface-0: #ffffff;
--p-surface-50: #f8fafc;
--p-surface-100: #f1f5f9;
--p-surface-200: #e2e8f0;
--p-surface-300: #cbd5e1;
--p-surface-400: #94a3b8;
--p-surface-500: #64748b;
--p-surface-600: #475569;
--p-surface-700: #334155;
--p-surface-800: #1e293b;
--p-surface-900: #0f172a;
--p-surface-950: #020617;
--p-surface-50: #fafafa;
--p-surface-100: #f4f4f5;
--p-surface-200: #e4e4e7;
--p-surface-300: #d4d4d8;
--p-surface-400: #a1a1aa;
--p-surface-500: #71717a;
--p-surface-600: #52525b;
--p-surface-700: #3f3f46;
--p-surface-800: #27272a;
--p-surface-900: #18181b;
--p-surface-950: #09090b;
--p-content-border-radius: 6px;
}
/* Light Mode */
/* Light */
:root {
--p-primary-color: var(--p-primary-500);
--p-primary-contrast-color: var(--p-surface-0);
Expand All @@ -61,28 +61,30 @@ export default {
/*
* Dark Mode
* Change the .p-dark to match the darkMode in tailwind.config.
* Defaults to system, change the selector to match the darkMode in tailwind.config.
* For example;
* darkMode: ['selector', '[class*="app-dark"]']
* should match;
* :root.app-dark
* darkMode: ['selector', '[class*="app-dark"]']
* should be;
* :root[class="app-dark"] {
*/
:root.p-dark {
--p-primary-color: var(--p-primary-400);
--p-primary-contrast-color: var(--p-surface-900);
--p-primary-hover-color: var(--p-primary-300);
--p-primary-active-color: var(--p-primary-200);
--p-content-border-color: var(--p-surface-700);
--p-content-hover-background: var(--p-surface-800);
--p-content-hover-color: var(--p-surface-0);
--p-highlight-background: color-mix(in srgb, var(--p-primary-400), transparent 84%);
--p-highlight-color: rgba(255,255,255,.87);
--p-highlight-focus-background: color-mix(in srgb, var(--p-primary-400), transparent 76%);
--p-highlight-focus-color: rgba(255,255,255,.87);
--p-text-color: var(--p-surface-0);
--p-text-hover-color: var(--p-surface-0);
--p-text-muted-color: var(--p-surface-400);
--p-text-hover-muted-color: var(--p-surface-300);
@media (prefers-color-scheme: dark) {
:root {
--p-primary-color: var(--p-primary-400);
--p-primary-contrast-color: var(--p-surface-900);
--p-primary-hover-color: var(--p-primary-300);
--p-primary-active-color: var(--p-primary-200);
--p-content-border-color: var(--p-surface-700);
--p-content-hover-background: var(--p-surface-800);
--p-content-hover-color: var(--p-surface-0);
--p-highlight-background: color-mix(in srgb, var(--p-primary-400), transparent 84%);
--p-highlight-color: rgba(255, 255, 255, 0.87);
--p-highlight-focus-background: color-mix(in srgb, var(--p-primary-400), transparent 76%);
--p-highlight-focus-color: rgba(255, 255, 255, 0.87);
--p-text-color: var(--p-surface-0);
--p-text-hover-color: var(--p-surface-0);
--p-text-muted-color: var(--p-surface-400);
--p-text-hover-muted-color: var(--p-surface-300);
}
}
`
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "primevue-tailwind",
"version": "5.0.0",
"version": "4.1.1-rc.1",
"homepage": "https://tailwind.primevue.org/",
"repository": {
"type": "git",
Expand Down

0 comments on commit d0bd38c

Please sign in to comment.