@povio/ui 5.0.0-rc.1 → 5.0.0-rc.3
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/.rulesync/rules/ui-buttons-and-content.md +56 -0
- package/.rulesync/rules/ui-inputs-and-forms.md +62 -0
- package/.rulesync/rules/ui-overlays-navigation-and-styling.md +49 -0
- package/.rulesync/rules/ui-overview.md +33 -0
- package/README.md +49 -16
- package/dist/{Accordion-CzFKi8Bp.js → Accordion-BzwO4_ml.js} +20 -136
- package/dist/{Alert-T25LY8ZL.js → Alert-CnvEb1D_.js} +16 -12
- package/dist/{Alert-f1dG-4Uy.d.ts → Alert-DfiJbKH0.d.ts} +2 -1
- package/dist/{AlertDialog-B6R2MbNg.d.ts → AlertDialog-OWTbR4km.d.ts} +3 -3
- package/dist/{Autocomplete-CQ63Cynd.d.ts → Autocomplete-BwNHp8fy.d.ts} +1 -1
- package/dist/{Badge-YKlKz-Jy.d.ts → Badge-CBNpj823.d.ts} +8 -5
- package/dist/BadgeButton-Ccgt3oGO.d.ts +15 -0
- package/dist/{BottomSheet-DvqBvth_.js → BottomSheet-BXLE3161.js} +7 -6
- package/dist/{BottomSheet-xaymO7aQ.d.ts → BottomSheet-DbQuzfAB.d.ts} +1 -1
- package/dist/{BottomSheet.lazy-CGBRPve_.d.ts → BottomSheet.lazy-D9LCEo7s.d.ts} +1 -1
- package/dist/{Breadcrumbs-DyriI-Bi.d.ts → Breadcrumbs-CUV6CU8Q.d.ts} +1 -1
- package/dist/{Breadcrumbs-DiIYJAWf.js → Breadcrumbs-CbKzAq1v.js} +24 -38
- package/dist/Button-C5rv4Cr2.js +506 -0
- package/dist/{Button-BZ3is6IU.d.ts → Button-D-4qb0IR.d.ts} +3 -3
- package/dist/{ButtonContent-B2_dZ6vA.js → ButtonContent-c7lJayVQ.js} +10 -8
- package/dist/{Calendar-DzQApBCy.js → Calendar-CVSQH-rC.js} +22 -15
- package/dist/{CheckContent-DZ7Gk8GS.js → CheckContent-D7sZPmzx.js} +2 -2
- package/dist/{Checkbox-BepzfVfK.js → Checkbox-BU0d702K.js} +6 -6
- package/dist/{Checkbox-CHpgW3fI.d.ts → Checkbox-DVTWaMKa.d.ts} +1 -1
- package/dist/{CheckboxCheckmark-B3lnOjsU.js → CheckboxCheckmark-usHsolNj.js} +10 -10
- package/dist/{CheckboxGroup-CXrR3A-c.d.ts → CheckboxGroup-DGF12cmB.d.ts} +3 -3
- package/dist/ComponentGallery-DIFeJqGx.js +2528 -0
- package/dist/{DatePicker-B3l9TEjW.d.ts → DatePicker-8xSs_jNd.d.ts} +3 -3
- package/dist/{DatePicker-CI87jC4_.js → DatePicker-D95gDPhg.js} +12 -11
- package/dist/{DatePickerInput-UBZcTmdv.js → DatePickerInput-CX6NYim4.js} +12 -23
- package/dist/{DatePickerInput-CZTEsrS0.d.ts → DatePickerInput-D81ZJ3fT.d.ts} +3 -3
- package/dist/{DateRangePicker-DKkc2B3n.d.ts → DateRangePicker-Bfq-yDm7.d.ts} +3 -3
- package/dist/{DateRangePicker-BX2O5zA8.js → DateRangePicker-_uTQk_ae.js} +16 -15
- package/dist/{DateTimePicker-CVfkp45w.js → DateTimePicker-BB058Z34.js} +11 -10
- package/dist/{DateTimePicker-IHr-wPq8.d.ts → DateTimePicker-D4lHyf6P.d.ts} +3 -3
- package/dist/{Dialog-DdRP4YFC.js → Dialog-9manOgMA.js} +4 -4
- package/dist/{Dialog-CXoVeIkU.js → Dialog-CKLkS00H.js} +10 -2
- package/dist/{Dialog-DEbI_9S-.d.ts → Dialog-CW93T9X1.d.ts} +3 -2
- package/dist/{DropdownMenu-zrodtd44.js → DropdownMenu-5jmtgLXd.js} +8 -6
- package/dist/{DropdownMenu-CWDhk3XA.d.ts → DropdownMenu-JNpYT4-3.d.ts} +3 -2
- package/dist/{DropdownMenuDesktop-CGYxsavQ.js → DropdownMenuDesktop-Cl9gZVq0.js} +9 -38
- package/dist/{FileInput-Dz1eESr_.js → FileInput-C0-6bw4w.js} +8 -8
- package/dist/{FileInput-BQbn77bE.d.ts → FileInput-C4CE5kuP.d.ts} +5 -4
- package/dist/{FileUpload-qySCMcLn.d.ts → FileUpload-CR7bZxV1.d.ts} +1 -1
- package/dist/{FileUpload-D3Io7Is5.js → FileUpload-DDpYMn8f.js} +51 -139
- package/dist/{FileUploadContainer-qOyGvb5J.d.ts → FileUploadContainer-042ztsaL.d.ts} +1 -1
- package/dist/{Form-u_N_6mwo.d.ts → Form-BJ12MjE-.d.ts} +1 -1
- package/dist/{FormField-B0miX3gu.d.ts → FormField-Byiehm9y.d.ts} +1 -1
- package/dist/{FormField-CHD4OJOt.js → FormField-U_-d4V_g.js} +9 -9
- package/dist/{FormFieldError-QRAFHUTt.js → FormFieldError-DeOHHLo2.js} +1 -1
- package/dist/FormFieldHeaderTooltip-DXbuu88v.js +17 -0
- package/dist/{IconButton-KXecZgYX.d.ts → IconButton-D4thBurp.d.ts} +2 -2
- package/dist/IconSlot-DSK7qNxc.js +79 -0
- package/dist/{InlineIconButton-CbKZ2U_a.d.ts → InlineIconButton-BeJCjl-q.d.ts} +2 -2
- package/dist/{InlineTooltipWrapper-g5yoeH1B.js → InlineTooltipWrapper-Bpmd--e7.js} +3 -3
- package/dist/{Input-efmPwk8f.d.ts → Input-DOanwj3l.d.ts} +3 -3
- package/dist/{InputContent-DuBa9FuI.d.ts → InputContent-CXuP1ghQ.d.ts} +3 -3
- package/dist/{InputItem-2zf6QI5L.js → InputItem-D-KuiNSc.js} +11 -11
- package/dist/{Inputs-C-w03Q_F.d.ts → Inputs-DA73LmLc.d.ts} +1 -1
- package/dist/{Inputs-BceDTmdT.js → Inputs-j3JmcLWR.js} +1 -1
- package/dist/{Link-QYpprkN1.d.ts → Link-Ow9H7kNv.d.ts} +3 -2
- package/dist/{ListBox-B7DW1S7n.js → ListBox-CL8Ar4Q_.js} +5 -4
- package/dist/{MenuItem--Mjd_yK8.d.ts → MenuItem-DHyqOqln.d.ts} +1 -1
- package/dist/{Modal-CoFt5PGP.js → Modal-w60dVQcb.js} +1 -1
- package/dist/{NumberField-z2JatYK0.d.ts → NumberField-Cb9Gf6QJ.d.ts} +3 -3
- package/dist/{NumberRangeInput-Chai3iEi.d.ts → NumberRangeInput-BfbJQqzn.d.ts} +2 -2
- package/dist/{NumberRangeInput-BxVrHq8R.js → NumberRangeInput-C-8U05wF.js} +6 -6
- package/dist/{Pagination-CXtIDclf.d.ts → Pagination-CwQu5Py8.d.ts} +1 -1
- package/dist/{PaginationList-CXG4jWFD.d.ts → PaginationList-DMRUGtf8.d.ts} +1 -1
- package/dist/{PaginationList-0bAmvXC0.js → PaginationList-DtvuP63b.js} +2 -2
- package/dist/{PasswordInput-ub2TQxef.d.ts → PasswordInput-CLwFUgl0.d.ts} +1 -1
- package/dist/{Popover-DUKH0q9u.d.ts → Popover-BTHPteIh.d.ts} +2 -2
- package/dist/{Progress-DQWiFP0L.js → Progress-B3mY9rIP.js} +2 -2
- package/dist/{Progress-Dho39FDs.d.ts → Progress-CjWOR38H.d.ts} +2 -1
- package/dist/{QuerySelect-Bo1K6gi_.d.ts → QuerySelect-BGxb6Y0K.d.ts} +2 -2
- package/dist/{RadioGroup-SSZYch-J.js → RadioGroup-B7_pNwn9.js} +13 -13
- package/dist/{RadioGroup-B_zJdn4y.d.ts → RadioGroup-CZg2kIMk.d.ts} +3 -3
- package/dist/{RichTextEditor-D6RewmRj.js → RichTextEditor-D9-B1Cze.js} +52 -133
- package/dist/{RichTextEditor-B_JX3nor.d.ts → RichTextEditor-YxuRUlI7.d.ts} +1 -1
- package/dist/{Select-CuZDkeQs.js → Select-CkujlTjm.js} +5 -4
- package/dist/{Select-DeapZMYx.d.ts → Select-pHbyJdZJ.d.ts} +1 -1
- package/dist/{SelectBase-7SE9Za2r.d.ts → SelectBase-Omiq2D3M.d.ts} +3 -3
- package/dist/{Slider-DJ9K_a-x.js → Slider-BHPl0OPy.js} +11 -11
- package/dist/{Slider-BFViQmM3.d.ts → Slider-EYlGCLWe.d.ts} +1 -1
- package/dist/{Spinner-BEYBu85B.js → Spinner-BeVTUzzx.js} +1 -1
- package/dist/{Spinner-BbcI6IOb.d.ts → Spinner-DbXeDOa2.d.ts} +2 -1
- package/dist/{SplitButton-lL87EcBL.d.ts → SplitButton-D9ngY1rJ.d.ts} +3 -3
- package/dist/{Stepper-C1YPgTBG.js → Stepper-Cp5vbL5g.js} +4 -117
- package/dist/{Stepper-hlhViuaK.d.ts → Stepper-TATlHZhQ.d.ts} +9 -8
- package/dist/{Switch-JxRmH1dX.js → Switch-CqnGEdeD.js} +11 -11
- package/dist/{Switch-DPftmB1b.d.ts → Switch-s_EPn0Jz.d.ts} +1 -1
- package/dist/Table-BDNSuEWc.js +689 -0
- package/dist/Tag-AHfV_XSf.d.ts +44 -0
- package/dist/{Tag-HiDH438e.js → Tag-DPg5sL1Z.js} +22 -21
- package/dist/{TextArea-gikUKKDl.js → TextArea-DqHDiRGJ.js} +6 -6
- package/dist/{TextArea-BhrCBGbq.d.ts → TextArea-l_keyLK7.d.ts} +2 -2
- package/dist/{TextButton-DnXRykhF.d.ts → TextButton-XUhV_1s0.d.ts} +4 -4
- package/dist/{TimePicker-CmT89X7v.d.ts → TimePicker-B1POvGWs.d.ts} +2 -2
- package/dist/{TimePicker-DtNTOOGr.js → TimePicker-DQ6JCkGB.js} +10 -10
- package/dist/Toast-DtG3pA61.js +53 -0
- package/dist/{Toast-B4cXs2rj.d.ts → Toast-ruXqONDA.d.ts} +1 -1
- package/dist/{ToastContainer-BbsMIwtC.js → ToastContainer-qgpzMFD4.js} +4 -3
- package/dist/{ToggleButton-BGuzPJDO.d.ts → ToggleButton-7aP8Jb11.d.ts} +2 -2
- package/dist/{ToggleGroup-D9CFdM5-.d.ts → ToggleGroup-CRFDIPGZ.d.ts} +1 -1
- package/dist/{ToggleGroup-Cl0NS3fe.js → ToggleGroup-DX0VYXwP.js} +25 -58
- package/dist/{Tooltip-aE1Vswxz.js → Tooltip-B9DKcYvr.js} +6 -47
- package/dist/{Tooltip-D7dNwGy9.d.ts → Tooltip-DHv6vAqW.d.ts} +6 -5
- package/dist/{TooltipWrapper-CRf-JFeo.js → TooltipWrapper-DznDgVJB.js} +4 -4
- package/dist/{Typography-B0Gp1lpc.js → Typography-LU4z2pR1.js} +2 -2
- package/dist/{Typography-BiuidzDC.d.ts → Typography-XljT9s02.d.ts} +1 -1
- package/dist/accordion.cva-CL1bVscW.js +129 -0
- package/dist/{autocomplete-BJ7rqWa4.d.ts → autocomplete-DeERHN8W.d.ts} +2 -2
- package/dist/badgeButton.cva-B2bgCQP6.d.ts +41 -0
- package/dist/badgeButton.cva-CvN4CTx5.js +300 -0
- package/dist/breadcrumbs.cva-7zzdDhVR.js +27 -0
- package/dist/{button.cva-BvRI-3Gn.d.ts → button.cva-C7kEhgoA.d.ts} +7 -6
- package/dist/{buttonContent.cva-BDT_CReI.d.ts → buttonContent.cva-DPIlROA9.d.ts} +2 -2
- package/dist/{checkbox-BfcE8J5P.d.ts → checkbox-DxIPDTK5.d.ts} +1 -1
- package/dist/{checkbox-group-CHs2wFHS.d.ts → checkbox-group-B3BOVshI.d.ts} +1 -1
- package/dist/{checkbox.cva-gv87kr1W.d.ts → checkbox.cva-t1Ox50hy.d.ts} +4 -3
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +4 -4
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +5 -4
- package/dist/components/badge-button.d.ts +2 -0
- package/dist/components/{pill-button.js → badge-button.js} +13 -12
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +56 -37
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +6 -6
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.js +3 -3
- package/dist/components/dropdown-menu.d.ts +2 -2
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/icon-slot.d.ts +2 -0
- package/dist/components/icon-slot.js +2 -0
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.js +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +7 -7
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +32 -1
- package/dist/components/number-field.d.ts +1 -1
- package/dist/components/number-field.js +7 -7
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +6 -5
- package/dist/components/progress.d.ts +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +2 -2
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +3 -3
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +3 -3
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-button.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +2 -2
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/typography.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-configurator-theme.d.ts +2 -0
- package/dist/config/ui-configurator-theme.js +2 -0
- package/dist/config/ui-configurator-vite.d.ts +10 -0
- package/dist/config/ui-configurator-vite.js +174 -0
- package/dist/config/ui-configurator.d.ts +934 -0
- package/dist/config/ui-configurator.js +3731 -0
- package/dist/config/ui-overrides.d.ts +1 -1
- package/dist/config/ui-overrides.js +1 -1
- package/dist/{confirmation.context-DPAKsLYl.d.ts → confirmation.context-BOeEVczb.d.ts} +1 -1
- package/dist/{date-picker-BYFWSbN8.d.ts → date-picker-DnxDmlOW.d.ts} +1 -1
- package/dist/{date-range-picker-BaaXOObm.d.ts → date-range-picker-DHDOSvHN.d.ts} +1 -1
- package/dist/{date-time-picker-D42cTCgx.d.ts → date-time-picker-UkTa0OJ8.d.ts} +1 -1
- package/dist/datePickerInput.cva-Cd7UUN61.js +14 -0
- package/dist/{datePickerValue.utils-CFCY-fRJ.js → datePickerValue.utils-CUzkWie8.js} +5 -5
- package/dist/{dialog.cva---xiOXMQ.js → dialog.cva-COhDZaVl.js} +4 -4
- package/dist/{dist-B8h0VT0E.js → dist-CAdwxJbe.js} +1 -208
- package/dist/{dom.utils-DjuRTR6U.js → dom.utils-D1AopHx9.js} +1 -1
- package/dist/dropdownMenu.cva-DvEmX0bs.js +34 -0
- package/dist/{dynamicInputs-wEEikYeg.d.ts → dynamicInputs-iP39lVKf.d.ts} +102 -100
- package/dist/{fieldAdapter-C0lCFmf0.js → fieldAdapter-DjYls12j.js} +1 -1
- package/dist/{file-input-C56GXRwz.d.ts → file-input-DkbkdI7l.d.ts} +1 -1
- package/dist/{file-upload-Bx0X534g.d.ts → file-upload-CTsPhxJk.d.ts} +2 -2
- package/dist/fileUpload.cva-ujmStxB1.js +42 -0
- package/dist/{fileUpload.types-DWuQKA2l.d.ts → fileUpload.types-n5FxK_F-.d.ts} +2 -2
- package/dist/iconSlot.cva-CnpFzAOR.d.ts +21 -0
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +2 -1
- package/dist/index.d.ts +87 -86
- package/dist/index.js +55 -44
- package/dist/info-iUmX3uDk.js +32 -0
- package/dist/{input-D2kGX0hW.d.ts → input-CdQNCPgH.d.ts} +1 -1
- package/dist/{input.cva-BhDJxc7r.d.ts → input.cva-BsHgYa-L.d.ts} +3 -2
- package/dist/{input.cva-BcXyC1vZ.js → input.cva-DJA8ovm_.js} +9 -9
- package/dist/{link.context-CDZn6oL2.d.ts → link.context-D5qyz9Rf.d.ts} +1 -1
- package/dist/link.cva-DMTHZiJG.js +12 -0
- package/dist/{number-field-Bw2GKr0s.d.ts → number-field-CUDbenNV.d.ts} +1 -1
- package/dist/{number-range-input-Dqe6x2dR.d.ts → number-range-input-DZGrcvjL.d.ts} +1 -1
- package/dist/{password-input-DepKyhh3.d.ts → password-input-fYN20cQO.d.ts} +1 -1
- package/dist/{popover.cva-BJSkLndY.js → popover.cva-Bhud1wnp.js} +1 -1
- package/dist/popoverAnimation-DEZSvKP8.js +4 -0
- package/dist/{query-autocomplete-BSpHin_R.d.ts → query-autocomplete-CfuQeiYG.d.ts} +2 -2
- package/dist/{query-select-m1DCp4UF.d.ts → query-select-CuT_sE6a.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-CrbVUmvl.d.ts → queryAutocomplete.types-tl3r6iaY.d.ts} +2 -2
- package/dist/{radio-group-Civ3Fb70.d.ts → radio-group-B3ccPf0p.d.ts} +1 -1
- package/dist/{radio.cva-BlOrmxzf.d.ts → radio.cva-DN9VQ3Kb.d.ts} +4 -3
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/autocomplete.js +1 -1
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox-group.js +1 -1
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +2 -2
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +2 -2
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +2 -2
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +2 -2
- package/dist/rhf/file-input.d.ts +2 -2
- package/dist/rhf/file-input.js +2 -2
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +2 -2
- package/dist/rhf/input.d.ts +2 -2
- package/dist/rhf/input.js +1 -1
- package/dist/rhf/inputs.d.ts +2 -2
- package/dist/rhf/number-field.d.ts +2 -2
- package/dist/rhf/number-field.js +1 -1
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +2 -2
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/password-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-autocomplete.js +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/query-select.js +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +2 -2
- package/dist/rhf/rich-text-editor.d.ts +2 -2
- package/dist/rhf/rich-text-editor.js +2 -2
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +2 -2
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +2 -2
- package/dist/rhf/switch.d.ts +2 -2
- package/dist/rhf/switch.js +2 -2
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +2 -2
- package/dist/rhf/toggle-group.d.ts +2 -2
- package/dist/rhf/toggle-group.js +2 -2
- package/dist/{rhf-D8B7mLO1.js → rhf-t348TCCL.js} +1 -1
- package/dist/rhf.d.ts +87 -86
- package/dist/rhf.js +55 -44
- package/dist/{rich-text-editor-DvNEOIux.d.ts → rich-text-editor-B-Onl7T8.d.ts} +1 -1
- package/dist/rich-text-editor.d.ts +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{select-DY5QtwqI.d.ts → select-B4a52eWW.d.ts} +2 -2
- package/dist/selectDesktop.cva-CHAMxhfO.js +69 -0
- package/dist/{slider-CrB-Gkcv.d.ts → slider-dNj9jruO.d.ts} +1 -1
- package/dist/{staticDateTimeSegments-DR8bJw-F.js → staticDateTimeSegments-CsCE9Buo.js} +26 -27
- package/dist/{staticSelect.utils-Cm7MoDVG.js → staticSelect.utils-BemUyaaA.js} +31 -90
- package/dist/stepper.cva-CZ0Kj-s7.js +116 -0
- package/dist/style-merge.util-zLimKwt6.d.ts +40 -0
- package/dist/styles/color-utilities.css +13 -25
- package/dist/styles/configurator.css +1852 -0
- package/dist/styles/input.d.ts +1 -1
- package/dist/{switch-8WzXfTS8.d.ts → switch-C--iWnY8.d.ts} +1 -1
- package/dist/switch.cva-CWNzmdRc.d.ts +16 -0
- package/dist/table.cva-BikE8qJH.js +49 -0
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.d.ts +1 -1
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input.d.ts +1 -1
- package/dist/tanstack/inputs.d.ts +3 -3
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-field.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.d.ts +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.d.ts +1 -1
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +2 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.d.ts +2 -2
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +71 -70
- package/dist/tanstack.js +66 -53
- package/dist/{text-area-CqnKRWKq.d.ts → text-area-DQAtpOQp.d.ts} +1 -1
- package/dist/theme-model-C-QMCksE.js +136 -0
- package/dist/theme-model-T1zIdBg8.d.ts +12 -0
- package/dist/{time-picker-Cz1GIzpF.d.ts → time-picker-DoGfbil6.d.ts} +1 -1
- package/dist/{toast.cva-Cj6o2Rmu.d.ts → toast.cva-By5lvAfr.d.ts} +3 -2
- package/dist/toast.cva-C_L_RffH.js +163 -0
- package/dist/{toast.runtime-CIKvmkjo.js → toast.runtime-cxex9e4E.js} +2 -1
- package/dist/{toggle-group-CPkKHm1t.d.ts → toggle-group-C1nMDOwz.d.ts} +1 -1
- package/dist/toggleGroup.cva-MbpaEBg1.js +35 -0
- package/dist/{toggleGroup.types-DD6uRI5G.d.ts → toggleGroup.types-Bp43zbSQ.d.ts} +2 -1
- package/dist/tooltip.cva-BIzlOXHH.js +48 -0
- package/dist/{tooltipWrapper.cva-CUu8pI-a.js → tooltipWrapper.cva-BBQ4ic3D.js} +1 -1
- package/dist/{typography.cva-jtp6WWUH.d.ts → typography.cva-D1JOEYl-.d.ts} +2 -1
- package/dist/{typography.cva-CJZZSGXW.js → typography.cva-iD15k56p.js} +1 -1
- package/dist/{uiConfig.context-D2eUIPHn.js → uiConfig.context-BS3r_kTS.js} +1 -1
- package/dist/{uiConfig.context-aoarCLYX.d.ts → uiConfig.context-DeBX2beU.d.ts} +8 -8
- package/dist/{uiOverrides.context-Bfm2n-n8.js → uiOverrides.context-BTCH9y5a.js} +2 -2
- package/dist/{uiOverrides.context-C3xb4Ttq.d.ts → uiOverrides.context-DEp139He.d.ts} +11 -44
- package/dist/underline-66hmELxa.js +81 -0
- package/dist/{useBreakpoint-BOA-MyoT.js → useBreakpoint-DQoMN-BG.js} +1 -1
- package/dist/{useFieldAccessibility-D2_Qm26-.js → useFieldAccessibility-B4MVL6fz.js} +15 -8
- package/dist/{useFormAutosave-BYFn3LH8.js → useFormAutosave-Mg-tdwMh.js} +2 -2
- package/dist/{useStaticInputHandoff-DB9PgioW.js → useStaticInputHandoff-CvSBPUB3.js} +13 -10
- package/dist/useTableColumnConfig-gfVame8v.js +892 -0
- package/dist/{useTableNav-D9mICzNW.d.ts → useTableNav-Ckj5PBRk.d.ts} +3 -2
- package/dist/{useToast-DMSm59Y6.d.ts → useToast-yreVCUer.d.ts} +1 -1
- package/package.json +38 -6
- package/rulesync.jsonc +11 -0
- package/scripts/generate-rules.mjs +34 -0
- package/src/configurator/README.md +71 -0
- package/dist/Button-sn52l1Yv.js +0 -506
- package/dist/FormFieldHeaderTooltip-Dl24v4_j.js +0 -45
- package/dist/Link-Btxj2gzg.js +0 -42
- package/dist/PillButton-DASBXLFB.d.ts +0 -15
- package/dist/Tag-Cch_68QO.d.ts +0 -43
- package/dist/components/pill-button.d.ts +0 -2
- package/dist/pillButton.cva-BEWuu0qm.d.ts +0 -34
- package/dist/pillButton.cva-DlP5tOT5.js +0 -197
- package/dist/switch.cva-8T0fw31t.d.ts +0 -15
- package/dist/useTableColumnConfig-CcJxu14U.js +0 -1625
|
@@ -0,0 +1,1852 @@
|
|
|
1
|
+
.studio,
|
|
2
|
+
.studio-overlay {
|
|
3
|
+
font-family: "Inter Variable", Inter, sans-serif;
|
|
4
|
+
color: #202529;
|
|
5
|
+
font-size: 11px;
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
}
|
|
8
|
+
.studio {
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
background: #f5f6f7;
|
|
11
|
+
padding: 60px 24px;
|
|
12
|
+
}
|
|
13
|
+
.studio-landing {
|
|
14
|
+
max-width: 850px;
|
|
15
|
+
margin: auto;
|
|
16
|
+
}
|
|
17
|
+
.studio-brand,
|
|
18
|
+
.studio-title,
|
|
19
|
+
.studio-export-actions {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 12px;
|
|
23
|
+
}
|
|
24
|
+
.studio-logo {
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
background: #253c37;
|
|
27
|
+
color: #fff;
|
|
28
|
+
border-radius: 10px;
|
|
29
|
+
padding: 10px;
|
|
30
|
+
}
|
|
31
|
+
.studio-brand {
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
font-size: 17px;
|
|
34
|
+
}
|
|
35
|
+
.studio-badge {
|
|
36
|
+
font-size: 9px;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
letter-spacing: 1.4px;
|
|
39
|
+
padding: 5px 9px;
|
|
40
|
+
border: 1px solid #d9dfdc;
|
|
41
|
+
border-radius: 5px;
|
|
42
|
+
color: #697871;
|
|
43
|
+
}
|
|
44
|
+
.studio-landing h1 {
|
|
45
|
+
font-size: clamp(36px, 5vw, 58px);
|
|
46
|
+
line-height: 1.08;
|
|
47
|
+
letter-spacing: -2px;
|
|
48
|
+
margin: 35px 0 18px;
|
|
49
|
+
font-weight: 550;
|
|
50
|
+
}
|
|
51
|
+
.studio-landing > p {
|
|
52
|
+
color: #6b7476;
|
|
53
|
+
margin-bottom: 25px;
|
|
54
|
+
}
|
|
55
|
+
.studio-landing > small {
|
|
56
|
+
display: block;
|
|
57
|
+
margin: 15px 0 35px;
|
|
58
|
+
color: #7b8384;
|
|
59
|
+
}
|
|
60
|
+
.studio button,
|
|
61
|
+
.studio-overlay button {
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
.studio-primary {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
gap: 8px;
|
|
69
|
+
background: #263f38 !important;
|
|
70
|
+
color: white !important;
|
|
71
|
+
border: 1px solid #263f38 !important;
|
|
72
|
+
padding: 10px 15px;
|
|
73
|
+
border-radius: 7px;
|
|
74
|
+
font-size: 11px;
|
|
75
|
+
font-weight: 550;
|
|
76
|
+
}
|
|
77
|
+
/* The configurator covers the whole viewport as a full page above the application. */
|
|
78
|
+
.studio-overlay {
|
|
79
|
+
position: fixed;
|
|
80
|
+
inset: 0;
|
|
81
|
+
background: #fff;
|
|
82
|
+
z-index: 1000;
|
|
83
|
+
}
|
|
84
|
+
.studio-modal {
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100dvh;
|
|
87
|
+
background: #fff;
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
}
|
|
90
|
+
.studio-dialog {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
height: 100%;
|
|
94
|
+
outline: none;
|
|
95
|
+
}
|
|
96
|
+
.studio-title h2 {
|
|
97
|
+
margin: 0;
|
|
98
|
+
font-size: 11px;
|
|
99
|
+
font-weight: 650;
|
|
100
|
+
letter-spacing: -0.3px;
|
|
101
|
+
}
|
|
102
|
+
.studio-icon {
|
|
103
|
+
border: 0;
|
|
104
|
+
background: transparent;
|
|
105
|
+
padding: 8px;
|
|
106
|
+
color: #7b8480;
|
|
107
|
+
border-radius: 6px;
|
|
108
|
+
}
|
|
109
|
+
/* Title, section tabs and global controls share one bar above the editor and preview. */
|
|
110
|
+
.studio-topbar {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: 20px;
|
|
114
|
+
padding: 10px 16px;
|
|
115
|
+
background: #fafbfa;
|
|
116
|
+
border-bottom: 1px solid #e8ebea;
|
|
117
|
+
min-width: 0;
|
|
118
|
+
}
|
|
119
|
+
.studio-topbar .studio-title {
|
|
120
|
+
gap: 9px;
|
|
121
|
+
flex-shrink: 0;
|
|
122
|
+
}
|
|
123
|
+
.studio-topbar-logo {
|
|
124
|
+
display: block;
|
|
125
|
+
width: 34px;
|
|
126
|
+
height: 17px;
|
|
127
|
+
flex-shrink: 0;
|
|
128
|
+
}
|
|
129
|
+
.studio-topbar .studio-title h2 {
|
|
130
|
+
white-space: nowrap;
|
|
131
|
+
}
|
|
132
|
+
.studio-topbar-controls {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 8px;
|
|
136
|
+
margin-left: auto;
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
}
|
|
139
|
+
.studio-topbar .studio-search {
|
|
140
|
+
margin: 0;
|
|
141
|
+
width: 190px;
|
|
142
|
+
padding: 7px 9px;
|
|
143
|
+
background: #fff;
|
|
144
|
+
}
|
|
145
|
+
.studio-topbar .studio-search:has(input:disabled) {
|
|
146
|
+
opacity: 0.5;
|
|
147
|
+
}
|
|
148
|
+
.studio-topbar .studio-icon {
|
|
149
|
+
padding: 6px;
|
|
150
|
+
}
|
|
151
|
+
/* Section tabs move to their own row when the bar cannot fit them beside the title and controls. */
|
|
152
|
+
@media (max-width: 1500px) {
|
|
153
|
+
.studio-topbar {
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
row-gap: 8px;
|
|
156
|
+
}
|
|
157
|
+
.studio-topbar .studio-nav {
|
|
158
|
+
order: 1;
|
|
159
|
+
flex-basis: 100%;
|
|
160
|
+
margin-inline: -4px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
@media (max-width: 800px) {
|
|
164
|
+
.studio-topbar-controls {
|
|
165
|
+
flex-wrap: wrap;
|
|
166
|
+
margin-left: 0;
|
|
167
|
+
flex-shrink: 1;
|
|
168
|
+
}
|
|
169
|
+
.studio-topbar .studio-search {
|
|
170
|
+
width: auto;
|
|
171
|
+
flex: 1 1 100%;
|
|
172
|
+
}
|
|
173
|
+
.studio-topbar .studio-title {
|
|
174
|
+
flex: 1;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
.studio-body {
|
|
178
|
+
display: grid;
|
|
179
|
+
grid-template-columns: var(--studio-editor-track, minmax(300px, 0.8fr)) minmax(320px, 1.25fr);
|
|
180
|
+
grid-template-rows: minmax(0, 1fr);
|
|
181
|
+
min-height: 0;
|
|
182
|
+
flex: 1;
|
|
183
|
+
}
|
|
184
|
+
.studio-body > :is(.studio-editor, .studio-preview) {
|
|
185
|
+
grid-row: 1;
|
|
186
|
+
}
|
|
187
|
+
.studio-body > .studio-editor {
|
|
188
|
+
grid-column: 1;
|
|
189
|
+
}
|
|
190
|
+
.studio-body > .studio-preview {
|
|
191
|
+
grid-column: 2;
|
|
192
|
+
}
|
|
193
|
+
/* Dividers overlap the start of their grid column and show a line and grip on hover. */
|
|
194
|
+
.studio-resize-handle {
|
|
195
|
+
grid-row: 1;
|
|
196
|
+
justify-self: start;
|
|
197
|
+
position: relative;
|
|
198
|
+
z-index: 2;
|
|
199
|
+
width: 10px;
|
|
200
|
+
margin-left: -5px;
|
|
201
|
+
cursor: col-resize;
|
|
202
|
+
touch-action: none;
|
|
203
|
+
outline: none;
|
|
204
|
+
}
|
|
205
|
+
.studio-resize-handle::before {
|
|
206
|
+
content: "";
|
|
207
|
+
position: absolute;
|
|
208
|
+
inset: 0 4px;
|
|
209
|
+
background: #263f38;
|
|
210
|
+
opacity: 0;
|
|
211
|
+
transition: opacity 120ms;
|
|
212
|
+
}
|
|
213
|
+
.studio-resize-handle::after {
|
|
214
|
+
content: "";
|
|
215
|
+
position: absolute;
|
|
216
|
+
top: 50%;
|
|
217
|
+
left: 50%;
|
|
218
|
+
width: 6px;
|
|
219
|
+
height: 32px;
|
|
220
|
+
translate: -50% -50%;
|
|
221
|
+
border-radius: 3px;
|
|
222
|
+
background: #263f38;
|
|
223
|
+
opacity: 0;
|
|
224
|
+
transition: opacity 120ms;
|
|
225
|
+
}
|
|
226
|
+
.studio-resize-handle:is(:hover, :active, :focus-visible)::before,
|
|
227
|
+
.studio-resize-handle:is(:hover, :active, :focus-visible)::after {
|
|
228
|
+
opacity: 1;
|
|
229
|
+
}
|
|
230
|
+
.studio-nav {
|
|
231
|
+
display: flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
gap: 2px;
|
|
234
|
+
min-width: 0;
|
|
235
|
+
overflow-x: auto;
|
|
236
|
+
scrollbar-width: none;
|
|
237
|
+
}
|
|
238
|
+
.studio-nav-divider {
|
|
239
|
+
flex-shrink: 0;
|
|
240
|
+
width: 1px;
|
|
241
|
+
height: 18px;
|
|
242
|
+
margin: 0 8px;
|
|
243
|
+
background: #e1e6e3;
|
|
244
|
+
}
|
|
245
|
+
.studio-nav button {
|
|
246
|
+
display: flex;
|
|
247
|
+
flex-shrink: 0;
|
|
248
|
+
align-items: center;
|
|
249
|
+
gap: 7px;
|
|
250
|
+
white-space: nowrap;
|
|
251
|
+
padding: 7px 10px;
|
|
252
|
+
color: #66736c;
|
|
253
|
+
background: transparent;
|
|
254
|
+
border: 0;
|
|
255
|
+
border-radius: 6px;
|
|
256
|
+
font-size: 11px;
|
|
257
|
+
}
|
|
258
|
+
.studio-nav button[aria-current] {
|
|
259
|
+
background: #e9f0ed;
|
|
260
|
+
color: #294f40;
|
|
261
|
+
font-weight: 600;
|
|
262
|
+
}
|
|
263
|
+
.studio-editor {
|
|
264
|
+
--studio-editor-pad: 20px;
|
|
265
|
+
padding: var(--studio-editor-pad);
|
|
266
|
+
padding-top: 12px;
|
|
267
|
+
overflow: auto;
|
|
268
|
+
min-width: 0;
|
|
269
|
+
}
|
|
270
|
+
.studio-subtabs-bar {
|
|
271
|
+
display: flex;
|
|
272
|
+
align-items: center;
|
|
273
|
+
gap: 12px;
|
|
274
|
+
margin-bottom: 12px;
|
|
275
|
+
border-bottom: 1px solid #e6ebe8;
|
|
276
|
+
}
|
|
277
|
+
.studio-subtabs-bar .studio-toggle-all {
|
|
278
|
+
margin-left: auto;
|
|
279
|
+
margin-bottom: 2px;
|
|
280
|
+
}
|
|
281
|
+
.studio-subtabs {
|
|
282
|
+
display: flex;
|
|
283
|
+
flex: 1;
|
|
284
|
+
gap: 18px;
|
|
285
|
+
min-width: 0;
|
|
286
|
+
overflow-x: auto;
|
|
287
|
+
scrollbar-width: none;
|
|
288
|
+
}
|
|
289
|
+
.studio-subtabs button {
|
|
290
|
+
display: flex;
|
|
291
|
+
flex-shrink: 0;
|
|
292
|
+
align-items: center;
|
|
293
|
+
gap: 6px;
|
|
294
|
+
padding: 0 0 9px;
|
|
295
|
+
margin-bottom: -1px;
|
|
296
|
+
border: 0;
|
|
297
|
+
border-bottom: 2px solid transparent;
|
|
298
|
+
background: transparent;
|
|
299
|
+
color: #66736c;
|
|
300
|
+
font-size: 11px;
|
|
301
|
+
white-space: nowrap;
|
|
302
|
+
}
|
|
303
|
+
.studio-subtabs button[aria-selected="true"] {
|
|
304
|
+
border-bottom-color: #263f38;
|
|
305
|
+
color: #294f40;
|
|
306
|
+
font-weight: 600;
|
|
307
|
+
}
|
|
308
|
+
.studio-subtabs button:disabled {
|
|
309
|
+
opacity: 0.5;
|
|
310
|
+
}
|
|
311
|
+
.studio-editor-heading {
|
|
312
|
+
display: flex;
|
|
313
|
+
align-items: center;
|
|
314
|
+
justify-content: space-between;
|
|
315
|
+
gap: 12px;
|
|
316
|
+
margin-bottom: 10px;
|
|
317
|
+
}
|
|
318
|
+
.studio-editor-heading h2 {
|
|
319
|
+
font-size: 11px;
|
|
320
|
+
font-weight: 550;
|
|
321
|
+
letter-spacing: -0.6px;
|
|
322
|
+
margin: 0;
|
|
323
|
+
}
|
|
324
|
+
.studio-mode {
|
|
325
|
+
display: inline-flex;
|
|
326
|
+
border: 1px solid #e1e6e3;
|
|
327
|
+
background: #f6f8f6;
|
|
328
|
+
border-radius: 6px;
|
|
329
|
+
padding: 3px;
|
|
330
|
+
gap: 3px;
|
|
331
|
+
}
|
|
332
|
+
.studio-mode button {
|
|
333
|
+
display: flex;
|
|
334
|
+
align-items: center;
|
|
335
|
+
justify-content: center;
|
|
336
|
+
gap: 6px;
|
|
337
|
+
border: 0;
|
|
338
|
+
border-radius: 4px;
|
|
339
|
+
padding: 5px 11px;
|
|
340
|
+
font-size: 11px;
|
|
341
|
+
background: transparent;
|
|
342
|
+
color: #87918b;
|
|
343
|
+
text-transform: capitalize;
|
|
344
|
+
}
|
|
345
|
+
.studio-mode button[aria-pressed="true"] {
|
|
346
|
+
background: white;
|
|
347
|
+
box-shadow: 0 1px 3px #253c3717;
|
|
348
|
+
color: #344b40;
|
|
349
|
+
}
|
|
350
|
+
.studio-search {
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: center;
|
|
353
|
+
gap: 8px;
|
|
354
|
+
padding: 9px 11px;
|
|
355
|
+
border: 1px solid #e1e6e3;
|
|
356
|
+
border-radius: 6px;
|
|
357
|
+
margin: 20px 0 12px;
|
|
358
|
+
color: #9aa19d;
|
|
359
|
+
}
|
|
360
|
+
.studio-search input {
|
|
361
|
+
width: 100%;
|
|
362
|
+
outline: none;
|
|
363
|
+
border: 0;
|
|
364
|
+
background: transparent;
|
|
365
|
+
color: #35453d;
|
|
366
|
+
font-size: 11px;
|
|
367
|
+
}
|
|
368
|
+
.studio-token {
|
|
369
|
+
padding: 4px 0;
|
|
370
|
+
border-bottom: 1px solid #edf0ee;
|
|
371
|
+
}
|
|
372
|
+
.studio-token label {
|
|
373
|
+
display: block;
|
|
374
|
+
margin-bottom: 5px;
|
|
375
|
+
}
|
|
376
|
+
.studio-token label > span {
|
|
377
|
+
display: block;
|
|
378
|
+
font-size: 11px;
|
|
379
|
+
font-weight: 550;
|
|
380
|
+
text-transform: capitalize;
|
|
381
|
+
}
|
|
382
|
+
.studio-token.is-changed label > span::after {
|
|
383
|
+
content: " •";
|
|
384
|
+
color: #308761;
|
|
385
|
+
}
|
|
386
|
+
.studio-token-value {
|
|
387
|
+
display: flex;
|
|
388
|
+
align-items: center;
|
|
389
|
+
gap: 8px;
|
|
390
|
+
}
|
|
391
|
+
.studio-token-value input:not([type="color"]) {
|
|
392
|
+
border: 1px solid #e2e7e3;
|
|
393
|
+
border-radius: 5px;
|
|
394
|
+
height: 24px;
|
|
395
|
+
padding: 2px 7px;
|
|
396
|
+
line-height: 18px;
|
|
397
|
+
font-family: inherit;
|
|
398
|
+
font-variant-numeric: tabular-nums;
|
|
399
|
+
font-size: 11px;
|
|
400
|
+
color: #5f6e64;
|
|
401
|
+
min-width: 0;
|
|
402
|
+
width: 100%;
|
|
403
|
+
background: #fff;
|
|
404
|
+
}
|
|
405
|
+
.studio-token-value input[type="color"] {
|
|
406
|
+
width: 24px;
|
|
407
|
+
height: 24px;
|
|
408
|
+
border: 1px solid #e2e7e3;
|
|
409
|
+
border-radius: 5px;
|
|
410
|
+
padding: 2px;
|
|
411
|
+
flex-shrink: 0;
|
|
412
|
+
background: white;
|
|
413
|
+
}
|
|
414
|
+
.studio-palette-swatch {
|
|
415
|
+
width: 18px;
|
|
416
|
+
height: 18px;
|
|
417
|
+
flex-shrink: 0;
|
|
418
|
+
border: 1px solid #d5dcd7;
|
|
419
|
+
border-radius: 3px;
|
|
420
|
+
}
|
|
421
|
+
/* Base palette picker for semantic colors: a swatch trigger and a grouped swatch list. */
|
|
422
|
+
.studio-palette-picker {
|
|
423
|
+
display: flex;
|
|
424
|
+
flex: 1;
|
|
425
|
+
min-width: 0;
|
|
426
|
+
}
|
|
427
|
+
.studio-palette-picker.is-custom {
|
|
428
|
+
flex: none;
|
|
429
|
+
}
|
|
430
|
+
.studio-token-value .studio-palette-trigger {
|
|
431
|
+
display: flex;
|
|
432
|
+
flex: 1;
|
|
433
|
+
align-items: center;
|
|
434
|
+
gap: 7px;
|
|
435
|
+
width: auto;
|
|
436
|
+
min-width: 0;
|
|
437
|
+
height: auto;
|
|
438
|
+
min-height: 24px;
|
|
439
|
+
padding: 0 7px;
|
|
440
|
+
border: 0;
|
|
441
|
+
background: transparent;
|
|
442
|
+
color: #35453d;
|
|
443
|
+
font: inherit;
|
|
444
|
+
font-size: 11px;
|
|
445
|
+
text-align: left;
|
|
446
|
+
text-transform: capitalize;
|
|
447
|
+
cursor: pointer;
|
|
448
|
+
}
|
|
449
|
+
.studio-token-value .studio-palette-trigger:hover {
|
|
450
|
+
background: #f6f8f6;
|
|
451
|
+
}
|
|
452
|
+
.studio-palette-trigger > svg {
|
|
453
|
+
flex-shrink: 0;
|
|
454
|
+
margin-left: auto;
|
|
455
|
+
color: #8b9690;
|
|
456
|
+
}
|
|
457
|
+
.studio-palette-trigger-label {
|
|
458
|
+
overflow: hidden;
|
|
459
|
+
text-overflow: ellipsis;
|
|
460
|
+
white-space: nowrap;
|
|
461
|
+
}
|
|
462
|
+
.studio-palette-popover {
|
|
463
|
+
z-index: 1002;
|
|
464
|
+
display: flex;
|
|
465
|
+
width: 220px;
|
|
466
|
+
border: 1px solid #e1e6e3;
|
|
467
|
+
border-radius: 10px;
|
|
468
|
+
background: #fff;
|
|
469
|
+
box-shadow: 0 12px 40px #12251f26;
|
|
470
|
+
font-family: "Inter Variable", Inter, sans-serif;
|
|
471
|
+
font-size: 11px;
|
|
472
|
+
color: #202529;
|
|
473
|
+
}
|
|
474
|
+
/* The list scrolls itself so opening it can bring the selected color into view. */
|
|
475
|
+
.studio-palette-list {
|
|
476
|
+
position: relative;
|
|
477
|
+
flex: 1;
|
|
478
|
+
max-height: min(420px, calc(var(--visual-viewport-height, 100vh) - 80px));
|
|
479
|
+
overflow: auto;
|
|
480
|
+
padding: 6px;
|
|
481
|
+
outline: none;
|
|
482
|
+
}
|
|
483
|
+
.studio-palette-list header {
|
|
484
|
+
padding: 10px 8px 5px;
|
|
485
|
+
color: #65756b;
|
|
486
|
+
font-size: 10px;
|
|
487
|
+
font-weight: 600;
|
|
488
|
+
text-transform: capitalize;
|
|
489
|
+
}
|
|
490
|
+
.studio-palette-list section:first-child header {
|
|
491
|
+
padding-top: 4px;
|
|
492
|
+
}
|
|
493
|
+
.studio-palette-item {
|
|
494
|
+
display: flex;
|
|
495
|
+
align-items: center;
|
|
496
|
+
gap: 9px;
|
|
497
|
+
padding: 5px 8px;
|
|
498
|
+
border-radius: 6px;
|
|
499
|
+
outline: none;
|
|
500
|
+
cursor: pointer;
|
|
501
|
+
}
|
|
502
|
+
.studio-palette-item[data-focused],
|
|
503
|
+
.studio-palette-item[data-hovered] {
|
|
504
|
+
background: #f1f4f2;
|
|
505
|
+
}
|
|
506
|
+
.studio-palette-item[data-selected] {
|
|
507
|
+
background: #e9f0ed;
|
|
508
|
+
color: #294f40;
|
|
509
|
+
font-weight: 600;
|
|
510
|
+
}
|
|
511
|
+
.studio-palette-item code {
|
|
512
|
+
margin-left: auto;
|
|
513
|
+
color: #8b9690;
|
|
514
|
+
font-size: 10px;
|
|
515
|
+
}
|
|
516
|
+
.studio-palette-item.is-custom {
|
|
517
|
+
margin-top: 4px;
|
|
518
|
+
border-top: 1px solid #eef1ef;
|
|
519
|
+
border-radius: 0 0 6px 6px;
|
|
520
|
+
color: #65756b;
|
|
521
|
+
}
|
|
522
|
+
.studio-token-value button {
|
|
523
|
+
display: grid;
|
|
524
|
+
place-items: center;
|
|
525
|
+
width: 24px;
|
|
526
|
+
height: 24px;
|
|
527
|
+
flex-shrink: 0;
|
|
528
|
+
border: 0;
|
|
529
|
+
background: transparent;
|
|
530
|
+
padding: 4px;
|
|
531
|
+
color: #667a6b;
|
|
532
|
+
}
|
|
533
|
+
.studio-overlay button:disabled {
|
|
534
|
+
opacity: 0.35;
|
|
535
|
+
cursor: default;
|
|
536
|
+
}
|
|
537
|
+
.studio-overlay input:focus-visible,
|
|
538
|
+
.studio-overlay select:focus-visible,
|
|
539
|
+
.studio-overlay textarea:focus-visible,
|
|
540
|
+
.studio-overlay button:focus-visible {
|
|
541
|
+
outline: 2px solid #3d8d68;
|
|
542
|
+
outline-offset: 3px;
|
|
543
|
+
}
|
|
544
|
+
.studio-token-value input[aria-invalid="true"] {
|
|
545
|
+
border-color: #c34839;
|
|
546
|
+
}
|
|
547
|
+
.studio-error {
|
|
548
|
+
color: #b8362c;
|
|
549
|
+
display: block;
|
|
550
|
+
margin-top: 7px;
|
|
551
|
+
font-size: 11px;
|
|
552
|
+
}
|
|
553
|
+
.studio-preview {
|
|
554
|
+
background: #f5f7f6;
|
|
555
|
+
border-left: 1px solid #e6ebe7;
|
|
556
|
+
padding: 20px;
|
|
557
|
+
overflow: auto;
|
|
558
|
+
min-width: 0;
|
|
559
|
+
}
|
|
560
|
+
.studio-preview-heading {
|
|
561
|
+
display: flex;
|
|
562
|
+
justify-content: space-between;
|
|
563
|
+
align-items: center;
|
|
564
|
+
margin-bottom: 16px;
|
|
565
|
+
}
|
|
566
|
+
.studio-preview-heading > span {
|
|
567
|
+
font-size: 9px;
|
|
568
|
+
font-weight: 600;
|
|
569
|
+
letter-spacing: 1.1px;
|
|
570
|
+
color: #839087;
|
|
571
|
+
}
|
|
572
|
+
.studio-preview-heading i {
|
|
573
|
+
display: inline-block;
|
|
574
|
+
height: 5px;
|
|
575
|
+
width: 5px;
|
|
576
|
+
border-radius: 50%;
|
|
577
|
+
background: #5c9c78;
|
|
578
|
+
margin-right: 5px;
|
|
579
|
+
}
|
|
580
|
+
.studio-preview-modes {
|
|
581
|
+
display: inline-flex;
|
|
582
|
+
gap: 2px;
|
|
583
|
+
padding: 2px;
|
|
584
|
+
border: 1px solid #dfe6e1;
|
|
585
|
+
border-radius: 6px;
|
|
586
|
+
background: #fff;
|
|
587
|
+
}
|
|
588
|
+
.studio-preview-modes button {
|
|
589
|
+
border: 0;
|
|
590
|
+
border-radius: 4px;
|
|
591
|
+
padding: 4px 7px;
|
|
592
|
+
background: transparent;
|
|
593
|
+
color: #66766c;
|
|
594
|
+
font-size: 10px;
|
|
595
|
+
}
|
|
596
|
+
.studio-preview-modes button[aria-pressed="true"] {
|
|
597
|
+
background: #eaf4ee;
|
|
598
|
+
color: #263f38;
|
|
599
|
+
}
|
|
600
|
+
.studio-preview-modes button:focus-visible {
|
|
601
|
+
outline: 2px solid #3d8d68;
|
|
602
|
+
}
|
|
603
|
+
.studio-preview-note {
|
|
604
|
+
text-align: center;
|
|
605
|
+
color: #a0aaa2;
|
|
606
|
+
font-size: 11px;
|
|
607
|
+
line-height: 1.7;
|
|
608
|
+
margin-top: 20px;
|
|
609
|
+
}
|
|
610
|
+
.studio-sample {
|
|
611
|
+
padding: 16px;
|
|
612
|
+
border-radius: 10px;
|
|
613
|
+
background: rgb(var(--surface-default-background-base));
|
|
614
|
+
color: rgb(var(--surface-default-card-foreground-base));
|
|
615
|
+
font-family: var(--font-body);
|
|
616
|
+
}
|
|
617
|
+
.studio-footer {
|
|
618
|
+
display: flex;
|
|
619
|
+
align-items: center;
|
|
620
|
+
gap: 10px;
|
|
621
|
+
padding: 10px 20px;
|
|
622
|
+
border-top: 1px solid #e7ebe8;
|
|
623
|
+
flex-shrink: 0;
|
|
624
|
+
}
|
|
625
|
+
.studio-footer > button:not(.studio-primary),
|
|
626
|
+
.studio-export-actions button {
|
|
627
|
+
display: flex;
|
|
628
|
+
align-items: center;
|
|
629
|
+
justify-content: center;
|
|
630
|
+
gap: 7px;
|
|
631
|
+
color: #65756b;
|
|
632
|
+
border: 1px solid #e3e8e4;
|
|
633
|
+
border-radius: 6px;
|
|
634
|
+
padding: 9px 12px;
|
|
635
|
+
background: white;
|
|
636
|
+
font-size: 11px;
|
|
637
|
+
}
|
|
638
|
+
.studio-footer > span {
|
|
639
|
+
flex: 1;
|
|
640
|
+
color: #89958c;
|
|
641
|
+
font-size: 11px;
|
|
642
|
+
}
|
|
643
|
+
/* Confirmation dialogs sit above the full-page configurator. */
|
|
644
|
+
.studio-overlay.studio-confirm-overlay {
|
|
645
|
+
z-index: 1001;
|
|
646
|
+
display: grid;
|
|
647
|
+
place-items: center;
|
|
648
|
+
padding: 16px;
|
|
649
|
+
background: #14232266;
|
|
650
|
+
}
|
|
651
|
+
.studio-confirm {
|
|
652
|
+
width: min(420px, 100%);
|
|
653
|
+
background: #fff;
|
|
654
|
+
border-radius: 12px;
|
|
655
|
+
box-shadow: 0 25px 90px #12251f40;
|
|
656
|
+
}
|
|
657
|
+
.studio-confirm-dialog {
|
|
658
|
+
padding: 22px;
|
|
659
|
+
outline: none;
|
|
660
|
+
}
|
|
661
|
+
.studio-confirm-dialog h2 {
|
|
662
|
+
margin: 0 0 8px;
|
|
663
|
+
font-size: 14px;
|
|
664
|
+
font-weight: 650;
|
|
665
|
+
}
|
|
666
|
+
.studio-confirm-dialog p {
|
|
667
|
+
margin: 0;
|
|
668
|
+
color: #65756b;
|
|
669
|
+
font-size: 12px;
|
|
670
|
+
}
|
|
671
|
+
.studio-confirm-actions {
|
|
672
|
+
display: flex;
|
|
673
|
+
justify-content: flex-end;
|
|
674
|
+
gap: 8px;
|
|
675
|
+
margin-top: 20px;
|
|
676
|
+
}
|
|
677
|
+
.studio-confirm-actions > button:not(.studio-danger) {
|
|
678
|
+
padding: 9px 12px;
|
|
679
|
+
border: 1px solid #e3e8e4;
|
|
680
|
+
border-radius: 6px;
|
|
681
|
+
background: #fff;
|
|
682
|
+
color: #65756b;
|
|
683
|
+
font-size: 11px;
|
|
684
|
+
}
|
|
685
|
+
.studio-confirm-actions > button.studio-danger {
|
|
686
|
+
display: flex;
|
|
687
|
+
align-items: center;
|
|
688
|
+
gap: 7px;
|
|
689
|
+
padding: 9px 12px;
|
|
690
|
+
border: 1px solid #b8362c;
|
|
691
|
+
border-radius: 6px;
|
|
692
|
+
background: #b8362c;
|
|
693
|
+
color: #fff;
|
|
694
|
+
font-size: 11px;
|
|
695
|
+
}
|
|
696
|
+
.studio-settings h3 {
|
|
697
|
+
font-size: 11px;
|
|
698
|
+
font-weight: 650;
|
|
699
|
+
margin: 18px 0 6px;
|
|
700
|
+
}
|
|
701
|
+
.studio-setting {
|
|
702
|
+
display: flex;
|
|
703
|
+
justify-content: space-between;
|
|
704
|
+
align-items: center;
|
|
705
|
+
gap: 10px;
|
|
706
|
+
padding: 10px 0;
|
|
707
|
+
border-bottom: 1px solid #edf0ee;
|
|
708
|
+
font-size: 11px;
|
|
709
|
+
}
|
|
710
|
+
.studio-setting select {
|
|
711
|
+
background: white;
|
|
712
|
+
border: 1px solid #dde4de;
|
|
713
|
+
border-radius: 5px;
|
|
714
|
+
padding: 7px;
|
|
715
|
+
color: #5a6c60;
|
|
716
|
+
}
|
|
717
|
+
.studio-setting input {
|
|
718
|
+
accent-color: #315d47;
|
|
719
|
+
}
|
|
720
|
+
.studio-setting small {
|
|
721
|
+
display: block;
|
|
722
|
+
color: #98a098;
|
|
723
|
+
font-size: 11px;
|
|
724
|
+
margin-top: 4px;
|
|
725
|
+
}
|
|
726
|
+
.studio-help,
|
|
727
|
+
.studio-export > p {
|
|
728
|
+
color: #8b958e;
|
|
729
|
+
font-size: 11px;
|
|
730
|
+
line-height: 1.7;
|
|
731
|
+
margin-top: 20px;
|
|
732
|
+
}
|
|
733
|
+
.studio-export textarea {
|
|
734
|
+
background: #f7f9f7;
|
|
735
|
+
border: 1px solid #e1e6e2;
|
|
736
|
+
border-radius: 7px;
|
|
737
|
+
font-size: 11px;
|
|
738
|
+
font-family: monospace;
|
|
739
|
+
padding: 15px;
|
|
740
|
+
width: 100%;
|
|
741
|
+
height: 320px;
|
|
742
|
+
resize: vertical;
|
|
743
|
+
color: #395640;
|
|
744
|
+
margin: 18px 0;
|
|
745
|
+
}
|
|
746
|
+
@media (max-width: 1050px) {
|
|
747
|
+
.studio-body {
|
|
748
|
+
grid-template-columns: var(--studio-editor-track, minmax(260px, 0.8fr)) minmax(280px, 1.25fr);
|
|
749
|
+
}
|
|
750
|
+
.studio-editor {
|
|
751
|
+
--studio-editor-pad: 18px;
|
|
752
|
+
}
|
|
753
|
+
.studio-preview {
|
|
754
|
+
padding: 18px;
|
|
755
|
+
}
|
|
756
|
+
.studio-sample {
|
|
757
|
+
padding: 8px;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
@media (max-width: 800px) {
|
|
761
|
+
.studio-body {
|
|
762
|
+
display: flex;
|
|
763
|
+
flex-direction: column;
|
|
764
|
+
overflow: auto;
|
|
765
|
+
}
|
|
766
|
+
.studio-resize-handle {
|
|
767
|
+
display: none;
|
|
768
|
+
}
|
|
769
|
+
.studio-editor,
|
|
770
|
+
.studio-preview {
|
|
771
|
+
overflow: visible;
|
|
772
|
+
flex-shrink: 0;
|
|
773
|
+
}
|
|
774
|
+
.studio-preview {
|
|
775
|
+
border-top: 1px solid #e8ebea;
|
|
776
|
+
}
|
|
777
|
+
.studio-footer {
|
|
778
|
+
flex-wrap: wrap;
|
|
779
|
+
padding: 12px;
|
|
780
|
+
gap: 8px;
|
|
781
|
+
}
|
|
782
|
+
.studio-footer > span {
|
|
783
|
+
flex-basis: 60%;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.studio-token-group {
|
|
788
|
+
min-width: 0;
|
|
789
|
+
margin: 10px 0 0;
|
|
790
|
+
padding: 8px 10px 10px;
|
|
791
|
+
border: 1px solid #e2e7e3;
|
|
792
|
+
border-radius: 8px;
|
|
793
|
+
}
|
|
794
|
+
.studio-token-group legend {
|
|
795
|
+
padding: 0 6px;
|
|
796
|
+
font-size: 11px;
|
|
797
|
+
font-weight: 600;
|
|
798
|
+
text-transform: capitalize;
|
|
799
|
+
color: #35483e;
|
|
800
|
+
}
|
|
801
|
+
/* Typography keeps its compact three-field styles but shares the table's group header rows. */
|
|
802
|
+
:is(.studio-token-list-inline, .studio-token-list-rows) {
|
|
803
|
+
--studio-cell-line: #e6ebe8;
|
|
804
|
+
}
|
|
805
|
+
/* Section titles are header rows of one continuous table rather than separately bordered boxes. */
|
|
806
|
+
:is(.studio-token-list-rows, .studio-token-list-inline) .studio-token-group {
|
|
807
|
+
margin: 0 calc(-1 * var(--studio-editor-pad));
|
|
808
|
+
padding: 0;
|
|
809
|
+
border: 0;
|
|
810
|
+
border-radius: 0;
|
|
811
|
+
}
|
|
812
|
+
:is(.studio-token-list-rows, .studio-token-list-inline) .studio-token-group legend {
|
|
813
|
+
float: left;
|
|
814
|
+
display: flex;
|
|
815
|
+
align-items: center;
|
|
816
|
+
width: 100%;
|
|
817
|
+
box-sizing: border-box;
|
|
818
|
+
margin: 0;
|
|
819
|
+
padding: 0 var(--studio-editor-pad) 0 0;
|
|
820
|
+
background: #f5f7f6;
|
|
821
|
+
border-bottom: 1px solid var(--studio-cell-line);
|
|
822
|
+
}
|
|
823
|
+
/* The whole header row toggles its group, not only the title text. */
|
|
824
|
+
:is(.studio-token-list-rows, .studio-token-list-inline) .studio-token-group .studio-group-toggle {
|
|
825
|
+
flex: 1;
|
|
826
|
+
align-self: stretch;
|
|
827
|
+
min-width: 0;
|
|
828
|
+
padding: 7px 0 7px var(--studio-editor-pad);
|
|
829
|
+
text-align: left;
|
|
830
|
+
}
|
|
831
|
+
:is(.studio-token-list-rows, .studio-token-list-inline) .studio-token-group:first-child legend {
|
|
832
|
+
border-top: 1px solid var(--studio-cell-line);
|
|
833
|
+
}
|
|
834
|
+
:is(.studio-token-list-rows, .studio-token-list-inline) .studio-token-group > div {
|
|
835
|
+
clear: both;
|
|
836
|
+
}
|
|
837
|
+
.studio-token-list-inline .studio-token-group .studio-token {
|
|
838
|
+
padding-inline: var(--studio-editor-pad);
|
|
839
|
+
}
|
|
840
|
+
.studio-token-group > div > .studio-token:last-child {
|
|
841
|
+
border-bottom: 0;
|
|
842
|
+
padding-bottom: 0;
|
|
843
|
+
}
|
|
844
|
+
.studio-type-fields {
|
|
845
|
+
display: grid;
|
|
846
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
847
|
+
gap: 8px;
|
|
848
|
+
}
|
|
849
|
+
.studio-type-fields .studio-token {
|
|
850
|
+
min-width: 0;
|
|
851
|
+
padding: 0;
|
|
852
|
+
border: 0;
|
|
853
|
+
}
|
|
854
|
+
.studio-type-fields .studio-token label > span {
|
|
855
|
+
font-size: 11px;
|
|
856
|
+
white-space: nowrap;
|
|
857
|
+
text-transform: none;
|
|
858
|
+
margin-bottom: 0;
|
|
859
|
+
}
|
|
860
|
+
.studio-type-fields .studio-token-value {
|
|
861
|
+
position: relative;
|
|
862
|
+
gap: 0;
|
|
863
|
+
}
|
|
864
|
+
.studio-type-fields .studio-token-value input:not([type="color"]) {
|
|
865
|
+
padding-right: 27px;
|
|
866
|
+
}
|
|
867
|
+
.studio-type-fields .studio-token-value button {
|
|
868
|
+
position: absolute;
|
|
869
|
+
right: 1px;
|
|
870
|
+
padding: 5px;
|
|
871
|
+
}
|
|
872
|
+
@media (min-width: 801px) and (max-width: 1100px) {
|
|
873
|
+
.studio-type-fields {
|
|
874
|
+
grid-template-columns: 1fr;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
@media (max-width: 420px) {
|
|
878
|
+
.studio-type-fields {
|
|
879
|
+
gap: 6px;
|
|
880
|
+
}
|
|
881
|
+
.studio-type-fields .studio-token-value input:not([type="color"]) {
|
|
882
|
+
padding-left: 6px;
|
|
883
|
+
font-size: 11px;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.studio-color-mode {
|
|
888
|
+
flex-shrink: 0;
|
|
889
|
+
}
|
|
890
|
+
.studio-color-mode button {
|
|
891
|
+
cursor: pointer;
|
|
892
|
+
}
|
|
893
|
+
.studio-color-mode button:focus-visible {
|
|
894
|
+
outline: 2px solid #3d8d68;
|
|
895
|
+
outline-offset: 2px;
|
|
896
|
+
}
|
|
897
|
+
.studio-token-list-inline .studio-token {
|
|
898
|
+
display: grid;
|
|
899
|
+
grid-template-columns: minmax(0, 1fr) minmax(170px, 46%);
|
|
900
|
+
align-items: center;
|
|
901
|
+
gap: 6px 14px;
|
|
902
|
+
}
|
|
903
|
+
.studio-token-list-inline .studio-token label {
|
|
904
|
+
margin: 0;
|
|
905
|
+
overflow-wrap: anywhere;
|
|
906
|
+
}
|
|
907
|
+
.studio-token-list-inline .studio-token-value {
|
|
908
|
+
min-width: 0;
|
|
909
|
+
}
|
|
910
|
+
.studio-token-list-inline .studio-error {
|
|
911
|
+
grid-column: 2;
|
|
912
|
+
margin: 0;
|
|
913
|
+
}
|
|
914
|
+
@media (max-width: 420px) {
|
|
915
|
+
.studio-token-list-inline .studio-token {
|
|
916
|
+
grid-template-columns: minmax(0, 1fr) minmax(165px, 50%);
|
|
917
|
+
gap: 6px 10px;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.studio-size-presets {
|
|
922
|
+
appearance: none;
|
|
923
|
+
width: 20px;
|
|
924
|
+
height: 24px;
|
|
925
|
+
flex-shrink: 0;
|
|
926
|
+
padding: 0;
|
|
927
|
+
text-align: center;
|
|
928
|
+
border: 1px solid #e2e7e3;
|
|
929
|
+
border-radius: 4px;
|
|
930
|
+
background: #fff;
|
|
931
|
+
color: #5f6e64;
|
|
932
|
+
font-size: 11px;
|
|
933
|
+
cursor: pointer;
|
|
934
|
+
}
|
|
935
|
+
.studio-token-value:has(.studio-size-presets) {
|
|
936
|
+
gap: 3px;
|
|
937
|
+
}
|
|
938
|
+
.studio-type-fields .studio-token-value:has(.studio-size-presets) input {
|
|
939
|
+
padding-right: 5px;
|
|
940
|
+
}
|
|
941
|
+
.studio-type-fields .studio-token-value:has(.studio-size-presets) button {
|
|
942
|
+
position: static;
|
|
943
|
+
width: 20px;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.studio-unit-mode {
|
|
947
|
+
flex-shrink: 0;
|
|
948
|
+
}
|
|
949
|
+
.studio-unit-mode button {
|
|
950
|
+
text-transform: none;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.studio-token-input {
|
|
954
|
+
position: relative;
|
|
955
|
+
display: flex;
|
|
956
|
+
flex: 1;
|
|
957
|
+
min-width: 0;
|
|
958
|
+
}
|
|
959
|
+
.studio-token-unit {
|
|
960
|
+
position: absolute;
|
|
961
|
+
right: 7px;
|
|
962
|
+
top: 50%;
|
|
963
|
+
transform: translateY(-50%);
|
|
964
|
+
color: #8b9690;
|
|
965
|
+
font-size: 11px;
|
|
966
|
+
font-variant-numeric: tabular-nums;
|
|
967
|
+
pointer-events: none;
|
|
968
|
+
}
|
|
969
|
+
.studio-token-value .studio-token-input:has(.studio-token-unit) input {
|
|
970
|
+
padding-right: 32px;
|
|
971
|
+
}
|
|
972
|
+
/* Compact text-style fields keep their reset button inside the input, so the unit sits to its left. */
|
|
973
|
+
.studio-type-fields .studio-token-value:not(:has(.studio-size-presets)) .studio-token-unit {
|
|
974
|
+
right: 29px;
|
|
975
|
+
}
|
|
976
|
+
.studio-type-fields
|
|
977
|
+
.studio-token-value:not(:has(.studio-size-presets))
|
|
978
|
+
.studio-token-input:has(.studio-token-unit)
|
|
979
|
+
input {
|
|
980
|
+
padding-right: 52px;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.studio-group-toggle {
|
|
984
|
+
display: inline-flex;
|
|
985
|
+
align-items: center;
|
|
986
|
+
gap: 4px;
|
|
987
|
+
padding: 0;
|
|
988
|
+
border: 0;
|
|
989
|
+
background: transparent;
|
|
990
|
+
color: inherit;
|
|
991
|
+
font: inherit;
|
|
992
|
+
text-transform: inherit;
|
|
993
|
+
cursor: pointer;
|
|
994
|
+
}
|
|
995
|
+
.studio-group-toggle svg {
|
|
996
|
+
color: #8b948f;
|
|
997
|
+
transition: transform 0.15s ease;
|
|
998
|
+
}
|
|
999
|
+
.studio-group-toggle[aria-expanded="true"] svg {
|
|
1000
|
+
transform: rotate(90deg);
|
|
1001
|
+
}
|
|
1002
|
+
.studio-group-toggle:focus-visible {
|
|
1003
|
+
outline: 2px solid #3d8d68;
|
|
1004
|
+
outline-offset: 2px;
|
|
1005
|
+
border-radius: 3px;
|
|
1006
|
+
}
|
|
1007
|
+
.studio-group-changed {
|
|
1008
|
+
width: 5px;
|
|
1009
|
+
height: 5px;
|
|
1010
|
+
border-radius: 50%;
|
|
1011
|
+
background: #308761;
|
|
1012
|
+
margin-left: 2px;
|
|
1013
|
+
}
|
|
1014
|
+
.studio-token-group.is-collapsed {
|
|
1015
|
+
padding-bottom: 0;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/* A text-only action, so the section heading stays one compact line. */
|
|
1019
|
+
.studio-toggle-all {
|
|
1020
|
+
display: inline-flex;
|
|
1021
|
+
align-items: center;
|
|
1022
|
+
gap: 4px;
|
|
1023
|
+
flex-shrink: 0;
|
|
1024
|
+
padding: 2px 0;
|
|
1025
|
+
border: 0;
|
|
1026
|
+
border-radius: 4px;
|
|
1027
|
+
background: transparent;
|
|
1028
|
+
color: #5f6e64;
|
|
1029
|
+
font-size: 11px;
|
|
1030
|
+
line-height: 1;
|
|
1031
|
+
cursor: pointer;
|
|
1032
|
+
}
|
|
1033
|
+
.studio-toggle-all:hover:not(:disabled) {
|
|
1034
|
+
color: #263f38;
|
|
1035
|
+
text-decoration: underline;
|
|
1036
|
+
text-underline-offset: 2px;
|
|
1037
|
+
}
|
|
1038
|
+
.studio-toggle-all:disabled {
|
|
1039
|
+
opacity: 0.5;
|
|
1040
|
+
cursor: default;
|
|
1041
|
+
}
|
|
1042
|
+
.studio-toggle-all:focus-visible {
|
|
1043
|
+
outline: 2px solid #3d8d68;
|
|
1044
|
+
outline-offset: 2px;
|
|
1045
|
+
}
|
|
1046
|
+
.studio-token-list:not(.studio-token-list-inline, .studio-token-list-rows) .studio-token-group.is-collapsed {
|
|
1047
|
+
border-inline: 0;
|
|
1048
|
+
border-bottom: 0;
|
|
1049
|
+
border-radius: 0;
|
|
1050
|
+
padding-inline: 0;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/* Table rows: label | value (+ swatch/unit) | presets | reset, divided by shared hairlines. */
|
|
1054
|
+
.studio-token-list-inline .studio-token-group .studio-token {
|
|
1055
|
+
align-items: stretch;
|
|
1056
|
+
gap: 0;
|
|
1057
|
+
padding-block: 0;
|
|
1058
|
+
padding-right: 0;
|
|
1059
|
+
min-height: 32px;
|
|
1060
|
+
border-bottom-color: var(--studio-cell-line);
|
|
1061
|
+
}
|
|
1062
|
+
.studio-token-list-inline .studio-token-group .studio-token:hover {
|
|
1063
|
+
background: #f9fbfa;
|
|
1064
|
+
}
|
|
1065
|
+
.studio-token-list-inline .studio-token-group > div > .studio-token:last-child {
|
|
1066
|
+
border-bottom: 1px solid var(--studio-cell-line);
|
|
1067
|
+
}
|
|
1068
|
+
.studio-token-list-inline .studio-token-group .studio-token label {
|
|
1069
|
+
display: flex;
|
|
1070
|
+
align-items: center;
|
|
1071
|
+
padding: 6px 12px 6px 0;
|
|
1072
|
+
}
|
|
1073
|
+
.studio-token-list-inline .studio-token-group .studio-token-value {
|
|
1074
|
+
gap: 0;
|
|
1075
|
+
align-items: stretch;
|
|
1076
|
+
border-left: 1px solid var(--studio-cell-line);
|
|
1077
|
+
}
|
|
1078
|
+
.studio-token-list-inline .studio-token-group .studio-token-value > * + * {
|
|
1079
|
+
border-left: 1px solid var(--studio-cell-line);
|
|
1080
|
+
}
|
|
1081
|
+
.studio-token-list-inline .studio-token-group .studio-token-value input:not([type="color"]) {
|
|
1082
|
+
height: 100%;
|
|
1083
|
+
min-height: 32px;
|
|
1084
|
+
padding: 0 8px;
|
|
1085
|
+
border: 0;
|
|
1086
|
+
border-radius: 0;
|
|
1087
|
+
background: transparent;
|
|
1088
|
+
}
|
|
1089
|
+
.studio-token-list-inline .studio-token-group .studio-token-value input[aria-invalid="true"] {
|
|
1090
|
+
background: #fdf1ef;
|
|
1091
|
+
box-shadow: inset 0 0 0 1px #c34839;
|
|
1092
|
+
}
|
|
1093
|
+
.studio-token-list-inline .studio-token-group .studio-token-value input[type="color"] {
|
|
1094
|
+
align-self: center;
|
|
1095
|
+
width: 32px;
|
|
1096
|
+
height: 32px;
|
|
1097
|
+
padding: 8px;
|
|
1098
|
+
border: 0;
|
|
1099
|
+
border-radius: 0;
|
|
1100
|
+
background: transparent;
|
|
1101
|
+
cursor: pointer;
|
|
1102
|
+
}
|
|
1103
|
+
.studio-token-list-inline .studio-token-group .studio-token-value input[type="color"]::-webkit-color-swatch-wrapper {
|
|
1104
|
+
padding: 0;
|
|
1105
|
+
}
|
|
1106
|
+
.studio-token-list-inline .studio-token-group .studio-token-value input[type="color"]::-webkit-color-swatch {
|
|
1107
|
+
border: 1px solid #d9dfdb;
|
|
1108
|
+
border-radius: 3px;
|
|
1109
|
+
}
|
|
1110
|
+
.studio-token-list-inline .studio-token-group .studio-token-value input[type="color"]::-moz-color-swatch {
|
|
1111
|
+
border: 1px solid #d9dfdb;
|
|
1112
|
+
border-radius: 3px;
|
|
1113
|
+
}
|
|
1114
|
+
.studio-token-list-inline .studio-token-group .studio-palette-swatch {
|
|
1115
|
+
align-self: center;
|
|
1116
|
+
margin: 0 7px;
|
|
1117
|
+
}
|
|
1118
|
+
.studio-token-list-inline .studio-token-group .studio-palette-trigger {
|
|
1119
|
+
min-height: 32px;
|
|
1120
|
+
}
|
|
1121
|
+
.studio-token-list-inline .studio-token-group .studio-size-presets {
|
|
1122
|
+
width: 28px;
|
|
1123
|
+
height: auto;
|
|
1124
|
+
border: 0;
|
|
1125
|
+
border-radius: 0;
|
|
1126
|
+
background: transparent;
|
|
1127
|
+
}
|
|
1128
|
+
.studio-token-list-inline .studio-token-group .studio-token-value .studio-size-presets {
|
|
1129
|
+
border-left: 1px solid var(--studio-cell-line);
|
|
1130
|
+
}
|
|
1131
|
+
.studio-token-list-inline .studio-token-group .studio-token-value > button {
|
|
1132
|
+
width: 32px;
|
|
1133
|
+
height: auto;
|
|
1134
|
+
border-radius: 0;
|
|
1135
|
+
}
|
|
1136
|
+
.studio-token-list-inline .studio-token-group .studio-token-value :is(input, select, button):focus-visible {
|
|
1137
|
+
outline-offset: -2px;
|
|
1138
|
+
}
|
|
1139
|
+
.studio-token-list-inline .studio-token-group .studio-error {
|
|
1140
|
+
margin: 0;
|
|
1141
|
+
padding: 6px 8px;
|
|
1142
|
+
border-left: 1px solid var(--studio-cell-line);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/* Component gallery */
|
|
1146
|
+
.studio-sample {
|
|
1147
|
+
position: relative;
|
|
1148
|
+
}
|
|
1149
|
+
.studio-gallery-loading {
|
|
1150
|
+
margin: 0;
|
|
1151
|
+
padding: 24px;
|
|
1152
|
+
color: #839087;
|
|
1153
|
+
font-size: 11px;
|
|
1154
|
+
text-align: center;
|
|
1155
|
+
}
|
|
1156
|
+
.studio-gallery {
|
|
1157
|
+
display: grid;
|
|
1158
|
+
gap: 22px;
|
|
1159
|
+
}
|
|
1160
|
+
.studio-gallery-group h3 {
|
|
1161
|
+
margin: 0 0 8px;
|
|
1162
|
+
font:
|
|
1163
|
+
600 9px "Inter Variable",
|
|
1164
|
+
Inter,
|
|
1165
|
+
sans-serif;
|
|
1166
|
+
letter-spacing: 1.1px;
|
|
1167
|
+
text-transform: uppercase;
|
|
1168
|
+
color: rgb(var(--surface-default-foreground-base));
|
|
1169
|
+
opacity: 0.8;
|
|
1170
|
+
}
|
|
1171
|
+
.studio-gallery-grid {
|
|
1172
|
+
display: grid;
|
|
1173
|
+
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
1174
|
+
gap: 24px 28px;
|
|
1175
|
+
}
|
|
1176
|
+
/* Components float freely in the preview; the whole block is the click target. */
|
|
1177
|
+
.studio-gallery-card {
|
|
1178
|
+
position: relative;
|
|
1179
|
+
display: flex;
|
|
1180
|
+
flex-direction: column;
|
|
1181
|
+
gap: 10px;
|
|
1182
|
+
min-width: 0;
|
|
1183
|
+
padding: 4px 0;
|
|
1184
|
+
}
|
|
1185
|
+
.studio-gallery-card-hit {
|
|
1186
|
+
position: absolute;
|
|
1187
|
+
inset: 0;
|
|
1188
|
+
z-index: 1;
|
|
1189
|
+
padding: 0;
|
|
1190
|
+
border: 0;
|
|
1191
|
+
border-radius: 4px;
|
|
1192
|
+
background: transparent;
|
|
1193
|
+
cursor: pointer;
|
|
1194
|
+
}
|
|
1195
|
+
.studio-gallery-card:hover .studio-gallery-card-title {
|
|
1196
|
+
color: rgb(var(--surface-default-card-foreground-base));
|
|
1197
|
+
}
|
|
1198
|
+
.studio-overlay .studio-gallery-card-hit:focus-visible {
|
|
1199
|
+
outline: 2px solid #3d8d68;
|
|
1200
|
+
outline-offset: 4px;
|
|
1201
|
+
}
|
|
1202
|
+
.studio-gallery-card-title {
|
|
1203
|
+
font:
|
|
1204
|
+
500 11px "Inter Variable",
|
|
1205
|
+
Inter,
|
|
1206
|
+
sans-serif;
|
|
1207
|
+
color: rgb(var(--surface-default-foreground-base));
|
|
1208
|
+
}
|
|
1209
|
+
.studio-gallery-demo {
|
|
1210
|
+
position: relative;
|
|
1211
|
+
min-width: 0;
|
|
1212
|
+
}
|
|
1213
|
+
.studio-gallery-card .studio-gallery-demo {
|
|
1214
|
+
pointer-events: none;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/* Zoomed component */
|
|
1218
|
+
.studio-gallery-zoom {
|
|
1219
|
+
display: flex;
|
|
1220
|
+
flex-direction: column;
|
|
1221
|
+
gap: 14px;
|
|
1222
|
+
animation: studio-zoom-in 0.2s ease-out;
|
|
1223
|
+
}
|
|
1224
|
+
@keyframes studio-zoom-in {
|
|
1225
|
+
from {
|
|
1226
|
+
opacity: 0;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
.studio-gallery-zoom-bar {
|
|
1230
|
+
display: flex;
|
|
1231
|
+
align-items: center;
|
|
1232
|
+
gap: 10px;
|
|
1233
|
+
font:
|
|
1234
|
+
600 11px "Inter Variable",
|
|
1235
|
+
Inter,
|
|
1236
|
+
sans-serif;
|
|
1237
|
+
color: rgb(var(--surface-default-card-foreground-base));
|
|
1238
|
+
}
|
|
1239
|
+
.studio-gallery-back {
|
|
1240
|
+
display: inline-flex;
|
|
1241
|
+
align-items: center;
|
|
1242
|
+
gap: 5px;
|
|
1243
|
+
padding: 5px 9px;
|
|
1244
|
+
border: 1px solid #e1e6e3;
|
|
1245
|
+
border-radius: 6px;
|
|
1246
|
+
background: #fff;
|
|
1247
|
+
color: #5f6e64;
|
|
1248
|
+
font:
|
|
1249
|
+
400 11px "Inter Variable",
|
|
1250
|
+
Inter,
|
|
1251
|
+
sans-serif;
|
|
1252
|
+
cursor: pointer;
|
|
1253
|
+
}
|
|
1254
|
+
.studio-gallery-back:hover {
|
|
1255
|
+
background: #f6f8f6;
|
|
1256
|
+
color: #344b40;
|
|
1257
|
+
}
|
|
1258
|
+
.studio-gallery-zoom-stage {
|
|
1259
|
+
display: flex;
|
|
1260
|
+
justify-content: center;
|
|
1261
|
+
padding: 24px 0;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/* Inspector */
|
|
1265
|
+
.studio-inspect-stage {
|
|
1266
|
+
position: relative;
|
|
1267
|
+
}
|
|
1268
|
+
.studio-inspect-layer {
|
|
1269
|
+
position: absolute;
|
|
1270
|
+
inset: 0;
|
|
1271
|
+
pointer-events: none;
|
|
1272
|
+
}
|
|
1273
|
+
.studio-inspect-outline {
|
|
1274
|
+
position: absolute;
|
|
1275
|
+
outline: 1px dashed #2f7fd6;
|
|
1276
|
+
outline-offset: 0;
|
|
1277
|
+
}
|
|
1278
|
+
.studio-inspect-region {
|
|
1279
|
+
position: absolute;
|
|
1280
|
+
padding: 0;
|
|
1281
|
+
border: 0;
|
|
1282
|
+
pointer-events: auto;
|
|
1283
|
+
cursor: pointer;
|
|
1284
|
+
opacity: 0.55;
|
|
1285
|
+
transition: opacity 0.1s ease;
|
|
1286
|
+
}
|
|
1287
|
+
.studio-inspect-region:hover,
|
|
1288
|
+
.studio-inspect-region.is-active {
|
|
1289
|
+
opacity: 0.85;
|
|
1290
|
+
}
|
|
1291
|
+
.studio-inspect-region.is-padding {
|
|
1292
|
+
background: #93c47d;
|
|
1293
|
+
}
|
|
1294
|
+
.studio-inspect-region.is-gap {
|
|
1295
|
+
background: repeating-linear-gradient(45deg, #b48ce0 0 3px, #d8c3ef 3px 6px);
|
|
1296
|
+
}
|
|
1297
|
+
.studio-inspect-region.is-radius {
|
|
1298
|
+
background: #f0a35e;
|
|
1299
|
+
border-radius: 50%;
|
|
1300
|
+
}
|
|
1301
|
+
.studio-overlay .studio-inspect-region:focus-visible {
|
|
1302
|
+
outline: 2px solid #1d5fa8;
|
|
1303
|
+
outline-offset: 0;
|
|
1304
|
+
opacity: 0.9;
|
|
1305
|
+
}
|
|
1306
|
+
.studio-inspect-label {
|
|
1307
|
+
position: absolute;
|
|
1308
|
+
z-index: 1;
|
|
1309
|
+
max-width: 220px;
|
|
1310
|
+
padding: 3px 7px;
|
|
1311
|
+
border-radius: 4px;
|
|
1312
|
+
background: #1f2a26;
|
|
1313
|
+
color: #fff;
|
|
1314
|
+
font:
|
|
1315
|
+
400 11px "Inter Variable",
|
|
1316
|
+
Inter,
|
|
1317
|
+
sans-serif;
|
|
1318
|
+
white-space: nowrap;
|
|
1319
|
+
overflow: hidden;
|
|
1320
|
+
text-overflow: ellipsis;
|
|
1321
|
+
pointer-events: none;
|
|
1322
|
+
}
|
|
1323
|
+
.studio-inspect-label strong {
|
|
1324
|
+
font-weight: 600;
|
|
1325
|
+
text-transform: capitalize;
|
|
1326
|
+
}
|
|
1327
|
+
.studio-inspect-label.is-padding strong {
|
|
1328
|
+
color: #b9e0a5;
|
|
1329
|
+
}
|
|
1330
|
+
.studio-inspect-label.is-gap strong {
|
|
1331
|
+
color: #d8c3ef;
|
|
1332
|
+
}
|
|
1333
|
+
.studio-inspect-label.is-radius strong {
|
|
1334
|
+
color: #f6c08f;
|
|
1335
|
+
}
|
|
1336
|
+
.studio-inspect-hint {
|
|
1337
|
+
margin: 14px 0 0;
|
|
1338
|
+
color: #839087;
|
|
1339
|
+
font:
|
|
1340
|
+
400 11px "Inter Variable",
|
|
1341
|
+
Inter,
|
|
1342
|
+
sans-serif;
|
|
1343
|
+
text-align: center;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
/* Token picked in the inspector */
|
|
1347
|
+
.studio-token.is-highlighted {
|
|
1348
|
+
background: #eaf4ee;
|
|
1349
|
+
box-shadow: inset 3px 0 0 #3d8d68;
|
|
1350
|
+
animation: studio-token-flash 1.2s ease-out;
|
|
1351
|
+
}
|
|
1352
|
+
.studio-token-list-inline .studio-token-group .studio-token.is-highlighted:hover {
|
|
1353
|
+
background: #e2efe7;
|
|
1354
|
+
}
|
|
1355
|
+
@keyframes studio-token-flash {
|
|
1356
|
+
0%,
|
|
1357
|
+
30% {
|
|
1358
|
+
background: #c9e6d4;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
.studio-gallery-card.is-wide {
|
|
1362
|
+
grid-column: 1 / -1;
|
|
1363
|
+
}
|
|
1364
|
+
.studio-gallery-card.is-wide .studio-gallery-demo,
|
|
1365
|
+
.studio-gallery-zoom .studio-gallery-demo {
|
|
1366
|
+
overflow-x: auto;
|
|
1367
|
+
padding-bottom: 2px;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
.studio-cva-field {
|
|
1371
|
+
display: grid;
|
|
1372
|
+
gap: 4px;
|
|
1373
|
+
margin: 8px 0;
|
|
1374
|
+
}
|
|
1375
|
+
.studio-cva-field > span {
|
|
1376
|
+
font-size: 11px;
|
|
1377
|
+
color: #5f6e64;
|
|
1378
|
+
overflow-wrap: anywhere;
|
|
1379
|
+
}
|
|
1380
|
+
.studio-cva-field input {
|
|
1381
|
+
width: 100%;
|
|
1382
|
+
min-width: 0;
|
|
1383
|
+
height: 26px;
|
|
1384
|
+
padding: 3px 7px;
|
|
1385
|
+
border: 1px solid #e2e7e3;
|
|
1386
|
+
border-radius: 5px;
|
|
1387
|
+
background: white;
|
|
1388
|
+
color: #34453b;
|
|
1389
|
+
font: 11px monospace;
|
|
1390
|
+
}
|
|
1391
|
+
.studio-cva-reset {
|
|
1392
|
+
padding: 5px 9px;
|
|
1393
|
+
border: 1px solid #e2e7e3;
|
|
1394
|
+
border-radius: 5px;
|
|
1395
|
+
background: white;
|
|
1396
|
+
color: #34453b;
|
|
1397
|
+
font-size: 12px;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
.studio-context-preview {
|
|
1401
|
+
padding: 16px;
|
|
1402
|
+
border-radius: 10px;
|
|
1403
|
+
background: rgb(var(--surface-default-background-base));
|
|
1404
|
+
color: rgb(var(--surface-default-card-foreground-base));
|
|
1405
|
+
font-family: var(--font-body);
|
|
1406
|
+
}
|
|
1407
|
+
.studio-context-preview > h3,
|
|
1408
|
+
.studio-context-preview [data-testid="cva-preview"] > h3 {
|
|
1409
|
+
font: 600 14px sans-serif;
|
|
1410
|
+
text-transform: capitalize;
|
|
1411
|
+
margin: 0 0 14px;
|
|
1412
|
+
}
|
|
1413
|
+
.studio-preview-controls {
|
|
1414
|
+
display: grid;
|
|
1415
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1416
|
+
gap: 8px 12px;
|
|
1417
|
+
margin-bottom: 16px;
|
|
1418
|
+
}
|
|
1419
|
+
.studio-preview-controls label {
|
|
1420
|
+
display: flex;
|
|
1421
|
+
align-items: center;
|
|
1422
|
+
justify-content: space-between;
|
|
1423
|
+
gap: 5px;
|
|
1424
|
+
min-width: 0;
|
|
1425
|
+
font: 11px sans-serif;
|
|
1426
|
+
}
|
|
1427
|
+
.studio-preview-controls select {
|
|
1428
|
+
min-width: 0;
|
|
1429
|
+
max-width: 110px;
|
|
1430
|
+
height: 26px;
|
|
1431
|
+
border: 1px solid #dde3df;
|
|
1432
|
+
border-radius: 4px;
|
|
1433
|
+
background: white;
|
|
1434
|
+
color: #34453b;
|
|
1435
|
+
}
|
|
1436
|
+
.studio-cva-stage {
|
|
1437
|
+
position: relative;
|
|
1438
|
+
contain: layout paint;
|
|
1439
|
+
isolation: isolate;
|
|
1440
|
+
display: grid;
|
|
1441
|
+
align-items: center;
|
|
1442
|
+
justify-items: start;
|
|
1443
|
+
min-height: 180px;
|
|
1444
|
+
padding: 24px;
|
|
1445
|
+
background: rgb(var(--surface-default-card-base));
|
|
1446
|
+
border: 1px solid rgb(var(--border-default-subtle-base));
|
|
1447
|
+
border-radius: 8px;
|
|
1448
|
+
overflow: auto;
|
|
1449
|
+
}
|
|
1450
|
+
.studio-cva-stage > * {
|
|
1451
|
+
max-width: 100%;
|
|
1452
|
+
}
|
|
1453
|
+
.studio-preview-caption {
|
|
1454
|
+
margin-top: 10px;
|
|
1455
|
+
font: 10px/1.5 sans-serif;
|
|
1456
|
+
color: #87958d;
|
|
1457
|
+
}
|
|
1458
|
+
.studio-token-samples {
|
|
1459
|
+
display: grid;
|
|
1460
|
+
gap: 18px;
|
|
1461
|
+
}
|
|
1462
|
+
.studio-token-sample > span {
|
|
1463
|
+
display: block;
|
|
1464
|
+
margin-bottom: 7px;
|
|
1465
|
+
font: 11px sans-serif;
|
|
1466
|
+
text-transform: capitalize;
|
|
1467
|
+
}
|
|
1468
|
+
.studio-token-specimen {
|
|
1469
|
+
overflow-wrap: anywhere;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/* Shades generator for base palette groups; its group gets top padding so the panel clears the header row. */
|
|
1473
|
+
.studio-token-group > div:has(> .studio-shades) {
|
|
1474
|
+
padding-top: 10px;
|
|
1475
|
+
}
|
|
1476
|
+
.studio-palette-actions {
|
|
1477
|
+
display: flex;
|
|
1478
|
+
gap: 6px;
|
|
1479
|
+
margin-left: auto;
|
|
1480
|
+
}
|
|
1481
|
+
.studio-token-group legend:has(.studio-shades-toggle) {
|
|
1482
|
+
display: flex;
|
|
1483
|
+
align-items: center;
|
|
1484
|
+
width: 100%;
|
|
1485
|
+
box-sizing: border-box;
|
|
1486
|
+
}
|
|
1487
|
+
.studio-shades-toggle {
|
|
1488
|
+
display: inline-flex;
|
|
1489
|
+
align-items: center;
|
|
1490
|
+
gap: 4px;
|
|
1491
|
+
padding: 3px 8px;
|
|
1492
|
+
border: 1px solid #dfe5e1;
|
|
1493
|
+
border-radius: 5px;
|
|
1494
|
+
background: #fff;
|
|
1495
|
+
color: #3a5a4a;
|
|
1496
|
+
font-size: 10px;
|
|
1497
|
+
font-weight: 550;
|
|
1498
|
+
text-transform: none;
|
|
1499
|
+
}
|
|
1500
|
+
.studio-shades {
|
|
1501
|
+
display: flex;
|
|
1502
|
+
flex-direction: column;
|
|
1503
|
+
gap: 12px;
|
|
1504
|
+
margin: 0 10px 10px;
|
|
1505
|
+
padding: 10px;
|
|
1506
|
+
border: 1px solid #dfe5e1;
|
|
1507
|
+
border-radius: 8px;
|
|
1508
|
+
background: #fafbfa;
|
|
1509
|
+
}
|
|
1510
|
+
.studio-shades-input {
|
|
1511
|
+
display: flex;
|
|
1512
|
+
align-items: center;
|
|
1513
|
+
gap: 8px;
|
|
1514
|
+
}
|
|
1515
|
+
.studio-shades-input label {
|
|
1516
|
+
font-size: 11px;
|
|
1517
|
+
font-weight: 550;
|
|
1518
|
+
white-space: nowrap;
|
|
1519
|
+
}
|
|
1520
|
+
.studio-shades-input .studio-token-input {
|
|
1521
|
+
align-items: center;
|
|
1522
|
+
gap: 4px;
|
|
1523
|
+
max-width: 140px;
|
|
1524
|
+
padding-left: 8px;
|
|
1525
|
+
border: 1px solid #e1e6e3;
|
|
1526
|
+
border-radius: 5px;
|
|
1527
|
+
background: #fff;
|
|
1528
|
+
color: #8b9690;
|
|
1529
|
+
}
|
|
1530
|
+
.studio-shades-input .studio-token-input input {
|
|
1531
|
+
width: 100%;
|
|
1532
|
+
border: 0;
|
|
1533
|
+
padding: 6px 6px 6px 0;
|
|
1534
|
+
outline: none;
|
|
1535
|
+
font-family: ui-monospace, monospace;
|
|
1536
|
+
text-transform: uppercase;
|
|
1537
|
+
}
|
|
1538
|
+
/* Compact actions share the base color row to save vertical space. */
|
|
1539
|
+
.studio-shades-actions {
|
|
1540
|
+
display: flex;
|
|
1541
|
+
gap: 6px;
|
|
1542
|
+
margin-left: auto;
|
|
1543
|
+
}
|
|
1544
|
+
.studio-shades-actions button {
|
|
1545
|
+
padding: 4px 8px;
|
|
1546
|
+
border-radius: 5px;
|
|
1547
|
+
font-size: 10px;
|
|
1548
|
+
line-height: 1.3;
|
|
1549
|
+
}
|
|
1550
|
+
.studio-shades-actions button:not(.studio-primary) {
|
|
1551
|
+
border: 1px solid #e3e8e4;
|
|
1552
|
+
background: #fff;
|
|
1553
|
+
color: #65756b;
|
|
1554
|
+
}
|
|
1555
|
+
.studio-shades-actions .studio-primary:disabled {
|
|
1556
|
+
opacity: 0.5;
|
|
1557
|
+
}
|
|
1558
|
+
.studio-token-list-inline .studio-token-group .studio-palette-trigger .studio-palette-swatch {
|
|
1559
|
+
margin: 0;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
/* Translucent colors: a half solid, half checkerboard swatch, hex value and opacity, as in Figma. */
|
|
1563
|
+
.studio-alpha-color {
|
|
1564
|
+
display: flex;
|
|
1565
|
+
flex: 1;
|
|
1566
|
+
align-items: center;
|
|
1567
|
+
gap: 7px;
|
|
1568
|
+
min-width: 0;
|
|
1569
|
+
padding-left: 7px;
|
|
1570
|
+
}
|
|
1571
|
+
.studio-alpha-swatch {
|
|
1572
|
+
position: relative;
|
|
1573
|
+
flex-shrink: 0;
|
|
1574
|
+
width: 18px;
|
|
1575
|
+
height: 18px;
|
|
1576
|
+
overflow: hidden;
|
|
1577
|
+
border: 1px solid #d5dcd7;
|
|
1578
|
+
border-radius: 3px;
|
|
1579
|
+
background:
|
|
1580
|
+
linear-gradient(90deg, var(--swatch-solid) 50%, transparent 50%),
|
|
1581
|
+
linear-gradient(var(--swatch-color), var(--swatch-color)),
|
|
1582
|
+
repeating-conic-gradient(#c9cfcb 0 25%, #fff 0 50%) 0 0 / 8px 8px;
|
|
1583
|
+
}
|
|
1584
|
+
.studio-alpha-swatch input[type="color"] {
|
|
1585
|
+
position: absolute;
|
|
1586
|
+
inset: 0;
|
|
1587
|
+
width: 100%;
|
|
1588
|
+
height: 100%;
|
|
1589
|
+
padding: 0;
|
|
1590
|
+
border: 0;
|
|
1591
|
+
opacity: 0;
|
|
1592
|
+
cursor: pointer;
|
|
1593
|
+
}
|
|
1594
|
+
.studio-alpha-color .studio-alpha-hex {
|
|
1595
|
+
flex: 1;
|
|
1596
|
+
min-width: 0;
|
|
1597
|
+
padding: 6px 0;
|
|
1598
|
+
border: 0;
|
|
1599
|
+
outline: none;
|
|
1600
|
+
background: transparent;
|
|
1601
|
+
font: inherit;
|
|
1602
|
+
font-size: 11px;
|
|
1603
|
+
text-transform: uppercase;
|
|
1604
|
+
}
|
|
1605
|
+
.studio-alpha-opacity {
|
|
1606
|
+
display: flex;
|
|
1607
|
+
flex-shrink: 0;
|
|
1608
|
+
align-items: center;
|
|
1609
|
+
width: 52px;
|
|
1610
|
+
margin-right: 4px;
|
|
1611
|
+
border-radius: 4px;
|
|
1612
|
+
background: #f2f5f3;
|
|
1613
|
+
}
|
|
1614
|
+
.studio-alpha-opacity input {
|
|
1615
|
+
width: 100%;
|
|
1616
|
+
padding: 3px 6px;
|
|
1617
|
+
border: 0;
|
|
1618
|
+
outline: none;
|
|
1619
|
+
background: transparent;
|
|
1620
|
+
font: inherit;
|
|
1621
|
+
font-size: 11px;
|
|
1622
|
+
text-align: right;
|
|
1623
|
+
}
|
|
1624
|
+
.studio-alpha-opacity:focus-within,
|
|
1625
|
+
.studio-alpha-color .studio-alpha-hex:focus-visible {
|
|
1626
|
+
box-shadow: 0 0 0 2px #3d8d6855;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
/* Layout preview: product cards built only from theme tokens, at the top of the gallery. */
|
|
1630
|
+
.studio-layout-grid {
|
|
1631
|
+
display: grid;
|
|
1632
|
+
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
|
1633
|
+
gap: 14px;
|
|
1634
|
+
}
|
|
1635
|
+
.studio-layout-card {
|
|
1636
|
+
display: flex;
|
|
1637
|
+
flex-direction: column;
|
|
1638
|
+
gap: 10px;
|
|
1639
|
+
min-height: 270px;
|
|
1640
|
+
padding: 16px;
|
|
1641
|
+
border-radius: var(--radius-modal-rounding-default);
|
|
1642
|
+
font-family: var(--font-body);
|
|
1643
|
+
font-size: var(--text-small);
|
|
1644
|
+
line-height: var(--text-small--line-height);
|
|
1645
|
+
}
|
|
1646
|
+
.studio-layout-card p,
|
|
1647
|
+
.studio-layout-card h4,
|
|
1648
|
+
.studio-layout-card ul {
|
|
1649
|
+
margin: 0;
|
|
1650
|
+
}
|
|
1651
|
+
.studio-layout-label {
|
|
1652
|
+
font-weight: 600;
|
|
1653
|
+
opacity: 0.7;
|
|
1654
|
+
}
|
|
1655
|
+
.studio-layout-card h4,
|
|
1656
|
+
.studio-layout-amount,
|
|
1657
|
+
.studio-layout-price {
|
|
1658
|
+
font-family: var(--font-titles);
|
|
1659
|
+
font-size: var(--text-h4);
|
|
1660
|
+
line-height: var(--text-h4--line-height);
|
|
1661
|
+
letter-spacing: var(--text-h4--letter-spacing);
|
|
1662
|
+
font-weight: 600;
|
|
1663
|
+
}
|
|
1664
|
+
.studio-layout-card.is-soft {
|
|
1665
|
+
border: 1px solid rgb(var(--primary-200-base));
|
|
1666
|
+
background: rgb(var(--primary-50-base));
|
|
1667
|
+
color: rgb(var(--primary-950-base));
|
|
1668
|
+
}
|
|
1669
|
+
.studio-layout-tags {
|
|
1670
|
+
display: flex;
|
|
1671
|
+
flex-wrap: wrap;
|
|
1672
|
+
gap: 6px;
|
|
1673
|
+
}
|
|
1674
|
+
.studio-layout-progress {
|
|
1675
|
+
display: grid;
|
|
1676
|
+
gap: 6px;
|
|
1677
|
+
margin-top: auto;
|
|
1678
|
+
}
|
|
1679
|
+
.studio-layout-footer {
|
|
1680
|
+
display: flex;
|
|
1681
|
+
align-items: center;
|
|
1682
|
+
justify-content: space-between;
|
|
1683
|
+
gap: 8px;
|
|
1684
|
+
}
|
|
1685
|
+
.studio-layout-avatars {
|
|
1686
|
+
display: flex;
|
|
1687
|
+
}
|
|
1688
|
+
.studio-layout-avatars span {
|
|
1689
|
+
display: grid;
|
|
1690
|
+
place-items: center;
|
|
1691
|
+
width: 26px;
|
|
1692
|
+
height: 26px;
|
|
1693
|
+
margin-left: -6px;
|
|
1694
|
+
border: 2px solid rgb(var(--primary-50-base));
|
|
1695
|
+
border-radius: var(--radius-avatar-rounding-default);
|
|
1696
|
+
background: rgb(var(--primary-300-base));
|
|
1697
|
+
color: rgb(var(--primary-950-base));
|
|
1698
|
+
font-size: 9px;
|
|
1699
|
+
font-weight: 600;
|
|
1700
|
+
}
|
|
1701
|
+
.studio-layout-avatars span:first-child {
|
|
1702
|
+
margin-left: 0;
|
|
1703
|
+
}
|
|
1704
|
+
.studio-layout-avatars span:nth-child(2) {
|
|
1705
|
+
background: rgb(var(--primary-500-base));
|
|
1706
|
+
color: rgb(var(--primary-50-base));
|
|
1707
|
+
}
|
|
1708
|
+
.studio-layout-card.is-stats {
|
|
1709
|
+
gap: 2px;
|
|
1710
|
+
border: 1px solid var(--color-border-default-subtle);
|
|
1711
|
+
background: var(--color-surface-default-card);
|
|
1712
|
+
color: var(--color-surface-default-card-foreground);
|
|
1713
|
+
}
|
|
1714
|
+
.studio-layout-amount {
|
|
1715
|
+
margin-top: 4px;
|
|
1716
|
+
font-size: var(--text-h3);
|
|
1717
|
+
line-height: var(--text-h3--line-height);
|
|
1718
|
+
}
|
|
1719
|
+
.studio-layout-trend {
|
|
1720
|
+
color: var(--color-surface-success-base);
|
|
1721
|
+
font-weight: 600;
|
|
1722
|
+
}
|
|
1723
|
+
.studio-layout-chart {
|
|
1724
|
+
display: flex;
|
|
1725
|
+
flex: 1;
|
|
1726
|
+
gap: 6px;
|
|
1727
|
+
margin-top: 14px;
|
|
1728
|
+
}
|
|
1729
|
+
.studio-layout-bar {
|
|
1730
|
+
display: flex;
|
|
1731
|
+
flex: 1;
|
|
1732
|
+
flex-direction: column;
|
|
1733
|
+
justify-content: flex-end;
|
|
1734
|
+
align-items: center;
|
|
1735
|
+
gap: 6px;
|
|
1736
|
+
}
|
|
1737
|
+
.studio-layout-bar > span:first-child {
|
|
1738
|
+
width: 100%;
|
|
1739
|
+
max-width: 20px;
|
|
1740
|
+
border-radius: var(--radius-global-rounding-s) var(--radius-global-rounding-s) 0 0;
|
|
1741
|
+
background: rgb(var(--primary-200-base));
|
|
1742
|
+
}
|
|
1743
|
+
.studio-layout-bar.is-today > span:first-child {
|
|
1744
|
+
background: rgb(var(--primary-600-base));
|
|
1745
|
+
}
|
|
1746
|
+
.studio-layout-day {
|
|
1747
|
+
opacity: 0.6;
|
|
1748
|
+
}
|
|
1749
|
+
.studio-layout-card.is-bold {
|
|
1750
|
+
background: rgb(var(--primary-400-base));
|
|
1751
|
+
color: rgb(var(--primary-950-base));
|
|
1752
|
+
}
|
|
1753
|
+
.studio-layout-price span {
|
|
1754
|
+
margin-left: 2px;
|
|
1755
|
+
font-family: var(--font-body);
|
|
1756
|
+
font-size: var(--text-small);
|
|
1757
|
+
font-weight: 400;
|
|
1758
|
+
opacity: 0.7;
|
|
1759
|
+
}
|
|
1760
|
+
.studio-layout-features {
|
|
1761
|
+
display: grid;
|
|
1762
|
+
gap: 8px;
|
|
1763
|
+
margin-top: 4px;
|
|
1764
|
+
padding: 0;
|
|
1765
|
+
list-style: none;
|
|
1766
|
+
}
|
|
1767
|
+
.studio-layout-features li {
|
|
1768
|
+
display: flex;
|
|
1769
|
+
align-items: center;
|
|
1770
|
+
gap: 8px;
|
|
1771
|
+
}
|
|
1772
|
+
.studio-layout-features svg {
|
|
1773
|
+
flex-shrink: 0;
|
|
1774
|
+
color: rgb(var(--primary-800-base));
|
|
1775
|
+
}
|
|
1776
|
+
.studio-layout-card .studio-layout-cta {
|
|
1777
|
+
margin-top: auto;
|
|
1778
|
+
}
|
|
1779
|
+
.studio-layout-card.is-form {
|
|
1780
|
+
grid-column: 1 / -1;
|
|
1781
|
+
container-type: inline-size;
|
|
1782
|
+
min-height: 0;
|
|
1783
|
+
gap: 14px;
|
|
1784
|
+
border: 1px solid var(--color-border-default-subtle);
|
|
1785
|
+
background: var(--color-surface-default-card);
|
|
1786
|
+
color: var(--color-surface-default-card-foreground);
|
|
1787
|
+
}
|
|
1788
|
+
.studio-layout-muted {
|
|
1789
|
+
margin-top: 2px;
|
|
1790
|
+
opacity: 0.7;
|
|
1791
|
+
}
|
|
1792
|
+
.studio-layout-form {
|
|
1793
|
+
display: grid;
|
|
1794
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1795
|
+
gap: 14px 16px;
|
|
1796
|
+
align-items: start;
|
|
1797
|
+
}
|
|
1798
|
+
.studio-layout-form-wide {
|
|
1799
|
+
grid-column: 1 / -1;
|
|
1800
|
+
}
|
|
1801
|
+
@container (max-width: 440px) {
|
|
1802
|
+
.studio-layout-form {
|
|
1803
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
.studio-layout-form-footer {
|
|
1807
|
+
display: flex;
|
|
1808
|
+
flex-wrap: wrap;
|
|
1809
|
+
grid-column: 1 / -1;
|
|
1810
|
+
align-items: center;
|
|
1811
|
+
justify-content: space-between;
|
|
1812
|
+
gap: 12px;
|
|
1813
|
+
}
|
|
1814
|
+
.studio-layout-form-actions {
|
|
1815
|
+
display: flex;
|
|
1816
|
+
gap: 8px;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
.studio-token-list-rows .studio-type-fields {
|
|
1820
|
+
padding: 12px var(--studio-editor-pad) 14px;
|
|
1821
|
+
border-bottom: 1px solid var(--studio-cell-line);
|
|
1822
|
+
}
|
|
1823
|
+
.studio-shades-toggle:disabled {
|
|
1824
|
+
opacity: 0.45;
|
|
1825
|
+
cursor: default;
|
|
1826
|
+
}
|
|
1827
|
+
/* Icon-only reset, last in the palette header row. */
|
|
1828
|
+
.studio-palette-reset {
|
|
1829
|
+
display: grid;
|
|
1830
|
+
place-items: center;
|
|
1831
|
+
/* Same width as the row reset column, and flush right so the icons line up. */
|
|
1832
|
+
width: 32px;
|
|
1833
|
+
margin-right: calc(-1 * var(--studio-editor-pad));
|
|
1834
|
+
height: 22px;
|
|
1835
|
+
padding: 0;
|
|
1836
|
+
border: 0;
|
|
1837
|
+
border-radius: 4px;
|
|
1838
|
+
background: transparent;
|
|
1839
|
+
color: #7b8480;
|
|
1840
|
+
cursor: pointer;
|
|
1841
|
+
}
|
|
1842
|
+
.studio-palette-reset:hover:not(:disabled) {
|
|
1843
|
+
color: #263f38;
|
|
1844
|
+
}
|
|
1845
|
+
.studio-palette-reset:disabled {
|
|
1846
|
+
opacity: 0.4;
|
|
1847
|
+
cursor: default;
|
|
1848
|
+
}
|
|
1849
|
+
.studio-palette-reset:focus-visible {
|
|
1850
|
+
outline: 2px solid #3d8d68;
|
|
1851
|
+
outline-offset: 1px;
|
|
1852
|
+
}
|