Skip to content

Commit

Permalink
update utilities usage
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaint committed Jun 14, 2024
1 parent 17b7821 commit 1317e89
Show file tree
Hide file tree
Showing 38 changed files with 44 additions and 41 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @import 'theme';
// @import 'utilities';
// @use 'utilities';

// $phoneColor: daff-map-deep-get($theme, "core.base");
// $phoneShadow: daff-illuminate($phoneColor, $daff-neutral, 3);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'demo-theme';
@import 'utilities';
@use 'utilities';

.demo-add-to-cart-notification {
background-color: demo-theme.$white;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'demo-theme';
@import 'utilities';
@use 'utilities';

.demo-product-added {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-cart-item-count {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'demo-theme';
@import 'utilities';
@use 'utilities';

.demo-cart-item {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import 'utilities';
@use 'utilities';
@import 'theme';
@use '../../../../scss/mixins/dividers' as *;

.demo-cart-sidebar {
&__summary {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import 'utilities';
@use 'utilities';
@import 'theme';
@use '../../../../scss/mixins/dividers' as *;

.demo-cart-summary-wrapper {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import 'utilities';
@use 'utilities';
@import 'theme';
@use '../../../../scss/mixins/dividers' as *;

.demo-cart-summary {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

:host {
display: block;
Expand Down
3 changes: 2 additions & 1 deletion apps/demo/src/app/cart/components/cart/cart.component.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import 'utilities';
@use 'utilities' as *;
@import 'theme';
@use '../../../../scss/mixins/dividers' as *;

:host {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'demo-theme';
@import 'utilities';
@use 'utilities';

:host {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-cart-view {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-address-form {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-billing-summary {
font-size: $small-font-size;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-payment-form {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-payment-info-form {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-payment-summary {
font-size: $small-font-size;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-shipping-address-form {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-shipping-address-summary {
font-size: $small-font-size;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-shipping-form {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-checkout-shipping-options {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-checkout-shipping-summary {
font-size: $small-font-size;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-checkout {
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/src/app/core/footer/footer.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

:host {
display: block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@import 'utilities';
@use 'utilities';
@import 'theme';
@use '../../../../../scss/mixins/dividers' as *;

.demo-header {
padding: 0;
@include section-divider;
@include section-divider();

&__menu {
border-right: 1px solid daff-color($daff-neutral, 20);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-sidebar-list {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'demo-theme';
@import 'utilities';
@use 'utilities';

.demo-sidebar {
padding: 75px 25px 0;
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/src/app/misc/help-box/help-box.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-help-box {
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/src/app/misc/not-found/not-found.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-not-found {
padding-top: 50px;
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/src/app/newsletter/newsletter.component.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'demo-theme';
@import 'utilities';
@use 'utilities';

:host {
display: block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-add-to-cart {
display: inline-block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-product-card {
border: none;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

:host {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';
@import 'theme';

.demo-product {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'utilities';
@use 'utilities';

.demo-best-sellers {
&__title {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import 'utilities';
@use 'utilities';
@import 'theme';
@use '../../../../scss/mixins/dividers' as *;

.demo-thank-you {
padding: 25px 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import 'theme';
@import 'utilities';
@use 'utilities';

.demo-thank-you-view {
padding: 24px 15px;
Expand Down
3 changes: 0 additions & 3 deletions apps/demo/src/scss/utilities.scss

This file was deleted.

0 comments on commit 1317e89

Please sign in to comment.