@3mo/theme
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -8,3 +8,2 @@ import { css } from '@a11d/lit'; | ||
font-weight: 400; | ||
font-size: var(--mo-font-size-m); | ||
box-sizing: border-box; | ||
@@ -28,11 +27,8 @@ } | ||
--mo-color-foreground-base: 0, 0, 0; | ||
--mo-color-background: rgb(220, 221, 225) !important; | ||
--mo-color-foreground: black !important; | ||
--mo-color-foreground-transparent: rgb(48, 48, 48) !important; | ||
--mo-color-background: rgb(220, 221, 225); | ||
--mo-color-foreground: black; | ||
--mo-color-foreground-transparent: rgb(48, 48, 48); | ||
--mo-color-surface-base: 255, 255, 255; | ||
--mo-color-gray-base: 121, 121, 121; | ||
--mo-shadow-base: 95, 81, 78; | ||
--mo-color-error-base: 176, 0, 32; | ||
--mo-field-background: rgba(var(--mo-color-foreground-base), 0.09); | ||
--mo-alternating-background: rgba(var(--mo-color-foreground-base), 0.05); | ||
} | ||
@@ -44,9 +40,8 @@ | ||
--mo-color-foreground-base: 255, 255, 255; | ||
--mo-color-background: rgb(16, 17, 20) !important; | ||
--mo-color-background: rgb(16, 17, 20); | ||
--mo-color-surface-base: 42, 43, 47; | ||
--mo-color-foreground: white !important; | ||
--mo-color-foreground-transparent: rgb(220, 220, 220) !important; | ||
--mo-color-foreground: white; | ||
--mo-color-foreground-transparent: rgb(220, 220, 220); | ||
--mo-color-gray-base: 165, 165, 165; | ||
--mo-shadow-base: 0, 1, 3; | ||
--mo-color-error-base: 255, 61, 96; | ||
} | ||
@@ -58,9 +53,8 @@ | ||
/* Shadows */ | ||
--mo-shadow: rgba(var(--mo-shadow-base), .4) 0 1px 2px 0, rgba(var(--mo-shadow-base), .2) 0 1px 3px 1px !important; | ||
--mo-shadow: rgba(var(--mo-shadow-base), .4) 0 1px 2px 0, rgba(var(--mo-shadow-base), .2) 0 1px 3px 1px; | ||
--mo-shadow-deep: 0px 5px 5px -3px rgba(var(--mo-shadow-base), 0.2), 0px 8px 10px 1px rgba(var(--mo-shadow-base), 0.14), 0px 3px 14px 2px rgba(var(--mo-shadow-base), 0.12); | ||
/* Colors */ | ||
--mo-color-error: rgb(var(--mo-color-error-base)) !important; | ||
--mo-color-on-surface: rgba(var(--mo-color-foreground-base), 0.87) !important; | ||
--mo-color-gray: rgb(var(--mo-color-gray-base)) !important; | ||
--mo-color-gray-transparent: rgba(var(--mo-color-gray-base), 0.5) !important; | ||
--mo-color-on-surface: rgba(var(--mo-color-foreground-base), 0.87); | ||
--mo-color-gray: rgb(var(--mo-color-gray-base)); | ||
--mo-color-gray-transparent: rgba(var(--mo-color-gray-base), 0.5); | ||
--mo-color-transparent-gray-alpha: .04; | ||
@@ -71,2 +65,9 @@ --mo-color-transparent-gray-1: rgba(var(--mo-color-foreground-base), calc(var(--mo-color-transparent-gray-alpha) * 1)); /* 4% */ | ||
--mo-color-transparent-gray: var(--mo-color-transparent-gray-1); | ||
--mo-color-green-base : 93, 170, 96; | ||
--mo-color-green: rgb(var(--mo-color-green-base)); | ||
--mo-color-yellow-base: 232, 152, 35; | ||
--mo-color-yellow: rgb(var(--mo-color-yellow-base)); | ||
--mo-color-red-base: 221, 61, 49; | ||
--mo-color-red: rgb(var(--mo-color-red-base)); | ||
--mo-color-blue-base: 0, 119, 200; | ||
/* TODO: Replace with @color-contrast when available: https://caniuse.com/mdn-css_types_color_color-contrast */ | ||
@@ -82,3 +83,3 @@ /* More info: https://css-tricks.com/css-variables-calc-rgb-enforcing-high-contrast-colors/ */ | ||
--mo-color-accent-gradient-transparent: linear-gradient(135deg, rgba(var(--mo-color-accent-gradient-1), 0.25), rgba(var(--mo-color-accent-gradient-2), 0.25), rgba(var(--mo-color-accent-gradient-3), 0.25)); | ||
--mo-color-surface: rgb(var(--mo-color-surface-base)) !important; | ||
--mo-color-surface: rgb(var(--mo-color-surface-base)); | ||
@@ -85,0 +86,0 @@ font-family: var(--mo-font-family); |
{ | ||
"name": "@3mo/theme", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Tools & tokens for theming 3MO components & applications.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
668
186646