Skip to content

Commit

Permalink
Merge branch 'main' into fix/theme-style-bleeding-button-and-titles
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoni authored Feb 24, 2024
2 parents 959eb70 + 024e7fa commit e2f0e94
Show file tree
Hide file tree
Showing 15 changed files with 71 additions and 350 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/submodule-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer:v1
tools: composer:v2
env:
fail-fast: true

Expand Down
1 change: 1 addition & 0 deletions _all.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* ----------------------------------------------------------------------------- */

/* Variables - needed everywhere. */
@import "variables/_media-queries.pcss";
@import "variables/_svgs.pcss";

/* Mixins */
Expand Down
1 change: 0 additions & 1 deletion _variables-skeleton.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* ----------------------------------------------------------------------------- */

/* Variables - needed for structure. */
@import "variables/_media-queries.pcss";
@import "variables/_grids.pcss";
@import "variables/_spacers.pcss";
@import "variables/_z-index.pcss";
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
"license": "Private",
"require": {
"composer/installers": "~1.0"
},
"config": {
"allow-plugins": {
"composer/installers": true
}
}
}
17 changes: 0 additions & 17 deletions variables/_borders.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,4 @@
* ----------------------------------------------------------------------------- */

--tec-border-width-week-event: 2px;

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Borders - Radius
* ----------------------------------------------------------------------------- */

--border-radius-default: var(--tec-border-radius-default);

/* -----------------------------------------------------------------------------
* Borders - Width
* ----------------------------------------------------------------------------- */

--border-width-week-event: var(--tec-border-width-week-event);
}
14 changes: 0 additions & 14 deletions variables/_box-shadows.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,4 @@
--tec-box-shadow-tooltip: 0 2px 12px 0 var(--tec-color-box-shadow);
--tec-box-shadow-card: 0 1px 6px 2px var(--tec-color-box-shadow);
--tec-box-shadow-multiday: 16px 6px 6px -2px var(--tec-color-box-shadow-secondary);

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Box Shadows
* ----------------------------------------------------------------------------- */

--box-shadow-default: var(--tec-box-shadow-default);
--box-shadow-tooltip: var(--tec-box-shadow-tooltip);
--box-shadow-card: var(--tec-box-shadow-card);
--box-shadow-multiday: var(--tec-box-shadow-multiday);
}
66 changes: 1 addition & 65 deletions variables/_colors.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
* ----------------------------------------------------------------------------- */

--tec-color-link-primary: var(--tec-color-text-primary);
--tec-color-link-accent: var(--tec-color-accent-primary);
--tec-color-link-accent-hover: rgba(51, 74, 255, 0.8);

/* -----------------------------------------------------------------------------
Expand Down Expand Up @@ -96,69 +97,4 @@
--tec-color-accent-primary-week-event-featured-hover: rgba(51, 74, 255, 0.14);
--tec-color-background-secondary-datepicker: var(--tec-color-background-secondary);
--tec-color-accent-primary-background-datepicker: var(--tec-color-accent-primary-background);

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Colors - Typography
* ----------------------------------------------------------------------------- */

--color-text-primary: var(--tec-color-text-primary);
--color-text-primary-light: var(--tec-color-text-primary-light);
--color-text-secondary: var(--tec-color-text-secondary);
--color-text-disabled: var(--tec-color-text-disabled);

/* -----------------------------------------------------------------------------
* Colors - Iconography
* ----------------------------------------------------------------------------- */

--color-icon-primary: var(--tec-color-icon-primary);
--color-icon-primary-alt: var(--tec-color-icon-primary);
--color-icon-secondary: var(--tec-color-icon-secondary);
--color-icon-active: var(--tec-color-icon-active);
--color-icon-disabled: var(--tec-color-icon-disabled);
--color-icon-focus: var(--tec-color-icon-focus);
--color-icon-error: var(--tec-color-icon-error);

/* -----------------------------------------------------------------------------
* Colors - UI
* ----------------------------------------------------------------------------- */

--color-accent-primary: var(--tec-color-accent-primary);
--color-accent-primary-hover: var(--tec-color-accent-primary-hover);
--color-accent-primary-active: var(--tec-color-accent-primary-active);
--color-accent-primary-background: var(--tec-color-accent-primary-background);
--color-accent-primary-multiday: var(--tec-color-accent-primary-multiday);
--color-accent-primary-multiday-hover: var(--tec-color-accent-primary-multiday-hover);
--color-accent-primary-week-event: var(--tec-color-accent-primary-week-event);
--color-accent-primary-week-event-hover: var(--tec-color-accent-primary-week-event-hover);
--color-accent-primary-week-event-featured: var(--tec-color-accent-primary-week-event-featured);
--color-accent-primary-week-event-featured-hover: var(--tec-color-accent-primary-week-event-featured-hover);
--color-accent-secondary: var(--tec-color-accent-secondary);
--color-accent-secondary-hover: var(--tec-color-accent-secondary-hover);
--color-accent-secondary-active: var(--tec-color-accent-secondary-active);
--color-accent-secondary-background: var(--tec-color-accent-secondary-background);

/* -----------------------------------------------------------------------------
* Colors - Borders & Misc
* ----------------------------------------------------------------------------- */

