UNPKG
postcss-theme-fold
Version:
canary (2.0.0-canary.9f552af)
latest (1.10.0)
2.0.0-canary.9f552af
1.10.0
1.9.1
1.9.0
1.9.0-canary.28c17ee
1.8.0
1.7.0
1.6.1
1.6.1-canary.b8f6b19
1.6.0
1.5.0
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.1.0-canary.4e81aab
1.0.3
1.0.2
1.0.1
1.0.0
0.0.1-alpha.8
0.0.1-alpha.7
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.4
0.0.1-alpha.3
0.0.1-alpha.2
0.0.1-alpha.1
0.0.1-alpha.0
[![NPM Version][npm-img]][npm-url] [![github (ci)][github-ci]][github-ci]
postcss-theme-fold
/
lib
/
extract-theme-variables.d.ts
7 lines
(6 loc)
•
293 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
type
StringMap
=
Map
<
string
,
string
>;
export
declare
type
StringStringMap
=
Map
<
string
,
StringMap
>;
/** * Extract variables from theme selectors and return map with selectors and values. */
export
declare
function
extractThemeVariables
(
css
:
string
):
Promise
<
StringStringMap
>;