Skip to content

Commit

Permalink
remove @import (#1914)
Browse files Browse the repository at this point in the history
* remove @import

* fix page titles
  • Loading branch information
ebrehault authored Jan 15, 2025
1 parent e3f9338 commit bbdf093
Show file tree
Hide file tree
Showing 229 changed files with 640 additions and 526 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/src/_variables.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import '../../../libs/sistema/styles/variables';
@forward '../../../libs/sistema/styles/variables';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.account-home {
max-width: calc(#{rhythm(90)} * 2);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.account-kbs {
h2 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.users-dialog {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

label {
display: block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

h1 {
margin-bottom: rhythm(4);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

h2 {
margin: 0 0 rhythm(1) 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.nua-form {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.nua-activity {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.account-status {
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.account-users {
h2 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.billing {
background-color: $color-neutral-lightest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.checkout {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.history {
max-width: calc(rhythm(90) + rhythm(24));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.my-subscription {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

h2 {
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

pa-modal-content {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

h2 {
margin: 0 0 rhythm(1);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.manual-subscription {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.header {
margin-bottom: rhythm(5);
Expand Down Expand Up @@ -61,7 +61,7 @@ h2 {
}
}

pa-icon[name="check"] {
pa-icon[name='check'] {
color: $color-primary-regular;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;
.budget-input {
align-items: center;
color: $color-neutral-regular;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

header {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.usage-container {
max-width: calc(rhythm(90) + rhythm(6));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.radio-content {
margin-left: rhythm(2);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.total {
margin-bottom: rhythm(4);
Expand Down Expand Up @@ -38,4 +38,4 @@
.unit {
color: $color-neutral-regular;
font-weight: $font-weight-regular;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.primary-tabs {
display: block;
Expand Down
6 changes: 3 additions & 3 deletions apps/dashboard/src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables';

.version {
position: fixed;
bottom: 0;
right: 0;
font-weight: $font-weight-thin;
color: $color-neutral-regular;
font-weight: variables.$font-weight-thin;
color: variables.$color-neutral-regular;
background-color: transparent;
font-size: font-size(xxs);
padding-right: rhythm(0.5);
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/farewell/farewell.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.message {
padding-bottom: rhythm(32);
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/farewell/feedback.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.message {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.usage-modal-chart-container {
margin-left: calc(-1 * #{rhythm(2)});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.knowledge-box-home {
--width-small-column: #{rhythm(48)};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.knowledge-box-keys {
h2 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

h2 {
margin-bottom: rhythm(6);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

h3 {
margin-bottom: rhythm(2);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.service-access-container {
h4 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.main-container {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.step-indicator-container {
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.main-container {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.upload-list-container {
.upload-list {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.main-container {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../variables';
@use 'apps/dashboard/src/variables' as *;

.setup-invite {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

pa-modal-content .start {
margin-top: rhythm(4);
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/redirect/redirect.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

:host {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/synonyms/synonyms.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

:host {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/test-page/test-page.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/dashboard/src/variables';
@use 'apps/dashboard/src/variables' as *;

.topbar {
background-color: $color-light-stronger;
Expand Down
6 changes: 3 additions & 3 deletions apps/dashboard/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import 'libs/sistema/theme/fonts';
@import 'libs/pastanaga-angular/projects/pastanaga-angular/src/styles/core';
@import 'libs/sistema/styles/apps-common';
@use 'libs/sistema/theme/fonts';
@use 'libs/pastanaga-angular/projects/pastanaga-angular/src/styles/core';
@use 'libs/sistema/styles/apps-common';

:root {
--app-background-color: $color-light-stronger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

header {
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion apps/manager-v2/src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

.version {
position: fixed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

.account-info {
background: $color-neutral-lightest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

:host {
form {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

form {
gap: rhythm(3);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

:host {
form {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'variables';
@use 'apps/manager-v2/src/variables' as *;

.space-between {
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

.limit-form {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

form {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

:host {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/manager-v2/src/variables';
@use 'apps/manager-v2/src/variables' as *;

:host {
.manager-container {
Expand Down
2 changes: 1 addition & 1 deletion apps/manager-v2/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use 'apps/manager-v2/src/variables' as *;
@import 'libs/sistema/theme/fonts';
@import 'libs/pastanaga-angular/projects/pastanaga-angular/src/styles/core';
@import 'libs/sistema/styles/apps-common';
@import 'variables';

:root {
--app-background-color: $color-light-stronger;
Expand Down
2 changes: 1 addition & 1 deletion apps/nucliadb-admin/src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/nucliadb-admin/src/variables';
@use 'apps/nucliadb-admin/src/variables' as *;

.version {
position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion apps/nucliadb-admin/src/app/home/home-page.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'apps/nucliadb-admin/src/variables';
@use 'apps/nucliadb-admin/src/variables' as *;

.home-page {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion apps/sistema-demo/src/_variables.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import '../../../libs/pastanaga-angular/projects/pastanaga-angular/src/styles/variables';
@forward '../../../libs/pastanaga-angular/projects/pastanaga-angular/src/styles/variables';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../../../variables';
@use 'apps/sistema-demo/src/variables' as *;

.form-container {
display: flex;
Expand Down
Loading

0 comments on commit bbdf093

Please sign in to comment.