Skip to content

Commit cff84c1

Browse files
royduinactions-user
authored andcommitted
Apply fixes from Prettier
1 parent 430ae7b commit cff84c1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

resources/css/theme-variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--primary: #2fbc85;
33
--primary-text: #ffffff;
44

5-
--secondary: #202F60;
5+
--secondary: #202f60;
66
--secondary-text: #ffffff;
77

88
/*

tailwind.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import typography from '@tailwindcss/typography'
44
import scrollbarHide from 'tailwind-scrollbar-hide'
55

66
function color(variable, fallback) {
7-
return 'color-mix(in srgb, var('+variable+', '+fallback+') calc(100% * <alpha-value>), transparent)'
7+
return 'color-mix(in srgb, var(' + variable + ', ' + fallback + ') calc(100% * <alpha-value>), transparent)'
88
}
99

1010
export default {
@@ -54,7 +54,6 @@ export default {
5454
muted: color('--background-muted', colors.gray[50]),
5555
},
5656

57-
5857
// TODO: check all these colors within the templates and replace
5958
// neutral: 'rgb(var(--neutral) / <alpha-value>)', // Text
6059
// inactive: 'rgb(var(--inactive) / <alpha-value>)', // Inactive text
@@ -63,12 +62,12 @@ export default {
6362
// disabled: 'rgb(var(--disabled) / <alpha-value>)', // Disabled
6463
// base: 'rgb(var(--base) / <alpha-value>)', // Background
6564
},
66-
textColor: theme => theme('colors.foreground'),
67-
borderColor: theme => ({
65+
textColor: (theme) => theme('colors.foreground'),
66+
borderColor: (theme) => ({
6867
default: theme('colors.border'),
6968
...theme('colors.border'),
7069
}),
71-
backgroundColor: theme => theme('colors.background'),
70+
backgroundColor: (theme) => theme('colors.background'),
7271
},
7372
container: {
7473
center: true,

0 commit comments

Comments
 (0)