@mrpelz/uikit-ish 7.13.1 → 7.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/style.css +0 -3
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +9 -6
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +2 -1
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/activity-view/style.css +17 -17
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +12 -4
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +2 -1
- package/dist/components/alert/props.d.ts.map +1 -1
- package/dist/components/alert/style.css +39 -15
- package/dist/components/avatar/style.css +2 -2
- package/dist/components/badge/style.css +1 -1
- package/dist/components/button/main.js +1 -1
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/props.d.ts +3 -2
- package/dist/components/button/props.d.ts.map +1 -1
- package/dist/components/button/style.css +18 -29
- package/dist/components/card/buttons.d.ts +35 -0
- package/dist/components/card/buttons.d.ts.map +1 -0
- package/dist/components/card/buttons.js +60 -0
- package/dist/components/card/buttons.js.map +1 -0
- package/dist/components/card/channels.d.ts +43 -0
- package/dist/components/card/channels.d.ts.map +1 -0
- package/dist/components/card/channels.js +321 -0
- package/dist/components/card/channels.js.map +1 -0
- package/dist/components/card/color.d.ts +21 -0
- package/dist/components/card/color.d.ts.map +1 -0
- package/dist/components/card/color.js +100 -0
- package/dist/components/card/color.js.map +1 -0
- package/dist/components/card/main.d.ts +81 -0
- package/dist/components/card/main.d.ts.map +1 -0
- package/dist/components/card/main.js +91 -0
- package/dist/components/card/main.js.map +1 -0
- package/dist/components/card/parts.css +769 -0
- package/dist/components/card/press.d.ts +25 -0
- package/dist/components/card/press.d.ts.map +1 -0
- package/dist/components/card/press.js +111 -0
- package/dist/components/card/press.js.map +1 -0
- package/dist/components/card/progress.d.ts +43 -0
- package/dist/components/card/progress.d.ts.map +1 -0
- package/dist/components/card/progress.js +122 -0
- package/dist/components/card/progress.js.map +1 -0
- package/dist/components/card/props.d.ts +393 -0
- package/dist/components/card/props.d.ts.map +1 -0
- package/dist/components/card/props.js +2 -0
- package/dist/components/card/props.js.map +1 -0
- package/dist/components/card/root.d.ts +100 -0
- package/dist/components/card/root.d.ts.map +1 -0
- package/dist/components/card/root.js +388 -0
- package/dist/components/card/root.js.map +1 -0
- package/dist/components/card/rows.d.ts +19 -0
- package/dist/components/card/rows.d.ts.map +1 -0
- package/dist/components/card/rows.js +185 -0
- package/dist/components/card/rows.js.map +1 -0
- package/dist/components/card/segmented.d.ts +61 -0
- package/dist/components/card/segmented.d.ts.map +1 -0
- package/dist/components/card/segmented.js +289 -0
- package/dist/components/card/segmented.js.map +1 -0
- package/dist/components/card/shared.d.ts +55 -0
- package/dist/components/card/shared.d.ts.map +1 -0
- package/dist/components/card/shared.js +80 -0
- package/dist/components/card/shared.js.map +1 -0
- package/dist/components/card/slider.d.ts +16 -0
- package/dist/components/card/slider.d.ts.map +1 -0
- package/dist/components/card/slider.js +48 -0
- package/dist/components/card/slider.js.map +1 -0
- package/dist/components/card/stages.d.ts +18 -0
- package/dist/components/card/stages.d.ts.map +1 -0
- package/dist/components/card/stages.js +37 -0
- package/dist/components/card/stages.js.map +1 -0
- package/dist/components/card/style.css +959 -0
- package/dist/components/checkbox/style.css +10 -5
- package/dist/components/collapsible/style.css +0 -3
- package/dist/components/color-picker/color.d.ts +2 -2
- package/dist/components/color-picker/color.d.ts.map +1 -1
- package/dist/components/color-picker/color.js +7 -7
- package/dist/components/color-picker/color.js.map +1 -1
- package/dist/components/color-picker/main.d.ts +11 -5
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +147 -89
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +216 -6
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +12 -31
- package/dist/components/contextual-menu/main.d.ts +6 -2
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +67 -43
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +2 -1
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +64 -2
- package/dist/components/control-cards/main.d.ts +38 -0
- package/dist/components/control-cards/main.d.ts.map +1 -0
- package/dist/components/control-cards/main.js +196 -0
- package/dist/components/control-cards/main.js.map +1 -0
- package/dist/components/control-cards/props.d.ts +238 -0
- package/dist/components/control-cards/props.d.ts.map +1 -0
- package/dist/components/control-cards/props.js +2 -0
- package/dist/components/control-cards/props.js.map +1 -0
- package/dist/components/control-cards/style.css +2 -0
- package/dist/components/date-picker/main.d.ts +8 -3
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +73 -30
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/pager.d.ts.map +1 -1
- package/dist/components/date-picker/pager.js +9 -2
- package/dist/components/date-picker/pager.js.map +1 -1
- package/dist/components/date-picker/props.d.ts +81 -5
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +25 -17
- package/dist/components/drawer/style.css +6 -0
- package/dist/components/edit-menu/main.d.ts +2 -1
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +8 -4
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/style.css +2 -2
- package/dist/components/glass/backdrop.d.ts +75 -0
- package/dist/components/glass/backdrop.d.ts.map +1 -0
- package/dist/components/glass/backdrop.js +608 -0
- package/dist/components/glass/backdrop.js.map +1 -0
- package/dist/components/glass/gradient.d.ts +17 -0
- package/dist/components/glass/gradient.d.ts.map +1 -0
- package/dist/components/glass/gradient.js +233 -0
- package/dist/components/glass/gradient.js.map +1 -0
- package/dist/components/glass/main.d.ts +60 -6
- package/dist/components/glass/main.d.ts.map +1 -1
- package/dist/components/glass/main.js +100 -122
- package/dist/components/glass/main.js.map +1 -1
- package/dist/components/glass/marker.d.ts +66 -0
- package/dist/components/glass/marker.d.ts.map +1 -0
- package/dist/components/glass/marker.js +268 -0
- package/dist/components/glass/marker.js.map +1 -0
- package/dist/components/glass/props.d.ts +33 -7
- package/dist/components/glass/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +172 -75
- package/dist/components/grid/dashes.d.ts +15 -0
- package/dist/components/grid/dashes.d.ts.map +1 -0
- package/dist/components/grid/dashes.js +37 -0
- package/dist/components/grid/dashes.js.map +1 -0
- package/dist/components/grid/edit.d.ts +11 -0
- package/dist/components/grid/edit.d.ts.map +1 -0
- package/dist/components/grid/edit.js +1066 -0
- package/dist/components/grid/edit.js.map +1 -0
- package/dist/components/grid/handle.d.ts +123 -0
- package/dist/components/grid/handle.d.ts.map +1 -0
- package/dist/components/grid/handle.js +194 -0
- package/dist/components/grid/handle.js.map +1 -0
- package/dist/components/grid/icons.d.ts +40 -0
- package/dist/components/grid/icons.d.ts.map +1 -0
- package/dist/components/grid/icons.js +140 -0
- package/dist/components/grid/icons.js.map +1 -0
- package/dist/components/grid/layout.d.ts +111 -0
- package/dist/components/grid/layout.d.ts.map +1 -0
- package/dist/components/grid/layout.js +1257 -0
- package/dist/components/grid/layout.js.map +1 -0
- package/dist/components/grid/main.d.ts +63 -0
- package/dist/components/grid/main.d.ts.map +1 -0
- package/dist/components/grid/main.js +1977 -0
- package/dist/components/grid/main.js.map +1 -0
- package/dist/components/grid/overlay.d.ts +24 -0
- package/dist/components/grid/overlay.d.ts.map +1 -0
- package/dist/components/grid/overlay.js +312 -0
- package/dist/components/grid/overlay.js.map +1 -0
- package/dist/components/grid/plan.d.ts +78 -0
- package/dist/components/grid/plan.d.ts.map +1 -0
- package/dist/components/grid/plan.js +249 -0
- package/dist/components/grid/plan.js.map +1 -0
- package/dist/components/grid/props.d.ts +579 -0
- package/dist/components/grid/props.d.ts.map +1 -0
- package/dist/components/grid/props.js +2 -0
- package/dist/components/grid/props.js.map +1 -0
- package/dist/components/grid/reshape.d.ts +60 -0
- package/dist/components/grid/reshape.d.ts.map +1 -0
- package/dist/components/grid/reshape.js +214 -0
- package/dist/components/grid/reshape.js.map +1 -0
- package/dist/components/grid/style.css +1323 -0
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +97 -10
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/props.d.ts +2 -2
- package/dist/components/header/props.d.ts.map +1 -1
- package/dist/components/header/style.css +40 -49
- package/dist/components/index.d.ts +16 -10
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +11 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/island/main.d.ts +2 -2
- package/dist/components/island/main.d.ts.map +1 -1
- package/dist/components/island/main.js +193 -41
- package/dist/components/island/main.js.map +1 -1
- package/dist/components/island/props.d.ts +4 -2
- package/dist/components/island/props.d.ts.map +1 -1
- package/dist/components/island/style.css +50 -3
- package/dist/components/layout/main.d.ts +3 -6
- package/dist/components/layout/main.d.ts.map +1 -1
- package/dist/components/layout/main.js +225 -56
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/props.d.ts +43 -2
- package/dist/components/layout/props.d.ts.map +1 -1
- package/dist/components/layout/style.css +81 -23
- package/dist/components/list/main.d.ts +8 -6
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +132 -24
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +25 -0
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +50 -2
- package/dist/components/list/reorder.d.ts.map +1 -1
- package/dist/components/list/reorder.js +40 -17
- package/dist/components/list/reorder.js.map +1 -1
- package/dist/components/list/style.css +160 -75
- package/dist/components/menu/main.d.ts +9 -5
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +87 -9
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +14 -0
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +41 -31
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +35 -13
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/style.css +7 -0
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +6 -3
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +3 -2
- package/dist/components/page/props.d.ts.map +1 -1
- package/dist/components/page/style.css +8 -4
- package/dist/components/page-control/main.d.ts.map +1 -1
- package/dist/components/page-control/main.js +32 -15
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/props.d.ts +9 -3
- package/dist/components/page-control/props.d.ts.map +1 -1
- package/dist/components/page-control/style.css +36 -0
- package/dist/components/pager/main.d.ts +12 -0
- package/dist/components/pager/main.d.ts.map +1 -0
- package/dist/components/pager/main.js +368 -0
- package/dist/components/pager/main.js.map +1 -0
- package/dist/components/pager/props.d.ts +36 -0
- package/dist/components/pager/props.d.ts.map +1 -0
- package/dist/components/pager/props.js +2 -0
- package/dist/components/pager/props.js.map +1 -0
- package/dist/components/pager/style.css +42 -0
- package/dist/components/popover/main.d.ts +10 -4
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +30 -19
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +2 -0
- package/dist/components/popover/props.d.ts.map +1 -1
- package/dist/components/popover/style.css +6 -2
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +3 -2
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/style.css +4 -10
- package/dist/components/roll/main.d.ts.map +1 -1
- package/dist/components/roll/main.js +5 -3
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/style.css +2 -2
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +4 -4
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/props.d.ts +5 -2
- package/dist/components/segmented/props.d.ts.map +1 -1
- package/dist/components/segmented/style.css +17 -8
- package/dist/components/settings/main.d.ts +48 -1
- package/dist/components/settings/main.d.ts.map +1 -1
- package/dist/components/settings/main.js +311 -66
- package/dist/components/settings/main.js.map +1 -1
- package/dist/components/settings/props.d.ts +46 -4
- package/dist/components/settings/props.d.ts.map +1 -1
- package/dist/components/settings/region.d.ts +3 -0
- package/dist/components/settings/region.d.ts.map +1 -0
- package/dist/components/settings/region.js +120 -0
- package/dist/components/settings/region.js.map +1 -0
- package/dist/components/settings/style.css +2 -2
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +156 -45
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +4 -2
- package/dist/components/sheet/props.d.ts.map +1 -1
- package/dist/components/sheet/snap.d.ts +54 -0
- package/dist/components/sheet/snap.d.ts.map +1 -1
- package/dist/components/sheet/snap.js +261 -23
- package/dist/components/sheet/snap.js.map +1 -1
- package/dist/components/sheet/style.css +171 -20
- package/dist/components/sidebar/main.d.ts +2 -1
- package/dist/components/sidebar/main.d.ts.map +1 -1
- package/dist/components/sidebar/main.js +18 -6
- package/dist/components/sidebar/main.js.map +1 -1
- package/dist/components/sidebar/props.d.ts +2 -1
- package/dist/components/sidebar/props.d.ts.map +1 -1
- package/dist/components/sidebar/style.css +78 -0
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +55 -10
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/props.d.ts +1 -0
- package/dist/components/slider/props.d.ts.map +1 -1
- package/dist/components/slider/style.css +15 -6
- package/dist/components/stack/main.d.ts +8 -0
- package/dist/components/stack/main.d.ts.map +1 -0
- package/dist/components/stack/main.js +25 -0
- package/dist/components/stack/main.js.map +1 -0
- package/dist/components/stack/props.d.ts +42 -0
- package/dist/components/stack/props.d.ts.map +1 -0
- package/dist/components/stack/props.js +2 -0
- package/dist/components/stack/props.js.map +1 -0
- package/dist/components/stack/style.css +68 -0
- package/dist/components/stepper/main.d.ts +3 -1
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +4 -0
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +2 -2
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +9 -3
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +4 -1
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +5 -1
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +10 -0
- package/dist/components/symbol/props.d.ts.map +1 -1
- package/dist/components/symbol/style.css +21 -3
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +8 -5
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +16 -12
- package/dist/components/tab-bar/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +38 -21
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +6 -3
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/style.css +28 -17
- package/dist/components/toolbar/main.d.ts +5 -2
- package/dist/components/toolbar/main.d.ts.map +1 -1
- package/dist/components/toolbar/main.js +19 -1
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +18 -3
- package/dist/components/toolbar/props.d.ts.map +1 -1
- package/dist/components/toolbar/style.css +127 -11
- package/dist/components/tooltip/main.d.ts +6 -1
- package/dist/components/tooltip/main.d.ts.map +1 -1
- package/dist/components/tooltip/main.js +13 -7
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/tooltip/style.css +2 -2
- package/dist/components/typography/main.d.ts +1 -0
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +1 -0
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/sizes.css +456 -0
- package/dist/components/typography/style.css +24 -456
- package/dist/components/utils/main.d.ts +50 -4
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +113 -3
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/viewport/current.d.ts +15 -0
- package/dist/components/viewport/current.d.ts.map +1 -0
- package/dist/components/viewport/current.js +74 -0
- package/dist/components/viewport/current.js.map +1 -0
- package/dist/components/viewport/edge-effect.d.ts.map +1 -1
- package/dist/components/viewport/edge-effect.js +58 -26
- package/dist/components/viewport/edge-effect.js.map +1 -1
- package/dist/components/viewport/edge.d.ts +7 -4
- package/dist/components/viewport/edge.d.ts.map +1 -1
- package/dist/components/viewport/edge.js +21 -7
- package/dist/components/viewport/edge.js.map +1 -1
- package/dist/components/viewport/focus-scroll.d.ts +21 -0
- package/dist/components/viewport/focus-scroll.d.ts.map +1 -0
- package/dist/components/viewport/focus-scroll.js +273 -0
- package/dist/components/viewport/focus-scroll.js.map +1 -0
- package/dist/components/viewport/input.d.ts +39 -1
- package/dist/components/viewport/input.d.ts.map +1 -1
- package/dist/components/viewport/input.js +122 -13
- package/dist/components/viewport/input.js.map +1 -1
- package/dist/components/viewport/main.d.ts +16 -1
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +276 -50
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +1 -1
- package/dist/components/viewport/padding.d.ts.map +1 -1
- package/dist/components/viewport/padding.js +2 -2
- package/dist/components/viewport/props.d.ts +12 -2
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/status-bar.d.ts +9 -0
- package/dist/components/viewport/status-bar.d.ts.map +1 -0
- package/dist/components/viewport/status-bar.js +131 -0
- package/dist/components/viewport/status-bar.js.map +1 -0
- package/dist/components/viewport/style.css +67 -16
- package/dist/styles.css +371 -279
- package/package.json +5 -4
package/dist/styles.css
CHANGED
|
@@ -18,31 +18,18 @@
|
|
|
18
18
|
--uikit-safe-area-inset-left: env(safe-area-inset-left, 0px);
|
|
19
19
|
|
|
20
20
|
/*
|
|
21
|
-
*
|
|
22
|
-
* media query's, see below; without one, the default), unless a
|
|
23
|
-
* provider overrides it (on its element, inherited: the nearest
|
|
24
|
-
* provider's wins; a portal's, where it was opened). 0 or 1; text size
|
|
25
|
-
* a keyword (Typography's).
|
|
21
|
+
* Grayscale antialiasing (Framework7 components/app/app.less)
|
|
26
22
|
*/
|
|
27
|
-
|
|
28
|
-
--uikit-settings-differentiate-without-color-system: 0;
|
|
29
|
-
--uikit-settings-reduced-motion-system: 0;
|
|
30
|
-
--uikit-settings-reduced-transparency-system: 0;
|
|
31
|
-
--uikit-settings-text-size-system: large;
|
|
32
|
-
--uikit-settings-contrast: var(--uikit-settings-contrast-system);
|
|
33
|
-
--uikit-settings-differentiate-without-color: var(
|
|
34
|
-
--uikit-settings-differentiate-without-color-system
|
|
35
|
-
);
|
|
36
|
-
--uikit-settings-reduced-motion: var(--uikit-settings-reduced-motion-system);
|
|
37
|
-
--uikit-settings-reduced-transparency: var(
|
|
38
|
-
--uikit-settings-reduced-transparency-system
|
|
39
|
-
);
|
|
40
|
-
--uikit-settings-text-size: var(--uikit-settings-text-size-system);
|
|
23
|
+
-webkit-font-smoothing: antialiased;
|
|
41
24
|
|
|
42
25
|
/*
|
|
43
|
-
*
|
|
26
|
+
* No text autosizing (iOS's: text in a block it deems wide made larger,
|
|
27
|
+
* and kept so; e.g. a card's list rows after the card opened wider):
|
|
28
|
+
* text sizes are the app's (its text size setting still applies).
|
|
44
29
|
*/
|
|
45
|
-
-
|
|
30
|
+
/* stylelint-disable-next-line property-no-vendor-prefix -- Safari knows only the prefixed one */
|
|
31
|
+
-webkit-text-size-adjust: 100%;
|
|
32
|
+
text-size-adjust: 100%;
|
|
46
33
|
|
|
47
34
|
/*
|
|
48
35
|
* Text styles at the default text size (Large): size, line height and
|
|
@@ -105,19 +92,6 @@
|
|
|
105
92
|
--font-ui-caption2-weight: 400;
|
|
106
93
|
--font-ui-caption2-weight-emphasized: 590;
|
|
107
94
|
|
|
108
|
-
/*
|
|
109
|
-
* App tint, systemBlue unless overridden
|
|
110
|
-
*
|
|
111
|
-
* tint/shade: HSL lightness +/- 8% (Konsta UI color-utils/ios-colors.js)
|
|
112
|
-
*/
|
|
113
|
-
--color-ui-primary: var(--color-ui-system-blue);
|
|
114
|
-
--color-ui-primary-tint: hsl(
|
|
115
|
-
from var(--color-ui-primary) h s calc(l + 8)
|
|
116
|
-
);
|
|
117
|
-
--color-ui-primary-shade: hsl(
|
|
118
|
-
from var(--color-ui-primary) h s calc(l - 8)
|
|
119
|
-
);
|
|
120
|
-
|
|
121
95
|
/*
|
|
122
96
|
* Semantic colors
|
|
123
97
|
*
|
|
@@ -126,24 +100,6 @@
|
|
|
126
100
|
* for switch and slider tracks: 120 120 120
|
|
127
101
|
*/
|
|
128
102
|
--color-ui-label: light-dark(rgb(0 0 0), rgb(255 255 255));
|
|
129
|
-
--color-ui-secondary-label: light-dark(
|
|
130
|
-
rgb(60 60 67 / 60%),
|
|
131
|
-
rgb(235 235 245 / 60%)
|
|
132
|
-
);
|
|
133
|
-
--color-ui-tertiary-label: light-dark(
|
|
134
|
-
rgb(60 60 67 / 30%),
|
|
135
|
-
rgb(235 235 245 / 30%)
|
|
136
|
-
);
|
|
137
|
-
--color-ui-quaternary-label: light-dark(
|
|
138
|
-
rgb(60 60 67 / 18%),
|
|
139
|
-
rgb(235 235 245 / 16%)
|
|
140
|
-
);
|
|
141
|
-
--color-ui-placeholder-text: light-dark(
|
|
142
|
-
rgb(60 60 67 / 30%),
|
|
143
|
-
rgb(235 235 245 / 30%)
|
|
144
|
-
);
|
|
145
|
-
--color-ui-separator: light-dark(rgb(60 60 67 / 29%), rgb(84 84 88 / 60%));
|
|
146
|
-
--color-ui-opaque-separator: light-dark(rgb(198 198 200), rgb(56 56 58));
|
|
147
103
|
|
|
148
104
|
/* A segmented control's selected segment. */
|
|
149
105
|
--color-ui-segmented-selection: light-dark(
|
|
@@ -151,22 +107,6 @@
|
|
|
151
107
|
rgb(108 108 113)
|
|
152
108
|
);
|
|
153
109
|
--color-ui-link: light-dark(rgb(0 122 255), rgb(9 132 255));
|
|
154
|
-
--color-ui-system-fill: light-dark(
|
|
155
|
-
rgb(120 120 120 / 20%),
|
|
156
|
-
rgb(120 120 128 / 36%)
|
|
157
|
-
);
|
|
158
|
-
--color-ui-secondary-system-fill: light-dark(
|
|
159
|
-
rgb(120 120 128 / 16%),
|
|
160
|
-
rgb(120 120 128 / 32%)
|
|
161
|
-
);
|
|
162
|
-
--color-ui-tertiary-system-fill: light-dark(
|
|
163
|
-
rgb(118 118 128 / 12%),
|
|
164
|
-
rgb(118 118 128 / 24%)
|
|
165
|
-
);
|
|
166
|
-
--color-ui-quaternary-system-fill: light-dark(
|
|
167
|
-
rgb(116 116 128 / 8%),
|
|
168
|
-
rgb(118 118 128 / 18%)
|
|
169
|
-
);
|
|
170
110
|
--color-ui-system-background: light-dark(rgb(255 255 255), rgb(0 0 0));
|
|
171
111
|
--color-ui-secondary-system-background: light-dark(
|
|
172
112
|
rgb(242 242 247),
|
|
@@ -176,57 +116,10 @@
|
|
|
176
116
|
rgb(255 255 255),
|
|
177
117
|
rgb(44 44 46)
|
|
178
118
|
);
|
|
179
|
-
--color-ui-system-grouped-background: light-dark(
|
|
180
|
-
rgb(242 242 247),
|
|
181
|
-
rgb(0 0 0)
|
|
182
|
-
);
|
|
183
|
-
--color-ui-secondary-system-grouped-background: light-dark(
|
|
184
|
-
rgb(255 255 255),
|
|
185
|
-
rgb(28 28 30)
|
|
186
|
-
);
|
|
187
119
|
--color-ui-tertiary-system-grouped-background: light-dark(
|
|
188
120
|
rgb(242 242 247),
|
|
189
121
|
rgb(44 44 46)
|
|
190
122
|
);
|
|
191
|
-
--color-ui-system-gray: light-dark(rgb(142 142 147), rgb(142 142 147));
|
|
192
|
-
--color-ui-system-gray2: light-dark(rgb(174 174 178), rgb(99 99 102));
|
|
193
|
-
--color-ui-system-gray3: light-dark(rgb(199 199 204), rgb(72 72 74));
|
|
194
|
-
--color-ui-system-gray4: light-dark(rgb(209 209 214), rgb(58 58 60));
|
|
195
|
-
--color-ui-system-gray5: light-dark(rgb(229 229 234), rgb(44 44 46));
|
|
196
|
-
--color-ui-system-gray6: light-dark(rgb(242 242 247), rgb(28 28 30));
|
|
197
|
-
--color-ui-system-red: light-dark(rgb(255 56 60), rgb(255 66 69));
|
|
198
|
-
--color-ui-system-orange: light-dark(rgb(255 141 40), rgb(255 146 48));
|
|
199
|
-
--color-ui-system-yellow: light-dark(rgb(255 204 0), rgb(255 214 0));
|
|
200
|
-
--color-ui-system-green: light-dark(rgb(52 199 89), rgb(48 209 88));
|
|
201
|
-
--color-ui-system-mint: light-dark(rgb(0 200 179), rgb(0 218 195));
|
|
202
|
-
--color-ui-system-teal: light-dark(rgb(0 195 208), rgb(0 210 224));
|
|
203
|
-
--color-ui-system-cyan: light-dark(rgb(0 192 232), rgb(60 211 254));
|
|
204
|
-
--color-ui-system-blue: light-dark(rgb(0 136 255), rgb(0 145 255));
|
|
205
|
-
--color-ui-system-indigo: light-dark(rgb(97 85 245), rgb(109 124 255));
|
|
206
|
-
--color-ui-system-purple: light-dark(rgb(203 48 224), rgb(219 52 242));
|
|
207
|
-
--color-ui-system-pink: light-dark(rgb(255 45 85), rgb(255 55 95));
|
|
208
|
-
--color-ui-system-brown: light-dark(rgb(172 127 94), rgb(183 138 102));
|
|
209
|
-
|
|
210
|
-
@media (prefers-contrast: more) {
|
|
211
|
-
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
212
|
-
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
213
|
-
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
214
|
-
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
215
|
-
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
216
|
-
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
217
|
-
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
218
|
-
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
219
|
-
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
220
|
-
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
221
|
-
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
222
|
-
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
223
|
-
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
224
|
-
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
225
|
-
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
226
|
-
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
227
|
-
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
228
|
-
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
229
|
-
}
|
|
230
123
|
|
|
231
124
|
/*
|
|
232
125
|
* Glass materials for dim and bright content behind the glass
|
|
@@ -264,9 +157,10 @@
|
|
|
264
157
|
* own, e.g. while transitioning).
|
|
265
158
|
*/
|
|
266
159
|
--glass-ui-dim-blur: rgb(255 255 255 / 5%);
|
|
267
|
-
--glass-ui-dim-fill: rgb(
|
|
268
|
-
--glass-ui-dim-fill-filter: brightness(
|
|
269
|
-
--glass-ui-dim-
|
|
160
|
+
--glass-ui-dim-fill: rgb(36 36 38 / 72%);
|
|
161
|
+
--glass-ui-dim-fill-filter: brightness(1);
|
|
162
|
+
--glass-ui-dim-fill-brightness: 1;
|
|
163
|
+
--glass-ui-dim-content: #ebebeb;
|
|
270
164
|
--glass-ui-dim-content-blend: plus-lighter;
|
|
271
165
|
--glass-ui-dim-content-disabled: #262626;
|
|
272
166
|
--glass-ui-dim-content-prominent: #fff;
|
|
@@ -298,15 +192,15 @@
|
|
|
298
192
|
*/
|
|
299
193
|
--glass-ui-panel-rim: light-dark(rgb(255 255 255), rgb(255 255 255 / 15%));
|
|
300
194
|
--glass-ui-dim-shadow:
|
|
301
|
-
inset
|
|
302
|
-
inset
|
|
303
|
-
inset
|
|
304
|
-
inset 0 0
|
|
305
|
-
|
|
306
|
-
inset 0 0 24px 0 rgb(255 255 255 / 5%), 0 0 25px 0 rgb(0 0 0 / 15%);
|
|
195
|
+
inset 1px 1px 0 -0.5px rgb(255 255 255 / 35%),
|
|
196
|
+
inset -1px -1px 0 -0.5px rgb(255 255 255 / 20%),
|
|
197
|
+
inset 0 0 0 0.5px rgb(255 255 255 / 12%),
|
|
198
|
+
inset 0 0 12px 0 rgb(255 255 255 / 5%), 0 1px 3px rgb(0 0 0 / 20%),
|
|
199
|
+
0 4px 18px rgb(0 0 0 / 20%);
|
|
307
200
|
--glass-ui-bright-blur: rgb(0 0 0 / 4%);
|
|
308
|
-
--glass-ui-bright-fill: rgb(247 247 247 /
|
|
201
|
+
--glass-ui-bright-fill: rgb(247 247 247 / 78%);
|
|
309
202
|
--glass-ui-bright-fill-filter: brightness(1.25) brightness(0.969);
|
|
203
|
+
--glass-ui-bright-fill-brightness: calc(1.25 * 0.969);
|
|
310
204
|
--glass-ui-bright-content: #404040;
|
|
311
205
|
--glass-ui-bright-content-blend: multiply;
|
|
312
206
|
--glass-ui-bright-content-disabled: #d9d9d9;
|
|
@@ -322,74 +216,10 @@
|
|
|
322
216
|
inset -3px -3px 10px -2px #eee, inset 0 0 5px 1px #fff;
|
|
323
217
|
--glass-ui-bright-shadow:
|
|
324
218
|
inset -1px -1px 0 -0.5px rgb(255 255 255),
|
|
325
|
-
inset 1px 1px 0 -0.5px rgb(255 255 255),
|
|
326
|
-
inset
|
|
327
|
-
inset 0 0
|
|
328
|
-
0
|
|
329
|
-
|
|
330
|
-
/*
|
|
331
|
-
* Glass over a background of the app's (a picture, colors; not a plain
|
|
332
|
-
* page), bright or dim (user): bright's and dim's content, lenses and
|
|
333
|
-
* selections, but floating over it: a translucent fill, a thin light rim (brighter at its top
|
|
334
|
-
* start), and a soft shadow outside, without bright's white halo or
|
|
335
|
-
* dim's dark inner bands.
|
|
336
|
-
*/
|
|
337
|
-
--glass-ui-background-bright-blur: rgb(0 0 0 / 4%);
|
|
338
|
-
--glass-ui-background-bright-fill: rgb(255 255 255 / 30%);
|
|
339
|
-
--glass-ui-background-bright-fill-filter: brightness(1.1);
|
|
340
|
-
--glass-ui-background-bright-content: var(--glass-ui-bright-content);
|
|
341
|
-
--glass-ui-background-bright-content-blend: var(
|
|
342
|
-
--glass-ui-bright-content-blend
|
|
343
|
-
);
|
|
344
|
-
--glass-ui-background-bright-content-disabled: var(
|
|
345
|
-
--glass-ui-bright-content-disabled
|
|
346
|
-
);
|
|
347
|
-
--glass-ui-background-bright-content-prominent: var(
|
|
348
|
-
--glass-ui-bright-content-prominent
|
|
349
|
-
);
|
|
350
|
-
--glass-ui-background-bright-content-prominent-blend: var(
|
|
351
|
-
--glass-ui-bright-content-prominent-blend
|
|
352
|
-
);
|
|
353
|
-
--glass-ui-background-bright-content-prominent-disabled: var(
|
|
354
|
-
--glass-ui-bright-content-prominent-disabled
|
|
355
|
-
);
|
|
356
|
-
--glass-ui-background-bright-selection: var(--glass-ui-bright-selection);
|
|
357
|
-
--glass-ui-background-bright-lens: var(--glass-ui-bright-lens);
|
|
358
|
-
--glass-ui-background-bright-lens-shadow: var(
|
|
359
|
-
--glass-ui-bright-lens-shadow
|
|
360
|
-
);
|
|
361
|
-
--glass-ui-background-bright-shadow:
|
|
362
|
-
inset 0 0 0 0.5px rgb(255 255 255 / 50%),
|
|
363
|
-
inset 1px 1px 0 -0.5px rgb(255 255 255 / 80%),
|
|
364
|
-
inset -1px -1px 0 -0.5px rgb(255 255 255 / 40%),
|
|
365
|
-
0 2px 12px rgb(0 0 0 / 12%);
|
|
366
|
-
--glass-ui-background-dim-blur: rgb(0 0 0 / 10%);
|
|
367
|
-
--glass-ui-background-dim-fill: rgb(0 0 0 / 20%);
|
|
368
|
-
--glass-ui-background-dim-fill-filter: brightness(0.8);
|
|
369
|
-
--glass-ui-background-dim-content: var(--glass-ui-dim-content);
|
|
370
|
-
--glass-ui-background-dim-content-blend: var(
|
|
371
|
-
--glass-ui-dim-content-blend
|
|
372
|
-
);
|
|
373
|
-
--glass-ui-background-dim-content-disabled: var(
|
|
374
|
-
--glass-ui-dim-content-disabled
|
|
375
|
-
);
|
|
376
|
-
--glass-ui-background-dim-content-prominent: var(
|
|
377
|
-
--glass-ui-dim-content-prominent
|
|
378
|
-
);
|
|
379
|
-
--glass-ui-background-dim-content-prominent-blend: var(
|
|
380
|
-
--glass-ui-dim-content-prominent-blend
|
|
381
|
-
);
|
|
382
|
-
--glass-ui-background-dim-content-prominent-disabled: var(
|
|
383
|
-
--glass-ui-dim-content-prominent-disabled
|
|
384
|
-
);
|
|
385
|
-
--glass-ui-background-dim-selection: var(--glass-ui-dim-selection);
|
|
386
|
-
--glass-ui-background-dim-lens: var(--glass-ui-dim-lens);
|
|
387
|
-
--glass-ui-background-dim-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
388
|
-
--glass-ui-background-dim-shadow:
|
|
389
|
-
inset 0 0 0 0.5px rgb(255 255 255 / 25%),
|
|
390
|
-
inset 1px 1px 0 -0.5px rgb(255 255 255 / 50%),
|
|
391
|
-
inset -1px -1px 0 -0.5px rgb(255 255 255 / 20%),
|
|
392
|
-
0 2px 12px rgb(0 0 0 / 25%);
|
|
219
|
+
inset 1px 1px 0 -0.5px rgb(255 255 255),
|
|
220
|
+
inset 0 0 0 0.5px rgb(0 0 0 / 12%),
|
|
221
|
+
inset 0 0 8px 0 rgb(255 255 255 / 60%), 0 1px 3px rgb(0 0 0 / 10%),
|
|
222
|
+
0 4px 18px rgb(0 0 0 / 14%);
|
|
393
223
|
|
|
394
224
|
/*
|
|
395
225
|
* The “Medium” glass material (menus, edit menus), by color scheme, for
|
|
@@ -412,7 +242,7 @@
|
|
|
412
242
|
* would need the backdrop, which popups (positioned by a transform,
|
|
413
243
|
* animated) isolate them from.
|
|
414
244
|
*/
|
|
415
|
-
--glass-ui-medium-light-background: rgb(255 255 255 /
|
|
245
|
+
--glass-ui-medium-light-background: rgb(255 255 255 / 86%);
|
|
416
246
|
--glass-ui-medium-light-content: #333;
|
|
417
247
|
--glass-ui-medium-light-content-blend: multiply;
|
|
418
248
|
--glass-ui-medium-light-content-secondary: #999;
|
|
@@ -420,7 +250,7 @@
|
|
|
420
250
|
--glass-ui-medium-light-separator: #e6e6e6;
|
|
421
251
|
--glass-ui-medium-light-divider: #ccc;
|
|
422
252
|
--glass-ui-medium-light-selection: rgb(0 0 0 / 7%);
|
|
423
|
-
--glass-ui-medium-dark-background: rgb(
|
|
253
|
+
--glass-ui-medium-dark-background: rgb(36 36 38 / 72%);
|
|
424
254
|
--glass-ui-medium-dark-content: #fff;
|
|
425
255
|
--glass-ui-medium-dark-content-blend: plus-lighter;
|
|
426
256
|
--glass-ui-medium-dark-content-secondary: #999;
|
|
@@ -459,18 +289,6 @@
|
|
|
459
289
|
--glass-ui-lens-duration: 300ms;
|
|
460
290
|
--glass-ui-lens-shadow: var(--glass-ui-bright-lens-shadow);
|
|
461
291
|
|
|
462
|
-
/*
|
|
463
|
-
* List separators, blended with the list's background (unlike the
|
|
464
|
-
* separator color, rgb(60 60 67 / 29%)): #E6E6E6 plus-darker (as multiply), #1A1A1A plus-lighter,
|
|
465
|
-
* drawn as their unblended equivalent (black at 10%: exact; white at
|
|
466
|
-
* 11%: exact on dark rows, #1C1C1E): WebKit blends rows on a layer of
|
|
467
|
-
* their own (e.g. while swiped) with nothing, as the glass above.
|
|
468
|
-
*/
|
|
469
|
-
--color-ui-list-separator: light-dark(
|
|
470
|
-
rgb(0 0 0 / 10%),
|
|
471
|
-
rgb(255 255 255 / 11%)
|
|
472
|
-
);
|
|
473
|
-
|
|
474
292
|
/*
|
|
475
293
|
* Section titles of plain lists, opaque
|
|
476
294
|
*
|
|
@@ -488,6 +306,271 @@
|
|
|
488
306
|
--shadow-ui-list-reorder: 0 2px 8px rgb(0 0 0 / 60%);
|
|
489
307
|
}
|
|
490
308
|
|
|
309
|
+
/*
|
|
310
|
+
* The system colors (and the semantic ones changing with more contrast),
|
|
311
|
+
* standard: on the root, and again directly within every provider or
|
|
312
|
+
* portal (see Settings), so a provider's standard contrast holds within
|
|
313
|
+
* more; with more contrast, see below. The app tint too, resolved alike
|
|
314
|
+
* (see below).
|
|
315
|
+
*/
|
|
316
|
+
:where(:root, [data-uikit-settings] > *) {
|
|
317
|
+
/*
|
|
318
|
+
* App tint: an app's (`--uikit-tint`, a color, set anywhere, e.g. on
|
|
319
|
+
* :root), systemBlue without one; with more contrast, its own
|
|
320
|
+
* (`--uikit-tint-more-contrast`), if it has one (see below).
|
|
321
|
+
*
|
|
322
|
+
* tint/shade: HSL lightness +/- 8% (Konsta UI color-utils/ios-colors.js)
|
|
323
|
+
*/
|
|
324
|
+
--color-ui-primary: var(--uikit-tint, var(--color-ui-system-blue));
|
|
325
|
+
--color-ui-primary-tint: hsl(
|
|
326
|
+
from var(--color-ui-primary) h s calc(l + 8)
|
|
327
|
+
);
|
|
328
|
+
--color-ui-primary-shade: hsl(
|
|
329
|
+
from var(--color-ui-primary) h s calc(l - 8)
|
|
330
|
+
);
|
|
331
|
+
--color-ui-system-gray: light-dark(rgb(142 142 147), rgb(142 142 147));
|
|
332
|
+
--color-ui-system-gray2: light-dark(rgb(174 174 178), rgb(99 99 102));
|
|
333
|
+
--color-ui-system-gray3: light-dark(rgb(199 199 204), rgb(72 72 74));
|
|
334
|
+
--color-ui-system-gray4: light-dark(rgb(209 209 214), rgb(58 58 60));
|
|
335
|
+
--color-ui-system-gray5: light-dark(rgb(229 229 234), rgb(44 44 46));
|
|
336
|
+
--color-ui-system-gray6: light-dark(rgb(242 242 247), rgb(28 28 30));
|
|
337
|
+
--color-ui-system-red: light-dark(rgb(255 56 60), rgb(255 66 69));
|
|
338
|
+
--color-ui-system-orange: light-dark(rgb(255 141 40), rgb(255 146 48));
|
|
339
|
+
--color-ui-system-yellow: light-dark(rgb(255 204 0), rgb(255 214 0));
|
|
340
|
+
--color-ui-system-green: light-dark(rgb(52 199 89), rgb(48 209 88));
|
|
341
|
+
--color-ui-system-mint: light-dark(rgb(0 200 179), rgb(0 218 195));
|
|
342
|
+
--color-ui-system-teal: light-dark(rgb(0 195 208), rgb(0 210 224));
|
|
343
|
+
--color-ui-system-cyan: light-dark(rgb(0 192 232), rgb(60 211 254));
|
|
344
|
+
--color-ui-system-blue: light-dark(rgb(0 136 255), rgb(0 145 255));
|
|
345
|
+
--color-ui-system-indigo: light-dark(rgb(97 85 245), rgb(109 124 255));
|
|
346
|
+
--color-ui-system-purple: light-dark(rgb(203 48 224), rgb(219 52 242));
|
|
347
|
+
--color-ui-system-pink: light-dark(rgb(255 45 85), rgb(255 55 95));
|
|
348
|
+
--color-ui-system-brown: light-dark(rgb(172 127 94), rgb(183 138 102));
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
* Semantic colors with more contrast
|
|
352
|
+
*
|
|
353
|
+
* Secondary labels, separators, fills and grouped backgrounds: stronger
|
|
354
|
+
* with more contrast (see below). Set here, not with the other semantic
|
|
355
|
+
* colors, so they're set again within every provider or portal.
|
|
356
|
+
*/
|
|
357
|
+
--color-ui-secondary-label: light-dark(
|
|
358
|
+
rgb(60 60 67 / 60%),
|
|
359
|
+
rgb(235 235 245 / 60%)
|
|
360
|
+
);
|
|
361
|
+
--color-ui-tertiary-label: light-dark(
|
|
362
|
+
rgb(60 60 67 / 30%),
|
|
363
|
+
rgb(235 235 245 / 30%)
|
|
364
|
+
);
|
|
365
|
+
--color-ui-quaternary-label: light-dark(
|
|
366
|
+
rgb(60 60 67 / 18%),
|
|
367
|
+
rgb(235 235 245 / 16%)
|
|
368
|
+
);
|
|
369
|
+
--color-ui-placeholder-text: light-dark(
|
|
370
|
+
rgb(60 60 67 / 30%),
|
|
371
|
+
rgb(235 235 245 / 30%)
|
|
372
|
+
);
|
|
373
|
+
--color-ui-separator: light-dark(rgb(60 60 67 / 29%), rgb(84 84 88 / 60%));
|
|
374
|
+
--color-ui-opaque-separator: light-dark(rgb(198 198 200), rgb(56 56 58));
|
|
375
|
+
--color-ui-system-fill: light-dark(
|
|
376
|
+
rgb(120 120 120 / 20%),
|
|
377
|
+
rgb(120 120 128 / 36%)
|
|
378
|
+
);
|
|
379
|
+
--color-ui-secondary-system-fill: light-dark(
|
|
380
|
+
rgb(120 120 128 / 16%),
|
|
381
|
+
rgb(120 120 128 / 32%)
|
|
382
|
+
);
|
|
383
|
+
--color-ui-tertiary-system-fill: light-dark(
|
|
384
|
+
rgb(118 118 128 / 12%),
|
|
385
|
+
rgb(118 118 128 / 24%)
|
|
386
|
+
);
|
|
387
|
+
--color-ui-quaternary-system-fill: light-dark(
|
|
388
|
+
rgb(116 116 128 / 8%),
|
|
389
|
+
rgb(118 118 128 / 18%)
|
|
390
|
+
);
|
|
391
|
+
--color-ui-system-grouped-background: light-dark(
|
|
392
|
+
rgb(242 242 247),
|
|
393
|
+
rgb(0 0 0)
|
|
394
|
+
);
|
|
395
|
+
--color-ui-secondary-system-grouped-background: light-dark(
|
|
396
|
+
rgb(255 255 255),
|
|
397
|
+
rgb(28 28 30)
|
|
398
|
+
);
|
|
399
|
+
|
|
400
|
+
/*
|
|
401
|
+
* List separators, blended with the list's background (unlike the
|
|
402
|
+
* separator color, rgb(60 60 67 / 29%)): #E6E6E6 plus-darker (as
|
|
403
|
+
* multiply), #1A1A1A plus-lighter, drawn as their unblended equivalent
|
|
404
|
+
* (black at 10%: exact; white at 11%: exact on dark rows, #1C1C1E):
|
|
405
|
+
* WebKit blends rows on a layer of their own (e.g. while swiped) with
|
|
406
|
+
* nothing, as the glass.
|
|
407
|
+
*/
|
|
408
|
+
--color-ui-list-separator: light-dark(
|
|
409
|
+
rgb(0 0 0 / 10%),
|
|
410
|
+
rgb(255 255 255 / 11%)
|
|
411
|
+
);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/* With more contrast: the system's (its media query; within providers
|
|
415
|
+
not overriding it, only: none outside one), or a provider's (its
|
|
416
|
+
attribute, and its portals', see Settings; not a style query: those
|
|
417
|
+
don't apply on iOS, see the guide's iOS Quirks). (The window's background follows its viewport's provider's
|
|
418
|
+
alone, see Viewport: not the root's tokens, which everything outside
|
|
419
|
+
a provider inherits.) */
|
|
420
|
+
@media (prefers-contrast: more), (forced-colors: active) {
|
|
421
|
+
:where([data-uikit-settings]:not([data-uikit-contrast]) > *) {
|
|
422
|
+
--color-ui-primary: var(
|
|
423
|
+
--uikit-tint-more-contrast,
|
|
424
|
+
var(--uikit-tint, var(--color-ui-system-blue))
|
|
425
|
+
);
|
|
426
|
+
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
427
|
+
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
428
|
+
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
429
|
+
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
430
|
+
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
431
|
+
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
432
|
+
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
433
|
+
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
434
|
+
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
435
|
+
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
436
|
+
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
437
|
+
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
438
|
+
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
439
|
+
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
440
|
+
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
441
|
+
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
442
|
+
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
443
|
+
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
444
|
+
|
|
445
|
+
/* Measured on a phone with Increase Contrast (labels, cells, list
|
|
446
|
+
separators, the switch's track); the rest raised alike (the
|
|
447
|
+
quaternary label, placeholder text, the separators' and the fills'
|
|
448
|
+
by half again: they're backgrounds of buttons and fields). */
|
|
449
|
+
--color-ui-secondary-label: light-dark(
|
|
450
|
+
rgb(60 60 67 / 80%),
|
|
451
|
+
rgb(235 235 245 / 70%)
|
|
452
|
+
);
|
|
453
|
+
--color-ui-tertiary-label: light-dark(
|
|
454
|
+
rgb(60 60 67 / 70%),
|
|
455
|
+
rgb(235 235 245 / 56%)
|
|
456
|
+
);
|
|
457
|
+
--color-ui-quaternary-label: light-dark(
|
|
458
|
+
rgb(60 60 67 / 42%),
|
|
459
|
+
rgb(235 235 245 / 30%)
|
|
460
|
+
);
|
|
461
|
+
--color-ui-placeholder-text: light-dark(
|
|
462
|
+
rgb(60 60 67 / 70%),
|
|
463
|
+
rgb(235 235 245 / 56%)
|
|
464
|
+
);
|
|
465
|
+
--color-ui-separator: light-dark(
|
|
466
|
+
rgb(60 60 67 / 29%),
|
|
467
|
+
rgb(84 84 88 / 87%)
|
|
468
|
+
);
|
|
469
|
+
--color-ui-opaque-separator: light-dark(rgb(198 198 200), rgb(70 70 72));
|
|
470
|
+
--color-ui-system-fill: light-dark(rgb(118 118 123), rgb(145 145 151));
|
|
471
|
+
--color-ui-secondary-system-fill: light-dark(
|
|
472
|
+
rgb(120 120 128 / 24%),
|
|
473
|
+
rgb(120 120 128 / 48%)
|
|
474
|
+
);
|
|
475
|
+
--color-ui-tertiary-system-fill: light-dark(
|
|
476
|
+
rgb(118 118 128 / 18%),
|
|
477
|
+
rgb(118 118 128 / 36%)
|
|
478
|
+
);
|
|
479
|
+
--color-ui-quaternary-system-fill: light-dark(
|
|
480
|
+
rgb(116 116 128 / 12%),
|
|
481
|
+
rgb(118 118 128 / 27%)
|
|
482
|
+
);
|
|
483
|
+
--color-ui-system-grouped-background: light-dark(
|
|
484
|
+
rgb(235 235 240),
|
|
485
|
+
rgb(0 0 0)
|
|
486
|
+
);
|
|
487
|
+
--color-ui-secondary-system-grouped-background: light-dark(
|
|
488
|
+
rgb(255 255 255),
|
|
489
|
+
rgb(36 36 37)
|
|
490
|
+
);
|
|
491
|
+
--color-ui-list-separator: light-dark(
|
|
492
|
+
rgb(0 0 0 / 10%),
|
|
493
|
+
rgb(255 255 255 / 16%)
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
:where([data-uikit-contrast='more'] > *) {
|
|
499
|
+
--color-ui-primary: var(
|
|
500
|
+
--uikit-tint-more-contrast,
|
|
501
|
+
var(--uikit-tint, var(--color-ui-system-blue))
|
|
502
|
+
);
|
|
503
|
+
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
504
|
+
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
505
|
+
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
506
|
+
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
507
|
+
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
508
|
+
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
509
|
+
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
510
|
+
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
511
|
+
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
512
|
+
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
513
|
+
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
514
|
+
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
515
|
+
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
516
|
+
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
517
|
+
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
518
|
+
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
519
|
+
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
520
|
+
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
521
|
+
|
|
522
|
+
/* Measured on a phone with Increase Contrast (labels, cells, list
|
|
523
|
+
separators, the switch's track); the rest raised alike (the
|
|
524
|
+
quaternary label, placeholder text, the separators' and the fills'
|
|
525
|
+
by half again: they're backgrounds of buttons and fields). */
|
|
526
|
+
--color-ui-secondary-label: light-dark(
|
|
527
|
+
rgb(60 60 67 / 80%),
|
|
528
|
+
rgb(235 235 245 / 70%)
|
|
529
|
+
);
|
|
530
|
+
--color-ui-tertiary-label: light-dark(
|
|
531
|
+
rgb(60 60 67 / 70%),
|
|
532
|
+
rgb(235 235 245 / 56%)
|
|
533
|
+
);
|
|
534
|
+
--color-ui-quaternary-label: light-dark(
|
|
535
|
+
rgb(60 60 67 / 42%),
|
|
536
|
+
rgb(235 235 245 / 30%)
|
|
537
|
+
);
|
|
538
|
+
--color-ui-placeholder-text: light-dark(
|
|
539
|
+
rgb(60 60 67 / 70%),
|
|
540
|
+
rgb(235 235 245 / 56%)
|
|
541
|
+
);
|
|
542
|
+
--color-ui-separator: light-dark(
|
|
543
|
+
rgb(60 60 67 / 29%),
|
|
544
|
+
rgb(84 84 88 / 87%)
|
|
545
|
+
);
|
|
546
|
+
--color-ui-opaque-separator: light-dark(rgb(198 198 200), rgb(70 70 72));
|
|
547
|
+
--color-ui-system-fill: light-dark(rgb(118 118 123), rgb(145 145 151));
|
|
548
|
+
--color-ui-secondary-system-fill: light-dark(
|
|
549
|
+
rgb(120 120 128 / 24%),
|
|
550
|
+
rgb(120 120 128 / 48%)
|
|
551
|
+
);
|
|
552
|
+
--color-ui-tertiary-system-fill: light-dark(
|
|
553
|
+
rgb(118 118 128 / 18%),
|
|
554
|
+
rgb(118 118 128 / 36%)
|
|
555
|
+
);
|
|
556
|
+
--color-ui-quaternary-system-fill: light-dark(
|
|
557
|
+
rgb(116 116 128 / 12%),
|
|
558
|
+
rgb(118 118 128 / 27%)
|
|
559
|
+
);
|
|
560
|
+
--color-ui-system-grouped-background: light-dark(
|
|
561
|
+
rgb(235 235 240),
|
|
562
|
+
rgb(0 0 0)
|
|
563
|
+
);
|
|
564
|
+
--color-ui-secondary-system-grouped-background: light-dark(
|
|
565
|
+
rgb(255 255 255),
|
|
566
|
+
rgb(36 36 37)
|
|
567
|
+
);
|
|
568
|
+
--color-ui-list-separator: light-dark(
|
|
569
|
+
rgb(0 0 0 / 10%),
|
|
570
|
+
rgb(255 255 255 / 16%)
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
|
|
491
574
|
/* A color scheme forced (see `useColorScheme`): on the root element, or
|
|
492
575
|
on any element, for what's within it. (Forced within one forced
|
|
493
576
|
otherwise, the dark one's rules win, not the nearer one's.) */
|
|
@@ -509,81 +592,98 @@
|
|
|
509
592
|
}
|
|
510
593
|
}
|
|
511
594
|
|
|
512
|
-
/*
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
595
|
+
/* Links in the library's text parts (an app's prose: Typography, a
|
|
596
|
+
list's text, block and footer, an alert's description, a field's
|
|
597
|
+
description): in the link color (its light and dark variant), not
|
|
598
|
+
underlined; underlined while state is told without color alone (see
|
|
599
|
+
Settings; its attribute, as below). Only there, not every link: the
|
|
600
|
+
library's layer comes after an app's own (e.g. the guide's), so a
|
|
601
|
+
global rule would override its links. No specificity: a component's
|
|
602
|
+
own links within (a button, a row's title) keep their look. */
|
|
603
|
+
:where(
|
|
604
|
+
.uikit-typography,
|
|
605
|
+
.uikit-list-text,
|
|
606
|
+
.uikit-list-block,
|
|
607
|
+
.uikit-list-footer,
|
|
608
|
+
.uikit-alert-description,
|
|
609
|
+
.uikit-text-field-description
|
|
610
|
+
)
|
|
611
|
+
:where(a:any-link) {
|
|
612
|
+
color: var(--color-ui-link);
|
|
613
|
+
text-decoration: none;
|
|
517
614
|
}
|
|
518
615
|
|
|
519
|
-
|
|
520
|
-
:
|
|
521
|
-
|
|
522
|
-
|
|
616
|
+
:where([data-uikit-differentiate-without-color='true'])
|
|
617
|
+
:where(
|
|
618
|
+
.uikit-typography,
|
|
619
|
+
.uikit-list-text,
|
|
620
|
+
.uikit-list-block,
|
|
621
|
+
.uikit-list-footer,
|
|
622
|
+
.uikit-alert-description,
|
|
623
|
+
.uikit-text-field-description
|
|
624
|
+
)
|
|
625
|
+
:where(a:any-link):not(
|
|
626
|
+
:where([data-uikit-differentiate-without-color='false']) *
|
|
627
|
+
) {
|
|
628
|
+
text-decoration: underline;
|
|
523
629
|
}
|
|
524
630
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
631
|
+
/* Motion reduced (see Settings): no transitions anywhere, everything
|
|
632
|
+
changing at once (scripts' animations and scrolls too, see
|
|
633
|
+
`reducedMotionOf`); what a finger drags still follows it (a page
|
|
634
|
+
swiped back finishing its slide as it's let go, see Navigation). Overridden
|
|
635
|
+
by a provider: by the attribute it sets (and its portals), the
|
|
636
|
+
nearest `false` within a `true` winning (a `true` again within that,
|
|
637
|
+
not); else the system's, by its media query, within a provider only
|
|
638
|
+
(none outside one). Attributes, not style queries: those don't apply
|
|
639
|
+
on iOS (the guide's iOS Quirks page). Any other rule following a
|
|
640
|
+
setting: the same two selectors (e.g. Sheet's slide). */
|
|
641
|
+
[data-uikit-reduced-motion='true']
|
|
642
|
+
:not(
|
|
643
|
+
[data-uikit-reduced-motion='false'],
|
|
644
|
+
[data-uikit-reduced-motion='false'] *
|
|
645
|
+
),
|
|
646
|
+
[data-uikit-reduced-motion='true']
|
|
647
|
+
:not(
|
|
648
|
+
[data-uikit-reduced-motion='false'],
|
|
649
|
+
[data-uikit-reduced-motion='false'] *
|
|
650
|
+
)::before,
|
|
651
|
+
[data-uikit-reduced-motion='true']
|
|
652
|
+
:not(
|
|
653
|
+
[data-uikit-reduced-motion='false'],
|
|
654
|
+
[data-uikit-reduced-motion='false'] *
|
|
655
|
+
)::after {
|
|
656
|
+
transition: none !important;
|
|
529
657
|
}
|
|
530
658
|
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
--glass-ui-background-dim-fill-filter: none;
|
|
546
|
-
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
547
|
-
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
659
|
+
@media (prefers-reduced-motion: reduce) {
|
|
660
|
+
:where([data-uikit-settings], [data-uikit-settings] *):not(
|
|
661
|
+
[data-uikit-reduced-motion='false'],
|
|
662
|
+
[data-uikit-reduced-motion='false'] *
|
|
663
|
+
),
|
|
664
|
+
:where([data-uikit-settings], [data-uikit-settings] *):not(
|
|
665
|
+
[data-uikit-reduced-motion='false'],
|
|
666
|
+
[data-uikit-reduced-motion='false'] *
|
|
667
|
+
)::before,
|
|
668
|
+
:where([data-uikit-settings], [data-uikit-settings] *):not(
|
|
669
|
+
[data-uikit-reduced-motion='false'],
|
|
670
|
+
[data-uikit-reduced-motion='false'] *
|
|
671
|
+
)::after {
|
|
672
|
+
transition: none !important;
|
|
548
673
|
}
|
|
549
674
|
}
|
|
550
675
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
--glass-ui-dim-fill-filter: none;
|
|
559
|
-
--glass-ui-background-bright-blur: transparent;
|
|
560
|
-
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
561
|
-
--glass-ui-background-bright-fill-filter: none;
|
|
562
|
-
--glass-ui-background-dim-blur: transparent;
|
|
563
|
-
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
564
|
-
--glass-ui-background-dim-fill-filter: none;
|
|
565
|
-
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
566
|
-
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
567
|
-
}
|
|
676
|
+
/* Bold text (see Settings): every weight one step heavier (Regular to
|
|
677
|
+
Semibold, as a system's, measured), as each weight adds the boost
|
|
678
|
+
(`calc(W + var(--uikit-font-weight-boost, 0))`). The nearest
|
|
679
|
+
provider's (its attribute, and its portals'; written by the provider,
|
|
680
|
+
as no media query has it), a `false` within a `true` too. */
|
|
681
|
+
:where([data-uikit-bold-text='true']) {
|
|
682
|
+
--uikit-font-weight-boost: 190;
|
|
568
683
|
}
|
|
569
684
|
|
|
570
|
-
|
|
571
|
-
:
|
|
572
|
-
--glass-ui-bright-blur: transparent;
|
|
573
|
-
--glass-ui-bright-fill: rgb(247 247 247);
|
|
574
|
-
--glass-ui-bright-fill-filter: none;
|
|
575
|
-
--glass-ui-dim-blur: transparent;
|
|
576
|
-
--glass-ui-dim-fill: rgb(28 28 30);
|
|
577
|
-
--glass-ui-dim-fill-filter: none;
|
|
578
|
-
--glass-ui-background-bright-blur: transparent;
|
|
579
|
-
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
580
|
-
--glass-ui-background-bright-fill-filter: none;
|
|
581
|
-
--glass-ui-background-dim-blur: transparent;
|
|
582
|
-
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
583
|
-
--glass-ui-background-dim-fill-filter: none;
|
|
584
|
-
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
585
|
-
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
586
|
-
}
|
|
685
|
+
:where([data-uikit-bold-text='false']) {
|
|
686
|
+
--uikit-font-weight-boost: 0;
|
|
587
687
|
}
|
|
588
688
|
}
|
|
589
689
|
|
|
@@ -621,14 +721,6 @@
|
|
|
621
721
|
syntax: '<number>';
|
|
622
722
|
}
|
|
623
723
|
|
|
624
|
-
/* A symbol's emphasis (see `Symbol`), set by its host: 0 its icon shown,
|
|
625
|
-
1 its emphasized one; a number, so a host can transition it. */
|
|
626
|
-
@property --uikit-symbol-emphasis {
|
|
627
|
-
inherits: true;
|
|
628
|
-
initial-value: 0;
|
|
629
|
-
syntax: '<number>';
|
|
630
|
-
}
|
|
631
|
-
|
|
632
724
|
/* Room made for an open overscroll area (see `Viewport.Overscroll`): a
|
|
633
725
|
length transitioning as such, the padding making it (and the area,
|
|
634
726
|
moving along) following every frame. */
|