Skip to content

Commit

Permalink
new styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskang committed Sep 12, 2023
1 parent 08129d9 commit afdf7b2
Show file tree
Hide file tree
Showing 11 changed files with 384 additions and 52 deletions.
8 changes: 8 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ export default defineConfig({
},
title: 'Elenext',
vite: {
css: {
transformer: 'lightningcss',
lightningcss: {
drafts: {
nesting: true,
},
},
},
plugins: [
Inspect(),
vueJsx(),
Expand Down
10 changes: 4 additions & 6 deletions docs/.vitepress/theme/index.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@tailwind utilities;


.dark{
.dark {
color-scheme: dark;
@apply bg-slate-900 text-slate-400;
}
/* @apply bg-slate-900 text-slate-400; */
}
1 change: 0 additions & 1 deletion docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ const onClick = () => {
<ZButton variant="solid" disabled>solid</ZButton>
<ZButton variant="soft" disabled>soft</ZButton>
<ZButton variant="plain" disabled>plain</ZButton>
<ZButton variant="outline" disabled>outline</ZButton>
<ZButton variant="link" disabled>link</ZButton>
<ZButton variant="solid" circle disabled>
<template #icon>
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zonda",
"version": "0.0.0-beta.1",
"packageManager": "pnpm@8.7.1",
"packageManager": "pnpm@8.7.4",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down Expand Up @@ -43,7 +43,7 @@
"@microsoft/api-extractor": "^7.36.4",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.6",
"@tailwindcss/typography": "^0.5.9",
"@tailwindcss/typography": "^0.5.10",
"@types/jsdom": "^21.1.2",
"@types/node": "^20.5.9",
"@vitejs/plugin-vue": "^4.3.4",
Expand All @@ -53,8 +53,9 @@
"@vue/tsconfig": "^0.4.0",
"autoprefixer": "^10.4.15",
"eslint": "^8.48.0",
"happy-dom": "^10.11.2",
"happy-dom": "^11.0.2",
"jsdom": "^22.1.0",
"lightningcss": "^1.21.7",
"mini-svg-data-uri": "^1.4.4",
"postcss": "^8.4.29",
"postcss-import": "^15.1.0",
Expand All @@ -69,7 +70,7 @@
"vite-plugin-markdown-preview": "^1.1.1",
"vitepress": "1.0.0-rc.10",
"vitest": "^0.34.3",
"vue-tsc": "^1.8.8"
"vue-tsc": "^1.8.10"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
Loading

0 comments on commit afdf7b2

Please sign in to comment.