Skip to content

Commit

Permalink
chore: css var comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zackspear committed Jun 25, 2024
1 parent b29964e commit ba98266
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions emhttp/plugins/dynamix/styles/default-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1502,6 +1502,8 @@ pre#swalbody p {
* Using CSS Nesting, to narrow down the scope of the styles to the .Theme--sidebar class.
* This allows us to have default-azure & default-gray set css variables
*
* @todo check version of included Firefox in Unraid OS gui
*
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector
* @see https://caniuse.com/?search=nesting
Expand Down
4 changes: 2 additions & 2 deletions emhttp/plugins/dynamix/styles/default-black.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--text-color: var(--gray-100);
--text-color: var(--gray-100);
--blockquote-text-color: var(--gray-800);
--alt-text-color: var(--gray-500);
--disabled-text-color: var(--gray-500);
Expand Down Expand Up @@ -55,4 +55,4 @@

--input-border-color: var(--gray-200);
--input-bg-color: transparent;
}
}
2 changes: 1 addition & 1 deletion emhttp/plugins/dynamix/styles/default-color-pallet.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

--gray-000: var(--white);
--gray-100: #f2f2f2;
--gray-120: rgba(242, 242, 242, 0.2); /* Consdensed from rgba(237, 234, 239, 0.2). && 242, 242, 242 == --gray-100 */
--gray-120: rgba(242, 242, 242, 0.2); /* Condensed from rgba(237, 234, 239, 0.2). && 242, 242, 242 == --gray-100 */
--gray-150: #e8e8e8; /* Condensed from: #e4e2e4 */
--gray-200: #d3d3d3; /* Condensed from: #d9d9d9 #dcdcdc #d4d5d6 #e2e2e2 #e5e5e5 */
--gray-300: #cccccc; /* Condensed from: gray #c0c0c0 #a8a8a8 #c7c5cb #b0b0b0 */
Expand Down

0 comments on commit ba98266

Please sign in to comment.