Skip to content

Commit

Permalink
[TASK] Remove deprecated CSS custom properties
Browse files Browse the repository at this point in the history
  • Loading branch information
deoostfrees committed Apr 7, 2024
1 parent 6ca65e7 commit 75a7dc4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions dist/css/parvus.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
:root {
--parvus-transition-duration: 300ms;
--parvus-transition-timing-function: cubic-bezier(0.62, 0.16, 0.13, 1.01);
--parvus-background-color: var(--parvus-overlay-color, hsl(23deg 40% 96%));
--parvus-color: var(--parvus-overlay-text, hsl(228deg 24% 23%));
--parvus-btn-background-color: var(--parvus-button-color, hsl(228deg 24% 23%));
--parvus-btn-color: var(--parvus-button-text, hsl(0deg 0% 100%));
--parvus-btn-hover-background-color: var(--parvus-button-hover-color, hsl(229deg 24% 33%));
--parvus-btn-hover-color: var(--parvus-button-hover-text, hsl(0deg 0% 100%));
--parvus-btn-disabled-background-color: hsla(229, 24%, 33%, 0.6);
--parvus-background-color: hsl(23deg 44% 96%);
--parvus-color: hsl(228deg 24% 23%);
--parvus-btn-background-color: hsl(228deg 24% 23%);
--parvus-btn-color: hsl(0deg 0% 100%);
--parvus-btn-hover-background-color: hsl(229deg 24% 33%);
--parvus-btn-hover-color: hsl(0deg 0% 100%);
--parvus-btn-disabled-background-color: hsla(229deg 24% 33% / 60%);
--parvus-btn-disabled-color: hsl(0deg 0% 100%);
--parvus-caption-background-color: transparent;
--parvus-caption-color: hsl(228deg 24% 23%);
--parvus-loading-error-background-color: var(--parvus-error-loading-error-background-color, hsl(0deg 0% 100%));
--parvus-loading-error-background-color: hsl(0deg 0% 100%);
--parvus-loading-error-color: hsl(228deg 24% 23%);
--parvus-loader-background-color: hsl(23deg 40% 96%);
--parvus-loader-color: hsl(228deg 24% 23%);
Expand Down
2 changes: 1 addition & 1 deletion dist/css/parvus.min.css

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

16 changes: 8 additions & 8 deletions src/scss/parvus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
--parvus-transition-timing-function: cubic-bezier(0.62, 0.16, 0.13, 1.01);

// Overlay
--parvus-background-color: var(--parvus-overlay-color, hsl(23deg 40% 96%));
--parvus-color: var(--parvus-overlay-text, hsl(228deg 24% 23%));
--parvus-background-color: hsl(23deg 44% 96%);
--parvus-color: hsl(228deg 24% 23%);

// Button
--parvus-btn-background-color: var(--parvus-button-color, hsl(228deg 24% 23%));
--parvus-btn-color: var(--parvus-button-text, hsl(0deg 0% 100%));
--parvus-btn-hover-background-color: var(--parvus-button-hover-color, hsl(229deg 24% 33%));
--parvus-btn-hover-color: var(--parvus-button-hover-text, hsl(0deg 0% 100%));
--parvus-btn-disabled-background-color: hsla(229, 24%, 33%, 0.6);
--parvus-btn-background-color: hsl(228deg 24% 23%);
--parvus-btn-color: hsl(0deg 0% 100%);
--parvus-btn-hover-background-color: hsl(229deg 24% 33%);
--parvus-btn-hover-color: hsl(0deg 0% 100%);
--parvus-btn-disabled-background-color: hsla(229deg 24% 33% / 60%);
--parvus-btn-disabled-color: hsl(0deg 0% 100%);

// Caption
--parvus-caption-background-color: transparent;
--parvus-caption-color: hsl(228deg 24% 23%);

// Loading error
--parvus-loading-error-background-color: var(--parvus-error-loading-error-background-color, hsl(0deg 0% 100%));
--parvus-loading-error-background-color: hsl(0deg 0% 100%);
--parvus-loading-error-color: hsl(228deg 24% 23%);

// Loader
Expand Down

0 comments on commit 75a7dc4

Please sign in to comment.