Skip to content
Snippets Groups Projects
Verified Commit ba9606dd authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: slight color adjustments

parent 36411261
No related branches found
No related tags found
No related merge requests found
...@@ -81,15 +81,15 @@ ...@@ -81,15 +81,15 @@
@define-mixin defaultColorProperty { @define-mixin defaultColorProperty {
/** PRIMARY */ /** PRIMARY */
--monster-color-primary-1: var(--monster-color-cinnamon-6); --monster-color-primary-1: var(--monster-color-gray-6);
--monster-color-primary-2: var(--monster-color-cinnamon-6); --monster-color-primary-2: var(--monster-color-gray-6);
--monster-color-primary-3: var(--monster-color-cinnamon-1); --monster-color-primary-3: var(--monster-color-cinnamon-1);
--monster-color-primary-4: var(--monster-color-cinnamon-1); --monster-color-primary-4: var(--monster-color-cinnamon-1);
--monster-bg-color-primary-1: var(--monster-color-cinnamon-1); --monster-bg-color-primary-1: var(--monster-color-gray-1);
--monster-bg-color-primary-2: var(--monster-color-cinnamon-2); --monster-bg-color-primary-2: var(--monster-color-gray-2);
--monster-bg-color-primary-3: var(--monster-color-cinnamon-3); --monster-bg-color-primary-3: var(--monster-color-gray-6);
--monster-bg-color-primary-4: var(--monster-color-cinnamon-6); --monster-bg-color-primary-4: var(--monster-color-gray-4);
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
--monster-color-primary-1: var(--monster-color-gray-1); --monster-color-primary-1: var(--monster-color-gray-1);
......
/** /**
* Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved. * Copyright © schukai GmbH and all contributing authors, 2024. All rights reserved.
* Node module: @schukai/monster * Node module: @schukai/monster
* *
* This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3). * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
...@@ -8,14 +8,12 @@ ...@@ -8,14 +8,12 @@
* For those who do not wish to adhere to the AGPLv3, a commercial license is available. * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
* Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms. * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
* For more information about purchasing a commercial license, please contact schukai GmbH. * For more information about purchasing a commercial license, please contact schukai GmbH.
*
* SPDX-License-Identifier: AGPL-3.0
*/ */
import {addAttributeToken} from "../../../dom/attributes.mjs"; import {addAttributeToken} from "../../../dom/attributes.mjs";
import {ATTRIBUTE_ERRORMESSAGE} from "../../../dom/constants.mjs"; import {ATTRIBUTE_ERRORMESSAGE} from "../../../dom/constants.mjs";
export { PropertyStyleSheet }; export {PropertyStyleSheet}
/** /**
* @private * @private
...@@ -24,17 +22,10 @@ export { PropertyStyleSheet }; ...@@ -24,17 +22,10 @@ export { PropertyStyleSheet };
const PropertyStyleSheet = new CSSStyleSheet(); const PropertyStyleSheet = new CSSStyleSheet();
try { try {
PropertyStyleSheet.insertRule( PropertyStyleSheet.insertRule(`
`
@layer property { @layer property {
}`, }`, 0);
0,
);
} catch (e) { } catch (e) {
addAttributeToken( addAttributeToken(document.getRootNode().querySelector('html'), ATTRIBUTE_ERRORMESSAGE, e + "");
document.getRootNode().querySelector("html"),
ATTRIBUTE_ERRORMESSAGE,
e + "",
);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment