aboutsummaryrefslogtreecommitdiff
path: root/src/components/checkbox
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-02-07 01:25:26 +0200
committerHenry Jameson <me@hjkos.com>2020-02-07 01:25:26 +0200
commit611da13a4b252c10f1613d70d877e2d039ba64b7 (patch)
tree8eb14e7855d9d0ba595502a3d2d66d4fa3113a36 /src/components/checkbox
parente46bb942260d192beb601727519ed90df5c62494 (diff)
Better Disabled buttons support. Mammal theme fixes. Implemented proper
context-aware `mod` argument - now checks lightness of "variant" color. needs retesting tho
Diffstat (limited to 'src/components/checkbox')
-rw-r--r--src/components/checkbox/checkbox.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue
index 1113f81d..03375b2f 100644
--- a/src/components/checkbox/checkbox.vue
+++ b/src/components/checkbox/checkbox.vue
@@ -87,13 +87,13 @@ export default {
&:checked + .checkbox-indicator::before {
color: $fallback--text;
- color: var(--text, $fallback--text);
+ color: var(--inputText, $fallback--text);
}
&:indeterminate + .checkbox-indicator::before {
content: '–';
color: $fallback--text;
- color: var(--text, $fallback--text);
+ color: var(--inputText, $fallback--text);
}
}