Skip to content

Commit

Permalink
fix and delete some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminshafii committed Dec 18, 2024
1 parent dfa0774 commit a79aa7f
Show file tree
Hide file tree
Showing 7 changed files with 6,634 additions and 8,449 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# vscode
.turbo

.vscode

Expand Down
1 change: 1 addition & 0 deletions packages/plugin/dist/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/plugin/esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const context = await esbuild.context({
logLevel: "info",
sourcemap: prod ? false : "inline",
treeShaking: true,
outdir: "dist", // Output to dist directory instead of root
outdir: "../..", // Output to dist directory instead of root
plugins: [
postcss({
plugins: {
Expand Down
34 changes: 32 additions & 2 deletions packages/plugin/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
content: [
'./**/*.{js,jsx,ts,tsx}',
'!./node_modules/**/*',
],
theme: {
extend: {},
extend: {
// Extend colors to support Obsidian theme variables
colors: {
'obsidian': {
'accent': 'hsl(var(--accent-h), var(--accent-s), var(--accent-l))',
'bg-primary': 'var(--background-primary)',
'bg-secondary': 'var(--background-secondary)',
'text-normal': 'var(--text-normal)',
'text-muted': 'var(--text-muted)',
'text-faint': 'var(--text-faint)',
'text-error': 'var(--text-error)',
'text-success': 'var(--text-success)',
'text-warning': 'var(--text-warning)',
'interactive': 'var(--interactive-normal)',
'interactive-hover': 'var(--interactive-hover)',
'interactive-accent': 'var(--interactive-accent)',
}
},
backgroundColor: {
'modifier': {
'hover': 'var(--background-modifier-hover)',
'active': 'var(--background-modifier-active-hover)',
'border': 'var(--background-modifier-border)',
}
},
},
},
plugins: [],
// Prevent Tailwind from purging styles with CSS variable references

}
Loading

0 comments on commit a79aa7f

Please sign in to comment.