Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
design-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
design-system
Commits
2d85a328
Commit
2d85a328
authored
1 year ago
by
Klaas Kliffen
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfix/fix_fileinput_darkmode_text' into 'main'
fix: explicitly set text color See merge request
!38
parents
c5256332
0ee58aa2
No related branches found
No related tags found
1 merge request
!38
fix: explicitly set text color
Pipeline
#75560
passed
1 year ago
Stage: test
Stage: build
Stage: release
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/FileInput.tsx
+3
-1
3 additions, 1 deletion
src/components/FileInput.tsx
with
3 additions
and
1 deletion
src/components/FileInput.tsx
+
3
−
1
View file @
2d85a328
...
@@ -7,7 +7,9 @@ import {
...
@@ -7,7 +7,9 @@ import {
InputHTMLAttributes
,
InputHTMLAttributes
,
useId
,
useId
,
}
from
"
react
"
;
}
from
"
react
"
;
import
{
clsx
}
from
"
clsx
"
;
import
Typography
from
"
src/components/Typography
"
;
import
Typography
from
"
src/components/Typography
"
;
import
{
textColor
}
from
"
./utils/classes.ts
"
;
interface
Props
extends
InputHTMLAttributes
<
HTMLInputElement
>
{
interface
Props
extends
InputHTMLAttributes
<
HTMLInputElement
>
{
label
:
string
;
label
:
string
;
...
@@ -52,7 +54,7 @@ const FileInput = (props: Props) => {
...
@@ -52,7 +54,7 @@ const FileInput = (props: Props) => {
<
Typography
text
=
{
label
}
variant
=
"paragraph"
/>
<
Typography
text
=
{
label
}
variant
=
"paragraph"
/>
</
label
>
</
label
>
<
input
<
input
className
=
"mt-3"
className
=
{
clsx
(
"
mt-3
"
,
textColor
(
"
body
"
))
}
id
=
{
inputId
}
id
=
{
inputId
}
ref
=
{
inputRef
}
ref
=
{
inputRef
}
type
=
"file"
type
=
"file"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment