Skip to content

Commit

Permalink
(chore): css variables
Browse files Browse the repository at this point in the history
  • Loading branch information
YvetteNikolov committed Oct 24, 2023
1 parent 5682d39 commit e3d115c
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 25 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"plugin/owc-gravityforms-bag-address": "1.1.*",
"plugin/owc-gravityforms-digid": "1.1.7",
"plugin/owc-gravityforms-eherkenning": "dev-master",
"plugin/owc-gravityforms-zaaksysteem": "dev-feat/remove-enable-u-add-individual-service-urls-frontend",
"plugin/owc-gravityforms-zaaksysteem": "dev-feat/remove-enable-u-add-individual-service-urls",
"plugin/owc-gravityforms-zaaksysteem-enable-u": "^1.1.0",
"plugin/prefill-gravity-forms": "^1.0.14",
"plugin/real-time-validation-for-gravity-forms": "^1.7",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion htdocs/wp-content/themes/buren/assets/scss/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import 'settings/design-token-variables';
@import 'settings/colors';
@import 'settings/bootstrap';
@import 'settings/global';
@import 'settings/root';

/*--------------------------------------------------------------
Parent theme
Expand Down
24 changes: 24 additions & 0 deletions htdocs/wp-content/themes/buren/assets/scss/settings/_root.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:root {
scroll-behavior: smooth;

--color-palette-primary: #{$buren-color-rood-50};
--color-palette-secondary: #fbbe04;

--typography-font-size-small: #{$small-font-size};
--typography-font-size-medium: #{$font-size-base};
--typography-font-size-lead: #{$lead-font-size};

--layout-content-size: 800px;
--layout-wide-size: #{map-get( $container-max-widths, 'xl' )};

/* --------------------------------------------------------------
Overwrite CSS variables
-------------------------------------------------------------- */
--zaak-tabs-link-active-border-color: #{$buren-color-rood-50};
--zaak-header-title-border-bottom: 2px solid #{$buren-color-rood-50};
--zaak-header-title-border-left: 2px solid #{$buren-color-rood-50};

.zaak-process-steps {
--zaak-process-steps-color-succes: #{$buren-color-rood-50};
}
}
2 changes: 1 addition & 1 deletion htdocs/wp-content/themes/buren/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import 'settings/design-token-variables'; // Todo: refractor to CSS variables
@import 'settings/colors';
@import 'settings/bootstrap';
@import 'settings/global';
@import 'settings/root';
@import 'tools/mixins';
@import 'settings/variables';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import 'settings/design-token-variables';
@import 'settings/colors';
@import 'settings/bootstrap';
@import 'settings/global';
@import 'settings/root';

/*--------------------------------------------------------------
Parent theme
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import 'settings/design-token-variables';
@import 'settings/colors';
@import 'settings/bootstrap';
@import 'settings/global';
@import 'settings/root';
@import 'tools/mixins';

/*--------------------------------------------------------------
Expand Down

0 comments on commit e3d115c

Please sign in to comment.