Skip to content

Commit

Permalink
[TASK] Typo/ Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
deoostfrees committed Apr 21, 2024
1 parent fe8f197 commit 4c00561
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
11 changes: 3 additions & 8 deletions src/css/themes/default/_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
--body-background-color: var(--color-neutral-900);
--body-color: var(--color-neutral-100);


/**
* Focus
*
*/
--focus-background-color: var(--yellow);
--focus-color: var(--color-neutral-900);


/**
* Links
*
Expand Down Expand Up @@ -46,15 +44,13 @@
--table-tbody-th-border-color: var(--color-neutral-800);
--table-tbody-td-border-color: var(--color-neutral-800);


/**
* Code
*
*/
--code-background-color: var(--color-neutral-800);
--code-color: var(--color-neutral-100);


/**
* Buttons
*
Expand Down Expand Up @@ -82,7 +78,6 @@
--button-secondary-hover-border-color: var(--color-neutral-100);
--button-secondary-hover-color: var(--color-neutral-900);


/**
* Forms
*
Expand All @@ -92,6 +87,9 @@
--input-background-color: var(--color-neutral-100);
--input-border-color: var(--color-neutral-500);
--input-color: var(--color-neutral-900);
--input-invalid-background-color: var(--color-red-100);
--input-invalid-border-color: var(--color-red-200);
--input-invalid-color: var(--color-red-600);

/* Checkbox */
--check-background-color: var(--color-neutral-100);
Expand All @@ -113,7 +111,6 @@
--button-file-input-border-color: var(--color-neutral-900);
--button-file-input-color: var(--color-neutral-100);


/**
* Theme switcher
*
Expand All @@ -124,7 +121,6 @@
--theme-switcher-active-background-color: var(--color-neutral-900);
--theme-switcher-active-color: var(--color-neutral-100);


/**
* Accordion
*
Expand All @@ -135,7 +131,6 @@
--accordion-content-background-color: transparent;
--accordion-content-color: var(--color-neutral-100);


/**
* Alert
*
Expand Down
6 changes: 0 additions & 6 deletions src/css/themes/default/_light.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
--body-background-color: var(--white);
--body-color: var(--color-neutral-900);


/**
* Focus
*
*/
--focus-background-color: var(--yellow);
--focus-color: var(--color-neutral-900);


/**
* Links
*
Expand Down Expand Up @@ -80,7 +78,6 @@
--button-secondary-hover-border-color: var(--primary-color);
--button-secondary-hover-color: var(--white);


/**
* Forms
*
Expand Down Expand Up @@ -114,7 +111,6 @@
--button-file-input-border-color: var(--primary-color);
--button-file-input-color: var(--white);


/**
* Theme switcher
*
Expand All @@ -125,7 +121,6 @@
--theme-switcher-active-background-color: var(--white);
--theme-switcher-active-color: var(--primary-color);


/**
* Accordion
*
Expand All @@ -136,7 +131,6 @@
--accordion-content-background-color: transparent;
--accordion-content-color: var(--color-neutral-900);


/**
* Alert
*
Expand Down
2 changes: 2 additions & 0 deletions src/js/ratata.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
* Toggle color scheme
*
*/
if (document.querySelector('.btn--color-scheme-switch') !== null) {
import('./libs/_toggle-color-scheme.js')
Expand All @@ -10,6 +11,7 @@ if (document.querySelector('.btn--color-scheme-switch') !== null) {

/**
* Accordion
*
*/
if (document.querySelector('.accordion') !== null) {
import('./libs/_accordion.js')
Expand Down

0 comments on commit 4c00561

Please sign in to comment.