mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Fix tailwind sources and prefers-contrast theme
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
@import 'tailwindcss';
|
||||
@import 'tailwindcss' source(none);
|
||||
|
||||
@source "../ts";
|
||||
@source "../test";
|
||||
@source "../.storybook";
|
||||
@source "../*.{html,js}";
|
||||
|
||||
/**
|
||||
* Custom Variants
|
||||
@@ -105,10 +110,11 @@
|
||||
--color-shadow-highlight: light-dark(/* */ transparent, --alpha(#FFF / 08%));
|
||||
}
|
||||
|
||||
@layer base {
|
||||
@layer theme {
|
||||
/* High Contrast Mode */
|
||||
/* prettier-ignore */
|
||||
@media (prefers-contrast: more) {
|
||||
:root {
|
||||
/* Colors/Labels */
|
||||
--color-label-primary: light-dark(/* */ #000 /* */, /* */ #FFF /* */);
|
||||
--color-label-secondary: light-dark(--alpha(#000 / 70%), --alpha(#FFF / 70%));
|
||||
@@ -194,6 +200,7 @@
|
||||
--color-shadow-outline: light-dark(--alpha(#000 / 32%), /* */ transparent);
|
||||
--color-shadow-highlight: light-dark(/* */ transparent, --alpha(#FFF / 32%));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user