Skip to content

Commit efd0cba

Browse files
committed
Remove Uppy dark theme classes and update Uppy icon stylings
1 parent 31d1448 commit efd0cba

4 files changed

Lines changed: 6 additions & 441 deletions

File tree

‎src/components/Pages/Contact/uppy-audio.css‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,6 @@
128128
width: 60px;
129129
}
130130

131-
[data-uppy-theme="dark"] .uppy-Audio-button:focus {
132-
box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-secondary) 85%, transparent);
133-
outline: none;
134-
}
135-
136-
[data-uppy-theme="dark"] .uppy-Audio-button::-moz-focus-inner {
137-
border: 0;
138-
}
139-
140131
.uppy-Audio-button--submit {
141132
background-color: var(--color-secondary);
142133
margin: 0 12px;
@@ -194,7 +185,3 @@
194185
padding: 0 15px;
195186
text-align: center;
196187
}
197-
198-
[data-uppy-theme="dark"] .uppy-Audio-title {
199-
color: var(--color-content);
200-
}

‎src/components/Pages/Contact/uppy-core.css‎

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,6 @@
6969
outline: none;
7070
}
7171

72-
[data-uppy-theme="dark"] .uppy-c-textInput {
73-
background-color: var(--color-content-inverse);
74-
border-color: var(--color-gray-300);
75-
color: var(--color-content);
76-
}
77-
78-
[data-uppy-theme="dark"] .uppy-c-textInput:focus {
79-
border-color: var(--color-gray-offset);
80-
box-shadow: none;
81-
}
82-
8372
.uppy-c-icon {
8473
display: inline-block;
8574
fill: currentcolor;
@@ -137,22 +126,6 @@
137126
padding: 13px 22px;
138127
}
139128

140-
[data-uppy-theme="dark"] .uppy-c-btn-primary {
141-
color: var(--color-white);
142-
}
143-
144-
[data-uppy-theme="dark"] .uppy-c-btn-primary:focus {
145-
outline: none;
146-
}
147-
148-
[data-uppy-theme="dark"] .uppy-c-btn-primary::-moz-focus-inner {
149-
border: 0;
150-
}
151-
152-
[data-uppy-theme="dark"] .uppy-c-btn-primary:focus {
153-
box-shadow: none;
154-
}
155-
156129
.uppy-c-btn-primary.uppy-c-btn--disabled {
157130
background-color: color-mix(in srgb, var(--color-secondary) 45%, var(--color-gray-300));
158131
}
@@ -179,24 +152,4 @@
179152
padding: 13px 18px;
180153
}
181154

182-
[data-uppy-theme="dark"] .uppy-c-btn-link {
183-
color: var(--color-content);
184-
}
185-
186-
[data-uppy-theme="dark"] .uppy-c-btn-link:focus {
187-
outline: none;
188-
}
189-
190-
[data-uppy-theme="dark"] .uppy-c-btn-link::-moz-focus-inner {
191-
border: 0;
192-
}
193-
194-
[data-uppy-theme="dark"] .uppy-c-btn-link:focus {
195-
box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-secondary) 85%, transparent);
196-
}
197-
198-
[data-uppy-theme="dark"] .uppy-c-btn-link:hover {
199-
color: var(--color-content-active);
200-
}
201-
202155
/* stylelint-enable */

0 commit comments

Comments
 (0)