Skip to content

Commit

Permalink
Revert light mode error changes to original styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jantoun-scottlogic committed Jul 18, 2024
1 parent 7e1a581 commit 0ad57a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
@tailwind utilities;

input.ng-invalid.ng-touched {
@apply tce-border-error-red tce-border-2 tce-m-[-1px]
@apply tce-border-red-600 dark:tce-border-red-700 tce-border-2 tce-m-[-1px]
}

.tce-error-box {
@apply tce-text-white tce-bg-error-red tce-p-1 tce-rounded dark:tce-border dark:tce-border-white
@apply tce-text-red-600 dark:tce-text-white dark:tce-bg-red-700 tce-p-1 tce-rounded dark:tce-border dark:tce-border-white
}

.tce-note {
Expand Down
4 changes: 0 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { isolateInsideOfContainer, scopedPreflightStyles } from 'tailwindcss-scoped-preflight';
import form from '@tailwindcss/forms';
import { red } from 'tailwindcss/colors';

export default {
content: ['./src/**/*.{html,ts}'],
Expand All @@ -9,9 +8,6 @@ export default {
fontFamily: {
sans: ['objektiv-mk1', 'sans-serif'],
},
colors: {
'error-red': red['700'],
},
},
},
plugins: [
Expand Down

0 comments on commit 0ad57a5

Please sign in to comment.