Skip to content

Commit

Permalink
style: mode-contrast text by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lovrozagar committed Mar 4, 2024
1 parent c9c803d commit 29d62fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/kbd/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const DEFAULT_HOTKEY_OPTIONS = {
} as const

const DEFAULT_KBD_CLASSNAME =
'render-ui-kbd flex justify-center items-center gap-1 text-xs bg-mode-accent font-[unset] font-medium rounded-md px-2 py-1.5 duration-fast transition-[background-color,box-shadow] shadow-[inset_0_-0.05em_0.5em_#00005506,inset_0_0.05em_hsla(0,0%,100%,0.95),inset_0_0.25em_0.5em_#00005506,inset_0_-0.05em_#00002f26,0_0_0_0.05em_#0009321f,0_0.08em_0.17em_#00062e32] dark:shadow-[inset_0_-0.05em_0.5em_#ddeaf814,inset_0_0.05em_#f1f7feb5,inset_0_0.25em_0.5em_#d8f4f609,inset_0_-0.1em_rgba(0,0,0,0.9),0_0_0_0.075em_#d9edff40,0_0.08em_0.17em_rgba(0,0,0,0.95)]'
'render-ui-kbd flex justify-center items-center gap-1 text-xs text-mode-contrast bg-mode-accent font-[unset] font-medium rounded-md px-2 py-1.5 duration-fast transition-[background-color,box-shadow] shadow-[inset_0_-0.05em_0.5em_#00005506,inset_0_0.05em_hsla(0,0%,100%,0.95),inset_0_0.25em_0.5em_#00005506,inset_0_-0.05em_#00002f26,0_0_0_0.05em_#0009321f,0_0.08em_0.17em_#00062e32] dark:shadow-[inset_0_-0.05em_0.5em_#ddeaf814,inset_0_0.05em_#f1f7feb5,inset_0_0.25em_0.5em_#d8f4f609,inset_0_-0.1em_rgba(0,0,0,0.9),0_0_0_0.075em_#d9edff40,0_0.08em_0.17em_rgba(0,0,0,0.95)]'

const DEFAULT_KBD_ICON_CLASSNAME = 'block h-4 w-4 fill-none stroke-current stroke-[1px]'

Expand Down
2 changes: 1 addition & 1 deletion src/components/label/constants/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const DEFAULT_LABEL_CLASSNAME = 'render-ui-label text-base font-medium'
const DEFAULT_LABEL_CLASSNAME = 'render-ui-label text-base text-mode-contrast font-medium'

export { DEFAULT_LABEL_CLASSNAME }
2 changes: 1 addition & 1 deletion src/components/text-area/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ const DEFAULT_TEXT_AREA_CONTAINER_CLASSNAME =
'render-ui-text-area-container min-h-[80px] h-[auto] max-h-fit'

const DEFAULT_TEXT_AREA_CLASSNAME =
'render-ui-text-area max-h-[200px] min-h-[inherit] m-0 p-0 w-full h-full block border-none appearance-none rounded bg-transparent p-3 text-sm outline-none data-[disabled=true]:cursor-[inherit] data-[disabled=true]:pointer-events-none placeholder:text-mode-foreground/50'
'render-ui-text-area max-h-[200px] min-h-[inherit] m-0 p-0 w-full h-full block border-none appearance-none rounded bg-transparent p-3 text-sm text-mode-contrast outline-none data-[disabled=true]:cursor-[inherit] data-[disabled=true]:pointer-events-none placeholder:text-mode-foreground/50'

export { DEFAULT_TEXT_AREA_CLASSNAME, DEFAULT_TEXT_AREA_CONTAINER_CLASSNAME }

0 comments on commit 29d62fe

Please sign in to comment.