Skip to content

Commit

Permalink
Merge pull request #68 from GabriellReis14/main
Browse files Browse the repository at this point in the history
Fix: Remove directly import of font-family in root
  • Loading branch information
mertsincan authored Oct 9, 2024
2 parents 4e70374 + b72dc68 commit 955e94e
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 84 deletions.
7 changes: 1 addition & 6 deletions themes/arya/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -908,12 +908,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$shade800};
--surface-b: #{$shade900};
--surface-c: #{$hoverBg};
Expand Down
7 changes: 1 addition & 6 deletions themes/bootstrap4/bootstrap4-dark/_variables_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -852,12 +852,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$shade800};
--surface-b: #{$shade900};
--surface-c: #{$hoverBg};
Expand Down
7 changes: 1 addition & 6 deletions themes/bootstrap4/bootstrap4-light/_variables_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -853,12 +853,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$shade000};
--surface-b: #{$shade100};
--surface-c: #{$shade200};
Expand Down
7 changes: 1 addition & 6 deletions themes/fluent/fluent-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -910,12 +910,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$white};
--surface-b: #{$neutralLighterAlt};
--surface-c: #{$neutralLighter};
Expand Down
3 changes: 1 addition & 2 deletions themes/lara/lara-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -857,10 +857,9 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: "Inter var", sans-serif;
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
font-variation-settings: normal;
--font-family: "Inter var", sans-serif;
--font-family: #{$fontFamily};
--font-feature-settings: "cv02", "cv03", "cv04", "cv11";
--surface-a: #{$shade800};
--surface-b: #{$shade900};
Expand Down
3 changes: 1 addition & 2 deletions themes/lara/lara-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -857,10 +857,9 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: "Inter var", sans-serif;
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
font-variation-settings: normal;
--font-family: "Inter var", sans-serif;
--font-family: #{$fontFamily};
--font-feature-settings: "cv02", "cv03", "cv04", "cv11";
--surface-a: #{$shade000};
--surface-b: #{$shade100};
Expand Down
7 changes: 1 addition & 6 deletions themes/luna/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -830,12 +830,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #191919;
--surface-b: #191919;
--surface-c: #4c4c4c;
Expand Down
5 changes: 1 addition & 4 deletions themes/material/material-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -856,10 +856,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica,
Arial, "Lucida Grande", sans-serif;
--font-family: Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica,
Arial, "Lucida Grande", sans-serif;
--font-family: #{$fontFamily};
--surface-a: #1e1e1e;
--surface-b: #121212;
--surface-c: hsla(0, 0%, 100%, 0.04);
Expand Down
5 changes: 1 addition & 4 deletions themes/material/material-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -856,10 +856,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica,
Arial, "Lucida Grande", sans-serif;
--font-family: Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica,
Arial, "Lucida Grande", sans-serif;
--font-family: #{$fontFamily};
--surface-a: #ffffff;
--surface-b: #fafafa;
--surface-c: rgba(0, 0, 0, 0.04);
Expand Down
3 changes: 1 addition & 2 deletions themes/mira/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -887,8 +887,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: "Inter", sans-serif;
--font-family: "Inter", sans-serif;
--font-family: #{$fontFamily};
--surface-a: #{$white};
--surface-b: #{$white100};
--surface-c: #{$white300};
Expand Down
7 changes: 1 addition & 6 deletions themes/nano/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -914,12 +914,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$shade000};
--surface-b: #{$shade100};
--surface-c: #{$shade200};
Expand Down
7 changes: 1 addition & 6 deletions themes/nova/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -829,12 +829,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #ffffff;
--surface-b: #f4f4f4;
--surface-c: #eaeaea;
Expand Down
7 changes: 1 addition & 6 deletions themes/rhea/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -846,12 +846,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #ffffff;
--surface-b: #f4f4f4;
--surface-c: #eaeaea;
Expand Down
7 changes: 1 addition & 6 deletions themes/saga/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -909,12 +909,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$shade000};
--surface-b: #{$shade100};
--surface-c: #{$shade200};
Expand Down
3 changes: 1 addition & 2 deletions themes/soho/soho-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Lato, Helvetica, sans-serif;
--font-family: Lato, Helvetica, sans-serif;
--font-family: #{$fontFamily};
--surface-a: #{$shade800};
--surface-b: #{$shade900};
--surface-c: #{$hoverBg};
Expand Down
3 changes: 1 addition & 2 deletions themes/soho/soho-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Lato, Helvetica, sans-serif;
--font-family: Lato, Helvetica, sans-serif;
--font-family: #{$fontFamily};
--surface-a: #{$shade000};
--surface-b: #{$shade100};
--surface-c: #{$shade200};
Expand Down
3 changes: 1 addition & 2 deletions themes/tailwind/tailwind-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-family: #{$fontFamily};
--surface-a: #{$shade000};
--surface-b: #{$shade100};
--surface-c: #{$shade200};
Expand Down
7 changes: 1 addition & 6 deletions themes/vela/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -907,12 +907,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--font-family: #{$fontFamily};
--surface-a: #{$shade800};
--surface-b: #{$shade900};
--surface-c: #{$hoverBg};
Expand Down
3 changes: 1 addition & 2 deletions themes/viva/viva-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Poppins, sans-serif;
--font-family: Poppins, sans-serif;
--font-family: #{$fontFamily};
--surface-a: #{$shade800};
--surface-b: #{$shade900};
--surface-c: #{$hoverBg};
Expand Down
3 changes: 1 addition & 2 deletions themes/viva/viva-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,7 @@ $imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

:root {
font-family: Poppins, sans-serif;
--font-family: Poppins, sans-serif;
--font-family: #{$fontFamily};
--surface-a: #{$shade000};
--surface-b: #{$shade100};
--surface-c: #{$shade200};
Expand Down

0 comments on commit 955e94e

Please sign in to comment.