Input Slider Feature (#292)
* feat: input slider feature * Polish slider label --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
15
client/lib/forms/form-themes.js
vendored
15
client/lib/forms/form-themes.js
vendored
@@ -32,6 +32,11 @@ export const themes = {
|
||||
unselectedButton: 'bg-white hover:bg-gray-50 border',
|
||||
help: 'text-gray-400 dark:text-gray-500'
|
||||
},
|
||||
SliderInput: {
|
||||
label: 'text-gray-700 dark:text-gray-300 font-semibold',
|
||||
stepLabel: 'text-gray-700 dark:text-gray-300 text-center text-xs',
|
||||
help: 'text-gray-400 dark:text-gray-500'
|
||||
},
|
||||
fileInput: {
|
||||
input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded-lg',
|
||||
inputHover: {
|
||||
@@ -71,6 +76,11 @@ export const themes = {
|
||||
unselectedButton: 'bg-white hover:bg-gray-50 border -mx-4',
|
||||
help: 'text-gray-400 dark:text-gray-500'
|
||||
},
|
||||
SliderInput: {
|
||||
label: 'text-gray-700 dark:text-gray-300 font-semibold',
|
||||
stepLabel: 'text-gray-700 dark:text-gray-300 text-center text-xs',
|
||||
help: 'text-gray-400 dark:text-gray-500'
|
||||
},
|
||||
fileInput: {
|
||||
input: 'min-h-40 border border-dashed border-gray-300 p-4',
|
||||
inputHover: {
|
||||
@@ -110,6 +120,11 @@ export const themes = {
|
||||
unselectedButton: 'bg-notion-input-background dark:bg-notion-dark-light hover:bg-gray-50 border',
|
||||
help: 'text-notion-input-help dark:text-gray-500'
|
||||
},
|
||||
SliderInput: {
|
||||
label: 'text-gray-700 dark:text-gray-300 font-semibold',
|
||||
stepLabel: 'text-gray-700 dark:text-gray-300 text-center text-xs',
|
||||
help: 'text-gray-400 dark:text-gray-500'
|
||||
},
|
||||
fileInput: {
|
||||
input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded bg-notion-input-background',
|
||||
inputHover: {
|
||||
|
||||
Reference in New Issue
Block a user