UNPKG

wix-style-react

Version:
50 lines (40 loc) 924 B
:import { -st-from: "../Text/Text.st.css"; -st-default: Text; } :import { -st-from: "../Sidebar/colors.st.css"; -st-named: sidebarBackgroundColor, sidebarLightBackgroundColor } :import { -st-from: '../Foundation/stylable/colors.st.css'; -st-named: D40, D70 } :import { -st-from: "../Sidebar/Sidebar.st.css"; -st-named: sidebarWidth } .root { -st-extends: Text; -st-states: skin(enum(dark, light, neutral)); display: block; padding: 6px 20px; box-sizing: border-box; cursor: default; } .root:skin(dark) { background-color: value(sidebarBackgroundColor); } .root:skin(light) { background-color: value(sidebarLightBackgroundColor); } .root:skin(neutral) { color: value(D40); background-color: value(D70); } .root:size(tiny):weight(bold) { color: value(D40); line-height: 18px; } /* st-namespace-reference="../../../src/SidebarSectionTitle/SidebarSectionTitle.st.css" */