Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quantified Elements #704

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class RPGCharacterToast extends SimpleToastEl {
width: 100px;
margin: 6px 0px 0px;
padding: 16px;
color: var(--simple-colors-default-theme-purple-6, purple);
color: var(--ddd-theme-default-wonderPurple);
vertical-align: middle;
display: inline-flex;
height: 100px;
Expand Down
196 changes: 0 additions & 196 deletions elements/app-hax/lib/v1/app-hax-search-results.js

This file was deleted.

5 changes: 3 additions & 2 deletions elements/flash-card/lib/flash-card-answer-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import { SimpleColors } from "@haxtheweb/simple-colors/simple-colors.js";
import "@haxtheweb/simple-icon/lib/simple-icons.js";
import "@haxtheweb/simple-icon/lib/simple-icon-lite.js";
import "@haxtheweb/simple-icon/lib/simple-icon-button-lite.js";
import { DDD } from "@haxtheweb/d-d-d";

export class FlashCardAnswerBox extends I18NMixin(SimpleColors) {
export class FlashCardAnswerBox extends I18NMixin(SimpleColors, DDD) {
klh6157 marked this conversation as resolved.
Show resolved Hide resolved
static get tag() {
return "flash-card-answer-box";
}
Expand Down Expand Up @@ -166,7 +167,7 @@ export class FlashCardAnswerBox extends I18NMixin(SimpleColors) {
}
button#check {
background-color: var(--simple-colors-default-theme-accent-10);
color: var(--simple-colors-default-theme-grey-1);
color: var(--ddd-theme-default-white);
font-size: 14px;
margin: none;
padding: 0px;
Expand Down
2 changes: 1 addition & 1 deletion elements/hal-9000/lib/hal-9000-ui/hal-9000-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class Hal9000UI extends SimpleColors {
left: 20px;
bottom: 20px;
z-index: 10000;
background-color: var(--simple-colors-default-theme-grey-12);
background-color: var(--ddd-theme-default-coalyGray);
border-radius: 15px;
}

Expand Down
2 changes: 1 addition & 1 deletion elements/hax-body/lib/hax-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class HaxMap extends I18NMixin(SimpleColors) {
--simple-icon-height: 14px;
height: 38px;
margin: 0 4px;
color: var(--simple-colors-default-theme-grey-12, black);
color: var(--ddd-theme-default-coalyGray);
background-color: var(--simple-colors-default-theme-grey-1, white);
}
li simple-icon-button:hover {
Expand Down
4 changes: 2 additions & 2 deletions elements/hax-body/lib/hax-view-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class HaxViewSource extends I18NMixin(MtzFileDownloadBehaviors(LitElement)) {
height: calc(100vh - 200px);
}
.updatecontent {
background-color: var(--simple-colors-default-theme-green-1);
color: var(--simple-colors-default-theme-green-8);
background-color: var(--ddd-theme-default-coalygray);
color: var(--ddd-theme-default-opportunityGreen);
}
hax-toolbar {
flex: 0 0 auto;
Expand Down
4 changes: 2 additions & 2 deletions elements/haxor-slevin/haxor-slevin.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class HaxorSlevin extends HAXCMSThemeParts(
css`
:host {
display: block;
background-color: var(--simple-colors-default-theme-grey-1);
color: var(--simple-colors-default-theme-grey-12);
background-color: var(--ddd-theme-default-coalyGray);
color: var(--ddd-theme-default-white);
transition:
0.6s ease-in-out color,
0.6s ease-in-out background-color;
Expand Down
4 changes: 2 additions & 2 deletions elements/haxor-slevin/src/haxor-slevin.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class HaxorSlevin extends HAXCMSThemeParts(
css`
:host {
display: block;
background-color: var(--simple-colors-default-theme-grey-1);
color: var(--simple-colors-default-theme-grey-12);
background-color: var(--ddd-theme-default-coalyGray);
color: var(--ddd-theme-default-white);
transition:
0.6s ease-in-out color,
0.6s ease-in-out background-color;
Expand Down
12 changes: 7 additions & 5 deletions elements/inline-audio/inline-audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { I18NMixin } from "@haxtheweb/i18n-manager/lib/I18NMixin.js";
import "@haxtheweb/simple-icon/lib/simple-icons.js";
import "@haxtheweb/simple-icon/lib/simple-icon-button.js";
import "@haxtheweb/hax-iconset/lib/simple-hax-iconset.js";
import { DDD } from "@haxtheweb/d-d-d";

/**
* `inline-audio`
* `A simple inline audio player to augment text`
Expand All @@ -29,7 +31,7 @@ Custom property | Description | Default
* @element inline-audio
*
*/
class InlineAudio extends I18NMixin(SimpleColors) {
class InlineAudio extends I18NMixin(SimpleColors, DDD) {
/**
* convention
*/
Expand Down Expand Up @@ -58,7 +60,7 @@ class InlineAudio extends I18NMixin(SimpleColors) {
:host {
display: inline-flex;
vertical-align: middle;
color: var(--simple-colors-default-theme-grey-12);
color: var(--ddd-theme-default-white);
--inline-audio-padding: 0px 4px;
--inline-audio-margin: 0;
--inline-audio-icon-padding: 0px 4px 0px 0px;
Expand All @@ -69,7 +71,7 @@ class InlineAudio extends I18NMixin(SimpleColors) {
align-items: center;
padding: var(--inline-audio-padding);
margin: var(--inline-audio-margin);
background-color: var(--simple-colors-default-theme-grey-2);
background-color: var(--ddd-theme-default-coalyGray);
min-width: 48px;
border-radius: 4px;
cursor: pointer;
Expand Down Expand Up @@ -109,10 +111,10 @@ class InlineAudio extends I18NMixin(SimpleColors) {

.icon {
padding: var(--inline-audio-icon-padding);
--simple-icon-color: var(--simple-colors-default-theme-grey-12);
--simple-icon-color: var(--ddd-theme-default-white);
--simple-icon-button-border-radius: none;
--simple-icon-button-focus-color: var(
--simple-colors-default-theme-grey-12
--ddd-theme-default-white
);
--simple-icon-button-focus-opacity: var(
--inline-audio-button-focus-opacity,
Expand Down
12 changes: 7 additions & 5 deletions elements/inline-audio/src/inline-audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { I18NMixin } from "@haxtheweb/i18n-manager/lib/I18NMixin.js";
import "@haxtheweb/simple-icon/lib/simple-icons.js";
import "@haxtheweb/simple-icon/lib/simple-icon-button.js";
import "@haxtheweb/hax-iconset/lib/simple-hax-iconset.js";
import { DDD } from "@haxtheweb/d-d-d";

/**
* `inline-audio`
* `A simple inline audio player to augment text`
Expand All @@ -29,7 +31,7 @@ Custom property | Description | Default
* @element inline-audio
*
*/
class InlineAudio extends I18NMixin(SimpleColors) {
class InlineAudio extends I18NMixin(SimpleColors, DDD) {
klh6157 marked this conversation as resolved.
Show resolved Hide resolved
/**
* convention
*/
Expand Down Expand Up @@ -58,7 +60,7 @@ class InlineAudio extends I18NMixin(SimpleColors) {
:host {
display: inline-flex;
vertical-align: middle;
color: var(--simple-colors-default-theme-grey-12);
color: var(--ddd-theme-default-white);
--inline-audio-padding: 0px 4px;
--inline-audio-margin: 0;
--inline-audio-icon-padding: 0px 4px 0px 0px;
Expand All @@ -69,7 +71,7 @@ class InlineAudio extends I18NMixin(SimpleColors) {
align-items: center;
padding: var(--inline-audio-padding);
margin: var(--inline-audio-margin);
background-color: var(--simple-colors-default-theme-grey-2);
background-color: var(--ddd-theme-default-coalyGray);
min-width: 48px;
border-radius: 4px;
cursor: pointer;
Expand Down Expand Up @@ -109,10 +111,10 @@ class InlineAudio extends I18NMixin(SimpleColors) {

.icon {
padding: var(--inline-audio-icon-padding);
--simple-icon-color: var(--simple-colors-default-theme-grey-12);
--simple-icon-color: var(--ddd-theme-default-white);
--simple-icon-button-border-radius: none;
--simple-icon-button-focus-color: var(
--simple-colors-default-theme-grey-12
--ddd-theme-default-white
);
--simple-icon-button-focus-opacity: var(
--inline-audio-button-focus-opacity,
Expand Down
4 changes: 2 additions & 2 deletions elements/self-check/self-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ class SelfCheck extends I18NMixin(lazyImageLoader(SchemaBehaviors(DDD))) {
#question_wrap {
color: var(
--ddd-component-self-check-question-text,
var(--simple-colors-default-theme-grey-12, #000)
var(--ddd-theme-default-coalyGray)
);
background-color: var(
--ddd-component-self-check-question-background,
var(--simple-colors-default-theme-grey-1, #fff)
var(--ddd-theme-default-white)
);
position: relative;
}
Expand Down
Loading