wix-style-react
Version:
wix-style-react
43 lines (34 loc) • 747 B
CSS
:import {
-st-from: "../Text/Text.st.css";
-st-default: Text;
}
:import {
-st-from: '../Foundation/stylable/colors.st.css';
-st-named: D40, D80, D70
}
:vars {
sidebarWidth: 228px;
darkBackgroundColor: #131720;
}
.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(darkBackgroundColor);
}
.root:skin(light) {
background-color: value(D80);
}
.root:skin(neutral) {
background-color: value(D70);
}
.root:size(tiny):weight(bold) {
color: value(D40);
line-height: 18px;
}
/* st-namespace-reference="../../../src/SidebarTitleItemNext/SidebarTitleItemNext.st.css" */