Skip to content

Commit

Permalink
fix: update default bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Oct 23, 2024
1 parent d8d848f commit 251fc79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playgrounds/app/migrations/0001_burly_alice.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ALTER TABLE `snippets_table` ADD `shadowOffsetY` integer DEFAULT 10 NOT NULL;-->
ALTER TABLE `snippets_table` ADD `shadowBlur` integer DEFAULT 10 NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ADD `shadowColor` text DEFAULT '#000000' NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ADD `shadowOpacity` real DEFAULT 0.6 NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ADD `bgColor` text DEFAULT '#ffffff' NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ADD `bgColor` text DEFAULT '#a3d0ff' NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ADD `language` text DEFAULT 'tsx' NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ADD `theme` text DEFAULT 'nord' NOT NULL;--> statement-breakpoint
ALTER TABLE `snippets_table` ALTER COLUMN "userId" TO "userId" text NOT NULL REFERENCES users_table(id) ON DELETE no action ON UPDATE no action;
2 changes: 1 addition & 1 deletion playgrounds/app/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Home() {
const [endCode, setEndCode] = makePersisted(createSignal(right), {
name: 'endCode',
})
const [bgColor, setBgColor] = makePersisted(createSignal('#ffffff'), {
const [bgColor, setBgColor] = makePersisted(createSignal('#a3d0ff'), {
name: 'bgColor',
})
const [xPadding, setXPadding] = makePersisted(createSignal(42), {
Expand Down

0 comments on commit 251fc79

Please sign in to comment.