--color-border-default: var(--tec-color-border-default);
--color-border-secondary: var(--tec-color-border-secondary);
--color-border-tertiary: var(--tec-color-border-tertiary);
--color-border-hover: var(--tec-color-border-hover);
--color-border-active: var(--tec-color-border-active);
--color-background: var(--tec-color-background);
--color-background-transparent: var(--tec-color-background-transparent);
--color-background-secondary: var(--tec-color-background-secondary);
--color-background-messages: var(--tec-color-background-messages);
--color-background-secondary-hover: var(--tec-color-background-secondary-hover);
--color-background-error: var(--tec-color-icon-error);
--color-box-shadow: var(--tec-color-box-shadow);
--color-box-shadow-secondary: var(--tec-color-box-shadow-secondary);
--color-scroll-track: var(--tec-color-scroll-track);
--color-scroll-bar: var(--tec-color-scroll-bar);
}
21 changes: 0 additions & 21 deletions variables/_forms.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,4 @@
* ----------------------------------------------------------------------------- */

--tec-form-box-shadow-default: var(--tec-box-shadow-default);

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Forms - Colors
* ----------------------------------------------------------------------------- */

--form-color-background: var(--tec-form-color-background);
--form-color-border-default: var(--tec-form-color-border-default);
--form-color-border-active: var(--tec-form-color-border-active);
--form-color-border-secondary: var(--tec-form-color-border-secondary);
--form-color-accent-primary: var(--tec-form-color-accent-primary);

/* -----------------------------------------------------------------------------
* Forms - Box Shadows
* ----------------------------------------------------------------------------- */

--form-box-shadow-default: var(--tec-form-box-shadow-default);
}
45 changes: 0 additions & 45 deletions variables/_grids.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -38,49 +38,4 @@
--tec-grid-width-1-of-7: 14.285%;
--tec-grid-width-1-of-8: 12.5%;
--tec-grid-width-1-of-9: 11.111%;

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Gutter - Default
* ----------------------------------------------------------------------------- */

--grid-gutter: var(--tec-grid-gutter);
--grid-gutter-negative: var(--tec-grid-gutter-negative);
--grid-gutter-half: var(--tec-grid-gutter-half);
--grid-gutter-half-negative: var(--tec-grid-gutter-half-negative);
--grid-gutter-small: var(--tec-grid-gutter-small);
--grid-gutter-small-negative: var(--tec-grid-gutter-small-negative);
--grid-gutter-small-half: var(--tec-grid-gutter-small-half);
--grid-gutter-small-half-negative: var(--tec-grid-gutter-small-half-negative);

/* -----------------------------------------------------------------------------
* Gutter - Page
* ----------------------------------------------------------------------------- */

--grid-gutter-page: var(--tec-grid-gutter-page);
--grid-gutter-page-small: var(--tec-grid-gutter-page-small);

/* -----------------------------------------------------------------------------
* Grid Width - Default
* ----------------------------------------------------------------------------- */

--grid-width-default: var(--tec-grid-width-default);
--grid-width-min: var(--tec-grid-width-min);
--grid-width: var(--tec-grid-width);

/* -----------------------------------------------------------------------------
* Grid Width - Relative
* ----------------------------------------------------------------------------- */

--grid-width-1-of-2: var(--tec-grid-width-1-of-2);
--grid-width-1-of-3: var(--tec-grid-width-1-of-3);
--grid-width-1-of-4: var(--tec-grid-width-1-of-4);
--grid-width-1-of-5: var(--tec-grid-width-1-of-5);
--grid-width-1-of-7: var(--tec-grid-width-1-of-7);
--grid-width-1-of-8: var(--tec-grid-width-1-of-8);
--grid-width-1-of-9: var(--tec-grid-width-1-of-9);
}
15 changes: 0 additions & 15 deletions variables/_opacities.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,4 @@
--tec-opacity-icon-hover: 0.8;
--tec-opacity-icon-active: 0.9;
--tec-opacity-default: 1;

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Opacities
* ----------------------------------------------------------------------------- */

--opacity-background: var(--tec-opacity-background);
--opacity-select-highlighted: var(--tec-opacity-select-highlighted);
--opacity-icon-hover: var(--tec-opacity-icon-hover);
--opacity-icon-active: var(--tec-opacity-icon-active);
--opacity-default: var(--tec-opacity-default);
}
25 changes: 0 additions & 25 deletions variables/_spacers.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,4 @@
--tec-spacer-12: 80px;
--tec-spacer-13: 96px;
--tec-spacer-14: 160px;

/* -----------------------------------------------------------------------------
* For backwards Compatibility with plugins that have not been updated yet.
* Remove these once all plugins have been updated to use the namespaced vars.
* ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
* Spacers
* ----------------------------------------------------------------------------- */

--spacer-0: var(--tec-spacer-0);
--spacer-1: var(--tec-spacer-1);
--spacer-2: var(--tec-spacer-2);
--spacer-3: var(--tec-spacer-3);
--spacer-4: var(--tec-spacer-4);
--spacer-5: var(--tec-spacer-5);
--spacer-6: var(--tec-spacer-6);
--spacer-7: var(--tec-spacer-7);
--spacer-8: var(--tec-spacer-8);
--spacer-9: var(--tec-spacer-9);
--spacer-10: var(--tec-spacer-10);
--spacer-11: var(--tec-spacer-11);
--spacer-12: var(--tec-spacer-12);
--spacer-13: var(--tec-spacer-13);
--spacer-14: var(--tec-spacer-14);
}
Loading

0 comments on commit e2f0e94

Please sign in to comment.