Guest User

Untitled

a guest
May 26th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.25 KB | None | 0 0
  1. {
  2. "groups": [
  3. {
  4. "name": "Color System Core",
  5. "help": "Color groups",
  6. "groups": [
  7. {
  8. "name": "Core Palette Colors",
  9. "properties": [
  10. {
  11. "variable": "theme-primary-color",
  12. "label": "Primary color",
  13. "type": "color",
  14. "help": "The color displayed most frequently across the application's screens and components. Lighter and darker tonal variations of the primary color are generated and used to create a contrast between tones that make it easy to see the division between surfaces (ex. status bar and a toolbar).",
  15. "defaultValue": "#0094ca"
  16. },
  17. {
  18. "variable": "theme-secondary-color",
  19. "label": "Secondary color",
  20. "type": "color",
  21. "help": "A color used to accent select parts of the application UI. It can be complementary or analogous to the primary color, but it should not simply be a light or dark variation of the primary color. It should contrast well with the elements that will surround it and be applied sparingly as an accent. Used in elements such as Buttons, floating action buttons, button text, Text fields, cursors, progress bars, etc.",
  22. "defaultValue": "#ed7653"
  23. },
  24. {
  25. "variable": "theme-error-color",
  26. "label": "Error state color",
  27. "type": "color",
  28. "help": "Used as a visual que to the user when something in the application has gone wrong and needs to be emphasized.",
  29. "defaultValue": "#ff1744"
  30. }
  31. ]
  32. }
  33. ]
  34. },
  35. {
  36. "name": "Core Color System Variations",
  37. "help": "Core color variation patterns used in the style system",
  38. "groups": [
  39. {
  40. "name": "Primary Color Variations",
  41. "properties": [
  42. {
  43. "variable": "theme-primary-color-dark",
  44. "label": "Dark primary color variation",
  45. "type": "color",
  46. "help": "Primary color dark variation",
  47. "defaultValue": "transparent"
  48. },
  49. {
  50. "variable": "theme-primary-color-light",
  51. "label": "Light primary color variation",
  52. "type": "color",
  53. "help": "Primary color light variation",
  54. "defaultValue": "transparent"
  55. }
  56. ]
  57. },
  58. {
  59. "name": "Secondary Color Variations",
  60. "properties": [
  61. {
  62. "variable": "theme-secondary-color-dark",
  63. "label": "Dark secondary color variation",
  64. "type": "color",
  65. "help": "Secondary color dark variation",
  66. "defaultValue": "transparent"
  67. },
  68. {
  69. "variable": "theme-secondary-color-light",
  70. "label": "Light secondary color variation",
  71. "type": "color",
  72. "help": "Secondary color light variation",
  73. "defaultValue": "transparent"
  74. }
  75. ]
  76. },
  77. {
  78. "name": "Error Color Variations",
  79. "properties": [
  80. {
  81. "variable": "theme-error-color-dark",
  82. "label": "Dark error color variation",
  83. "type": "color",
  84. "help": "Error color dark variation",
  85. "defaultValue": "transparent"
  86. },
  87. {
  88. "variable": "theme-error-color-light",
  89. "label": "Light error color variation",
  90. "type": "color",
  91. "help": "Error color light variation",
  92. "defaultValue": "transparent"
  93. }
  94. ]
  95. },
  96. {
  97. "name": "Secondary Color Variations",
  98. "properties": [
  99. {
  100. "variable": "theme-grey-color-dark",
  101. "label": "Grey secondary color variation",
  102. "type": "color",
  103. "help": "Grey color dark variation",
  104. "defaultValue": "transparent"
  105. },
  106. {
  107. "variable": "theme-grey-color-light",
  108. "label": "Light grey color variation",
  109. "type": "color",
  110. "help": "Grey color light variation",
  111. "defaultValue": "transparent"
  112. }
  113. ]
  114. },
  115. {
  116. "name": "Common Colors",
  117. "properties": [
  118. {
  119. "variable": "theme-common-color-white",
  120. "label": "The color used as white",
  121. "type": "color",
  122. "help": "The color that will be used as white.",
  123. "defaultValue": "#ffffff"
  124. },
  125. {
  126. "variable": "theme-common-color-black",
  127. "label": "The color used as black",
  128. "type": "color",
  129. "help": "The color that will be used as black.",
  130. "defaultValue": "#000000"
  131. }
  132. ]
  133. }
  134. ]
  135. },
  136. {
  137. "name": "Extended Color System: Light Shades",
  138. "help": "Additional patterns leveraged by the color style system. Light shades are used to contrast sibling dark shades.",
  139. "groups": [
  140. {
  141. "name": "Light Typography Colors",
  142. "properties": [
  143. {
  144. "variable": "theme-light-text-emphasis-color",
  145. "label": "Emphasized text color.",
  146. "type": "color",
  147. "help": "Emphasized text color.",
  148. "defaultValue": "rgba(0, 0, 0, 0.8)"
  149. },
  150. {
  151. "variable": "theme-light-text-primary-color",
  152. "label": "Most frequently used text color.",
  153. "type": "color",
  154. "help": "Most frequently used text color.",
  155. "defaultValue": "rgba(0, 0, 0, 0.6)"
  156. },
  157. {
  158. "variable": "theme-light-text-secondary-color",
  159. "label": "Alternate text color.",
  160. "type": "color",
  161. "help": "Alternate text color.",
  162. "defaultValue": "rgba(0, 0, 0, 0.45)"
  163. },
  164. {
  165. "variable": "theme-light-text-muted-color",
  166. "label": "Hinted text color.",
  167. "type": "color",
  168. "help": "Hinted text color.",
  169. "defaultValue": "rgba(0, 0, 0, 0.3)"
  170. }
  171. ]
  172. },
  173. {
  174. "name": "Light Divider Colors",
  175. "properties": [
  176. {
  177. "variable": "theme-light-divider-color",
  178. "label": "Main divider color.",
  179. "type": "color",
  180. "help": "Main divider color.",
  181. "defaultValue": "rgba(0, 0, 0, 0.75)"
  182. },
  183. {
  184. "variable": "theme-light-divider-color-muted",
  185. "label": "Softer divider color.",
  186. "type": "color",
  187. "help": "Softer divider color.",
  188. "defaultValue": "rgba(0, 0, 0, 0.55)"
  189. }
  190. ]
  191. },
  192. {
  193. "name": "Light Background Colors",
  194. "properties": [
  195. {
  196. "variable": "theme-light-paper-bg-color",
  197. "label": "The Paper component background color.",
  198. "type": "color",
  199. "help": "The Paper component background color.",
  200. "defaultValue": "#ffffff"
  201. },
  202. {
  203. "variable": "theme-light-default-bg-color",
  204. "label": "Most frequently used background color.",
  205. "type": "color",
  206. "help": "Most frequently used background color.",
  207. "defaultValue": "#edf0f2"
  208. },
  209. {
  210. "variable": "theme-light-appbar-bg-color",
  211. "label": "The Appbar component background color.",
  212. "type": "color",
  213. "help": "The Appbar component background color.",
  214. "defaultValue": "#ffffff"
  215. },
  216. {
  217. "variable": "theme-light-header-bg-color",
  218. "label": "Header component background color.",
  219. "type": "color",
  220. "help": "Header component background color.",
  221. "defaultValue": "#0094ca"
  222. },
  223. {
  224. "variable": "theme-light-chip-bg-color",
  225. "label": "Chip component background color.",
  226. "type": "color",
  227. "help": "Chip component background color.",
  228. "defaultValue": "#e0e0e0"
  229. }
  230. ]
  231. },
  232. {
  233. "name": "Light Action State Colors",
  234. "properties": [
  235. {
  236. "variable": "theme-light-action-active-color",
  237. "label": "Color for active state.",
  238. "type": "color",
  239. "help": "Color for active state.",
  240. "defaultValue": "rgba(0, 0, 0, 0.45)"
  241. },
  242. {
  243. "variable": "theme-light-action-hover-color",
  244. "label": "Color for hovered state.",
  245. "type": "color",
  246. "help": "Color for hovered state.",
  247. "defaultValue": "rgba(0, 0, 0, 0.08)"
  248. },
  249. {
  250. "variable": "theme-light-action-selected-color",
  251. "label": "Color for selected state.",
  252. "type": "color",
  253. "help": "Color for selected state.",
  254. "defaultValue": "rgba(0, 0, 0, 0.14)"
  255. },
  256. {
  257. "variable": "theme-light-action-disabled-color",
  258. "label": "Text color for disabled state.",
  259. "type": "color",
  260. "help": "Text color for disabled state.",
  261. "defaultValue": "rgba(0, 0, 0, 0.3)"
  262. },
  263. {
  264. "variable": "theme-light-action-disabled-bg-color",
  265. "label": "Background color for disabled state.",
  266. "type": "color",
  267. "help": "Background color for disabled state.",
  268. "defaultValue": "rgba(0, 0, 0, 0.12)"
  269. }
  270. ]
  271. }
  272. ]
  273. },
  274. {
  275. "name": "Extended Color System: Dark Shades",
  276. "help": "Additional patterns leveraged by the color style system. dark shades are used to contrast sibling light shades.",
  277. "groups": [
  278. {
  279. "name": "Dark Typography Colors",
  280. "properties": [
  281. {
  282. "variable": "theme-dark-text-emphasis-color",
  283. "label": "Emphasized text color.",
  284. "type": "color",
  285. "help": "Emphasized text color.",
  286. "defaultValue": "rgba(255, 255, 255, 1)"
  287. },
  288. {
  289. "variable": "theme-dark-text-primary-color",
  290. "label": "Most frequently used text color.",
  291. "type": "color",
  292. "help": "Most frequently used text color.",
  293. "defaultValue": "rgba(255, 255, 255, 1)"
  294. },
  295. {
  296. "variable": "theme-dark-text-secondary-color",
  297. "label": "Alternate text color.",
  298. "type": "color",
  299. "help": "Alternate text color.",
  300. "defaultValue": "rgba(255, 255, 255, 45)"
  301. },
  302. {
  303. "variable": "theme-dark-text-muted-color",
  304. "label": "Hinted text color.",
  305. "type": "color",
  306. "help": "Hinted text color.",
  307. "defaultValue": "rgba(0, 0, 0, 0.3)"
  308. },
  309. {
  310. "variable": "theme-dark-text-icon-color",
  311. "label": "Icon color.",
  312. "type": "color",
  313. "help": "Icon color.",
  314. "defaultValue": "rgba(0, 0, 0, 0.5)"
  315. }
  316. ]
  317. },
  318. {
  319. "name": "Dark Divider Colors",
  320. "properties": [
  321. {
  322. "variable": "theme-dark-divider-color",
  323. "label": "Main divider color.",
  324. "type": "color",
  325. "help": "Main divider color.",
  326. "defaultValue": "rgba(0, 0, 0, 0.09)"
  327. },
  328. {
  329. "variable": "theme-dark-divider-color-muted",
  330. "label": "Softer divider color.",
  331. "type": "color",
  332. "help": "Softer divider color.",
  333. "defaultValue": "rgba(0, 0, 0, 0.075)"
  334. }
  335. ]
  336. },
  337. {
  338. "name": "Dark Background Colors",
  339. "properties": [
  340. {
  341. "variable": "theme-dark-paper-bg-color",
  342. "label": "The Paper component background color.",
  343. "type": "color",
  344. "help": "The Paper component background color.",
  345. "defaultValue": "#778c94"
  346. },
  347. {
  348. "variable": "theme-dark-default-bg-color",
  349. "label": "Most frequently used background color.",
  350. "type": "color",
  351. "help": "Most frequently used background color.",
  352. "defaultValue": "#303030"
  353. },
  354. {
  355. "variable": "theme-dark-appbar-bg-color",
  356. "label": "The Appbar component background color.",
  357. "type": "color",
  358. "help": "The Appbar component background color.",
  359. "defaultValue": "#5d6f76"
  360. },
  361. {
  362. "variable": "theme-dark-header-bg-color",
  363. "label": "Header component background color.",
  364. "type": "color",
  365. "help": "Header component background color.",
  366. "defaultValue": "#0094ca"
  367. },
  368. {
  369. "variable": "theme-dark-chip-bg-color",
  370. "label": "Chip component background color.",
  371. "type": "color",
  372. "help": "Chip component background color.",
  373. "defaultValue": "#5d6f76"
  374. }
  375. ]
  376. },
  377. {
  378. "name": "Dark Action State Colors",
  379. "properties": [
  380. {
  381. "variable": "theme-dark-action-active-color",
  382. "label": "Color for active state.",
  383. "type": "color",
  384. "help": "Color for active state.",
  385. "defaultValue": "rgba(255, 255, 255, 1)"
  386. },
  387. {
  388. "variable": "theme-dark-action-disabled-color",
  389. "label": "Text color for disabled state.",
  390. "type": "color",
  391. "help": "Text color for disabled state.",
  392. "defaultValue": "rgba(255, 255, 255, 0.3)"
  393. }
  394. ]
  395. }
  396. ]
  397. },
  398. {
  399. "name": "Motion System",
  400. "help": "Duration and easing curve patterns that create smooth and consistent motion.",
  401. "groups": [
  402. {
  403. "name": "Duration Patterns",
  404. "properties": [
  405. {
  406. "variable": "theme-duration-shortest",
  407. "label": "Shortest duration",
  408. "type": "text",
  409. "help": "Shortest animation duration.",
  410. "defaultValue": "150"
  411. },
  412. {
  413. "variable": "theme-duration-shorter",
  414. "label": "Second shortest duration",
  415. "type": "text",
  416. "help": "Second shortest animation duration.",
  417. "defaultValue": "200"
  418. },
  419. {
  420. "variable": "theme-duration-short",
  421. "label": "Short duration",
  422. "type": "text",
  423. "help": "Short animation duration.",
  424. "defaultValue": "250"
  425. },
  426. {
  427. "variable": "theme-duration-standard",
  428. "label": "Standard duration",
  429. "type": "text",
  430. "help": "Standard animation duration.",
  431. "defaultValue": "300"
  432. },
  433. {
  434. "variable": "theme-duration-complex",
  435. "label": "Complex animation duration",
  436. "type": "text",
  437. "help": "Complex animation duration.",
  438. "defaultValue": "375"
  439. },
  440. {
  441. "variable": "theme-duration-entering-screen",
  442. "label": "Animation entering screen duration",
  443. "type": "text",
  444. "help": "Animation entering screen duration.",
  445. "defaultValue": "225"
  446. },
  447. {
  448. "variable": "theme-duration-leaving-screen",
  449. "label": "Leaving screen duration",
  450. "type": "text",
  451. "help": "Leaving screen duration.",
  452. "defaultValue": "195"
  453. }
  454. ]
  455. },
  456. {
  457. "name": "Easing Curve Patterns",
  458. "properties": [
  459. {
  460. "variable": "theme-ease-in-out",
  461. "label": "Most common easing curve",
  462. "type": "text",
  463. "help": "Most common easing curve",
  464. "defaultValue": "cubic-bezier(0.4, 0, 0.2, 1)"
  465. },
  466. {
  467. "variable": "theme-ease-out",
  468. "label": "Objects enter the screen at full velocity from off-screen and slowly decelerate to a resting point",
  469. "type": "text",
  470. "help": "Objects enter the screen at full velocity from off-screen and slowly decelerate to a resting point",
  471. "defaultValue": "cubic-bezier(0.0, 0, 0.2, 1)"
  472. },
  473. {
  474. "variable": "theme-ease-in",
  475. "label": "Objects leave the screen at full velocity. They do not decelerate when off-screen.",
  476. "type": "text",
  477. "help": "Objects leave the screen at full velocity. They do not decelerate when off-screen.",
  478. "defaultValue": "cubic-bezier(0.4, 0, 1, 1)"
  479. },
  480. {
  481. "variable": "theme-ease-sharp",
  482. "label": "The sharp curve is used by objects that may return to the screen at any time.",
  483. "type": "text",
  484. "help": "The sharp curve is used by objects that may return to the screen at any time.",
  485. "defaultValue": "cubic-bezier(0.4, 0, 0.6, 1)"
  486. }
  487. ]
  488. }
  489. ]
  490. },
  491. {
  492. "name": "Space System",
  493. "help": "Margin and padding",
  494. "groups": [
  495. {
  496. "name": "Space Scale",
  497. "properties": [
  498. {
  499. "variable": "theme-space-1",
  500. "label": "First space scale value",
  501. "type": "text",
  502. "help": "First space scale value.",
  503. "defaultValue": "8px"
  504. },
  505. {
  506. "variable": "theme-space-2",
  507. "label": "Second space scale value",
  508. "type": "text",
  509. "help": "Second space scale value.",
  510. "defaultValue": "16px"
  511. },
  512. {
  513. "variable": "theme-space-3",
  514. "label": "Third space scale value",
  515. "type": "text",
  516. "help": "Third space scale value.",
  517. "defaultValue": "32px"
  518. },
  519. {
  520. "variable": "theme-space-4",
  521. "label": "Fourth space scale value",
  522. "type": "text",
  523. "help": "Fourth space scale value.",
  524. "defaultValue": "64px"
  525. }
  526. ]
  527. }
  528. ]
  529. },
  530. {
  531. "name": "Border Radius",
  532. "help": "Border radius",
  533. "groups": [
  534. {
  535. "name": "Border Radius",
  536. "properties": [
  537. {
  538. "variable": "theme-border-radius",
  539. "label": "Border radius",
  540. "type": "text",
  541. "help": "Border radius.",
  542. "defaultValue": "3px"
  543. }
  544. ]
  545. }
  546. ]
  547. },
  548. {
  549. "name": "Typography System",
  550. "help": "Font styles",
  551. "groups": [
  552. {
  553. "name": "Font Families",
  554. "properties": [
  555. {
  556. "variable": "theme-primary-font-family",
  557. "label": "Primary font family",
  558. "type": "text",
  559. "help": "Primary font family",
  560. "defaultValue": "'Roboto', 'Helvetica', 'Arial', sans-serif"
  561. },
  562. {
  563. "variable": "theme-alt-font-family",
  564. "label": "Alternate font family",
  565. "type": "text",
  566. "help": "Alternate font family",
  567. "defaultValue": "'Noto Sans', sans-serif"
  568. }
  569. ]
  570. },
  571. {
  572. "name": "Font Weight Scale",
  573. "properties": [
  574. {
  575. "variable": "theme-font-weight-1",
  576. "label": "Font weight 1",
  577. "type": "text",
  578. "help": "Font weight scale, fist value.",
  579. "defaultValue": "300"
  580. },
  581. {
  582. "variable": "theme-font-weight-2",
  583. "label": "Font weight 2",
  584. "type": "text",
  585. "help": "Font weight scale, second value.",
  586. "defaultValue": "400"
  587. },
  588. {
  589. "variable": "theme-font-weight-3",
  590. "label": "Font weight 3",
  591. "type": "text",
  592. "help": "Font weight scale, third value.",
  593. "defaultValue": "500"
  594. },
  595. {
  596. "variable": "theme-font-weight-4",
  597. "label": "Font weight 4",
  598. "type": "text",
  599. "help": "Font weight scale, fourth value.",
  600. "defaultValue": "600"
  601. }
  602. ]
  603. },
  604. {
  605. "name": "Font Size Scale",
  606. "properties": [
  607. {
  608. "variable": "theme-font-size-1",
  609. "label": "Font size 1",
  610. "type": "text",
  611. "help": "Font size scale, first value.",
  612. "defaultValue": "0.75rem"
  613. },
  614. {
  615. "variable": "theme-font-size-2",
  616. "label": "Font size 2",
  617. "type": "text",
  618. "help": "Font size scale, second value.",
  619. "defaultValue": "0.8125rem"
  620. },
  621. {
  622. "variable": "theme-font-size-3",
  623. "label": "Font size 3",
  624. "type": "text",
  625. "help": "Font size scale, third value.",
  626. "defaultValue": "1rem"
  627. },
  628. {
  629. "variable": "theme-font-size-4",
  630. "label": "Font size 4",
  631. "type": "text",
  632. "help": "Font size scale, fourth value.",
  633. "defaultValue": "1.125rem"
  634. },
  635. {
  636. "variable": "theme-font-size-5",
  637. "label": "Font size 5",
  638. "type": "text",
  639. "help": "Font size scale, fifth value.",
  640. "defaultValue": "1.5rem"
  641. },
  642. {
  643. "variable": "theme-font-size-6",
  644. "label": "Font size 6",
  645. "type": "text",
  646. "help": "Font size scale, six value.",
  647. "defaultValue": "1.75rem"
  648. },
  649. {
  650. "variable": "theme-font-size-7",
  651. "label": "Font size 7",
  652. "type": "text",
  653. "help": "Font size scale, seventh value.",
  654. "defaultValue": "2.125rem"
  655. },
  656. {
  657. "variable": "theme-font-size-8",
  658. "label": "Font size 8",
  659. "type": "text",
  660. "help": "Font size scale, eighth value.",
  661. "defaultValue": "2.8125rem"
  662. }
  663. ]
  664. },
  665. {
  666. "name": "Line Height Scale",
  667. "properties": [
  668. {
  669. "variable": "theme-line-height-1",
  670. "label": "Line height 1",
  671. "type": "text",
  672. "help": "Line height scale, first value.",
  673. "defaultValue": "1rem"
  674. },
  675. {
  676. "variable": "theme-line-height-2",
  677. "label": "Line height 2",
  678. "type": "text",
  679. "help": "Line height scale, second value.",
  680. "defaultValue": "1.125rem"
  681. },
  682. {
  683. "variable": "theme-line-height-3",
  684. "label": "Line height 3",
  685. "type": "text",
  686. "help": "Line height scale, third value.",
  687. "defaultValue": "1.5rem"
  688. },
  689. {
  690. "variable": "theme-line-height-4",
  691. "label": "Line height 4",
  692. "type": "text",
  693. "help": "Line height scale, fourth value.",
  694. "defaultValue": "1.75rem"
  695. },
  696. {
  697. "variable": "theme-line-height-5",
  698. "label": "Line height 5",
  699. "type": "text",
  700. "help": "Line height scale, fifth value.",
  701. "defaultValue": "2rem"
  702. },
  703. {
  704. "variable": "theme-line-height-6",
  705. "label": "Line height 6",
  706. "type": "text",
  707. "help": "Line height scale, six value.",
  708. "defaultValue": "2.25rem"
  709. },
  710. {
  711. "variable": "theme-line-height-7",
  712. "label": "Line height 7",
  713. "type": "text",
  714. "help": "Line height scale, seventh value.",
  715. "defaultValue": "3rem"
  716. },
  717. {
  718. "variable": "theme-line-height-8",
  719. "label": "Line height 8",
  720. "type": "text",
  721. "help": "Line height scale, eighth value.",
  722. "defaultValue": "4.5rem"
  723. }
  724. ]
  725. }
  726. ]
  727. }
  728. ]
  729. }
Add Comment
Please, Sign In to add comment