Browse Source

Add all: initial, remove “UppyTheme”, start adding uppy- prefix

Artur Paikin 7 years ago
parent
commit
61c9130b04
1 changed files with 10 additions and 12 deletions
  1. 10 12
      src/scss/_common.scss

+ 10 - 12
src/scss/_common.scss

@@ -2,11 +2,19 @@
 * General Uppy styles that apply to everything inside the .Uppy container
 */
 
-.Uppy {
+.uppy {
+  all: initial;
   box-sizing: border-box;
+  font-family: -apple-system, BlinkMacSystemFont,
+    'avenir next', avenir,
+    helvetica, 'helvetica neue',
+    ubuntu, roboto, noto,
+    'segoe ui', arial, sans-serif;
+  line-height: 1;
+  // -webkit-font-smoothing: antialiased;
 }
 
-.Uppy *, .Uppy *:before, .Uppy *:after {
+.uppy *, .uppy *:before, .uppy *:after {
   box-sizing: inherit;
 }
 
@@ -28,16 +36,6 @@
   position: relative;
 }
 
-.UppyTheme--default {
-  font-family: -apple-system, BlinkMacSystemFont,
-               'avenir next', avenir,
-               helvetica, 'helvetica neue',
-               ubuntu, roboto, noto,
-               'segoe ui', arial, sans-serif;
-  line-height: 1;
-  -webkit-font-smoothing: antialiased;
-}
-
 // Buttons
 
 .UppyButton--circular {