Skip to content

Commit b5b066f

Browse files
committed
fix: focus style field
1 parent 4c56a23 commit b5b066f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

public/ace.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/css/ace.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
@apply absolute top-0 left-0 w-full h-full opacity-0 z-0;
66
}
77
.ace_editor {
8-
@apply h-[300px] relative rounded-md border border-gray-300 outline-none transition-all duration-200 dark:border-[var(--dark-300)];
8+
@apply h-[300px] relative rounded-md border border-gray-300 outline-none transition-all duration-200 dark:border-[rgb(var(--dark-300))];
99
z-index: 1;
1010
}
1111
.ace_editor.ace_focus {
12-
@apply border-gray-300 ring ring-gray-200 ring-opacity-70 dark:ring-[var(--dark-100)] dark:ring-opacity-30;
12+
@apply ring ring-gray-200 ring-opacity-70
13+
}
14+
.dark .ace_editor.ace_focus {
15+
--tw-ring-color: rgba(var(--dark-100), 0.3);
1316
}
1417
.ace_editor.form-invalid {
1518
@apply border-red-600 dark:border-red-700;

0 commit comments

Comments
 (0)