UNPKG

@magnesium/theme

Version:

Sass toolkit for managing design tokens as CSS custom properties.

980 lines (501 loc) 59 kB
# Changelog All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [5.1.0](https://github.com/magnesiumlabs/magnesium/compare/v5.0.1...v5.1.0) (2026-05-29) ### Features * **scheme:** wrap output in a named cascade layer via $layer ([78cdd83](https://github.com/magnesiumlabs/magnesium/commit/78cdd83d85e61bb442a39f51ca43254b3e511fb0)) ## [5.0.1](https://github.com/magnesiumlabs/magnesium/compare/v5.0.0...v5.0.1) (2026-05-23) ### Bug Fixes * update description and keywords to reflect actual scope ([20538e7](https://github.com/magnesiumlabs/magnesium/commit/20538e71e2ddc65d740820a61a40d6219eacae6f)) ## [5.0.0](https://github.com/magnesiumlabs/magnesium/compare/v4.9.0...v5.0.0) (2026-05-23) ### ⚠ BREAKING CHANGES * rewrite v5 API — stateless, explicit $namespace, compat layer ### Features * **functions:** add ref() ([c488910](https://github.com/magnesiumlabs/magnesium/commit/c488910b9c99b55ae601f826a92fe8e9fccc9664)) * **mixins:** add `$selector` param to `scheme()` ([430b1b4](https://github.com/magnesiumlabs/magnesium/commit/430b1b4a877a58b9dc1f5b9844dc0c6649f67c0c)) * **mixins:** add $include and $exclude params to theme() ([55d54d9](https://github.com/magnesiumlabs/magnesium/commit/55d54d9d59c35cecdd2d77e40ecaa50b9d45d0a4)) * **mixins:** add $layer param to emit() ([2938b1b](https://github.com/magnesiumlabs/magnesium/commit/2938b1b1633f15e6041a80898de02b9db1861cd4)) * rewrite v5 API — stateless, explicit $namespace, compat layer ([d07f2b2](https://github.com/magnesiumlabs/magnesium/commit/d07f2b234823aa3720f940fc4682d2381e41ac3a)) ## [4.9.0](https://github.com/magnesiumlabs/magnesium/compare/v4.8.1...v4.9.0) (2026-03-22) ### Features * add debug mixin to inspect current configuration state ([ff5fb3e](https://github.com/magnesiumlabs/magnesium/commit/ff5fb3e8d226514cbaa8a82164593c0c11b112be)) * add get() function to each domain module ([3ac5366](https://github.com/magnesiumlabs/magnesium/commit/3ac53660ad501f0e74fe5e94eb53c1e4b83f3102)) * add include/exclude filtering to emit-custom-props mixin ([ce10214](https://github.com/magnesiumlabs/magnesium/commit/ce10214560760472adb9556a013228c1a97bf855)) ## [4.8.1](https://github.com/magnesiumlabs/magnesium/compare/v4.8.0...v4.8.1) (2026-03-22) ### Bug Fixes * handle falsy token values in custom properties emission ([4c6bc45](https://github.com/magnesiumlabs/magnesium/commit/4c6bc45866d3dbb8887d6a4a3bd5af3125510f89)) ## [4.8.0](https://github.com/magnesiumlabs/magnesium/compare/v4.7.0...v4.8.0) (2026-01-05) ### Features * use the plain-CSS `if()` syntax ([6642122](https://github.com/magnesiumlabs/magnesium/commit/664212239067c454e5938d7adf19d1234afda73f)) ### Dependencies * **deps:** bump to `@unsass/css` 3.1.0 ([39059ba](https://github.com/magnesiumlabs/magnesium/commit/39059bac8ab9ab33d94940ebe8951ebba73e6424)) * **deps:** bump to `sass` 1.97.1 ([4a19f24](https://github.com/magnesiumlabs/magnesium/commit/4a19f2480bad60dfa4a1ea4ac23e4920e0468a94)) ## [4.7.0](https://github.com/magnesiumlabs/magnesium/compare/v4.6.0...v4.7.0) (2025-10-10) ### Bug Fixes * **typography:** npm exports path ([67b5f71](https://github.com/magnesiumlabs/magnesium/commit/67b5f716931c035875037b14fa07d017a74993ef)) ### Code Refactoring * **color:** update comments ([cfb4cfe](https://github.com/magnesiumlabs/magnesium/commit/cfb4cfed51a094c379f3120daad43da40344395a)) * **shape:** update comments ([5b16ebb](https://github.com/magnesiumlabs/magnesium/commit/5b16ebb54ae02141ae315413bf28271ffff7d109)) * **typeface, typescale:** update comments ([f102dc9](https://github.com/magnesiumlabs/magnesium/commit/f102dc95b4333a9bb149f65fea8fff782b432d32)) ## [4.6.0](https://github.com/magnesiumlabs/magnesium/compare/v4.5.4...v4.6.0) (2025-08-23) ### Features * **deps:** bump to `sass` 1.90.0 ([038f99d](https://github.com/magnesiumlabs/magnesium/commit/038f99d855c45bf1f52b0b15d20a43be1b9771ed)) ## [4.5.4](https://github.com/magnesiumlabs/magnesium/compare/v4.5.3...v4.5.4) (2025-04-05) ### Bug Fixes * **config:** manage default values inside config mixin ([2ab2684](https://github.com/magnesiumlabs/magnesium/commit/2ab2684fdd3c13544c2cf107fcf84c56e0aac95d)) ## [4.5.3](https://github.com/magnesiumlabs/magnesium/compare/v4.5.2...v4.5.3) (2025-03-07) ### Bug Fixes * **build:** bad files path on `package.json` ([c7237d9](https://github.com/magnesiumlabs/magnesium/commit/c7237d98d8345be466806e058024811097973d04)) ### Build System * update `pkg` importer path ([2b5e994](https://github.com/magnesiumlabs/magnesium/commit/2b5e994f550a962db50054d2bff924e94756da70)) ## [4.5.2](https://github.com/magnesiumlabs/magnesium/compare/v4.5.1...v4.5.2) (2025-03-06) ### Bug Fixes * clean `exports` in `package.json` ([6fc8efe](https://github.com/magnesiumlabs/magnesium/commit/6fc8efef65a4432c9593fb5515993fefcf92f5c7)) ### Build System * **deps:** bump to `sass` 1.83.0 ([d4d577d](https://github.com/magnesiumlabs/magnesium/commit/d4d577df9db991043f2f1fa494870fc812109ada)) ## [4.5.1](https://github.com/magnesiumlabs/magnesium/compare/v4.5.0...v4.5.1) (2024-10-11) ### Bug Fixes * **deps:** bump to `sass` 1.79.5 ([9daab74](https://github.com/magnesiumlabs/magnesium/commit/9daab746405368f449d62b29531299c5eef1ac6f)) ## [4.4.0](https://github.com/magnesiumlabs/magnesium/compare/v4.3.1...v4.4.0) (2024-06-21) ### Features * **shape:** add native component ([eda6107](https://github.com/magnesiumlabs/magnesium/commit/eda61071da308211ebb695eef550bb7f122a45d8)) ### Bug Fixes * **color:** prevent prefix `null` configuration ([54a1ef7](https://github.com/magnesiumlabs/magnesium/commit/54a1ef7afd70a236b72906c74ef4e87ef86ce27e)) ### Build System * **deps:** bump to `sass` 1.77.6 ([adcf585](https://github.com/magnesiumlabs/magnesium/commit/adcf585d477b9c35881e0b08d392f69082b72266)) ## [4.3.1](https://github.com/magnesiumlabs/magnesium/compare/v4.3.0...v4.3.1) (2024-04-25) ### Bug Fixes * missing export `./color` on `package.json` ([b2267b2](https://github.com/magnesiumlabs/magnesium/commit/b2267b2f589ca8db3e634803a361d26b28ee534c)) ## [4.3.0](https://github.com/magnesiumlabs/magnesium/compare/v4.2.0...v4.3.0) (2024-04-22) ### Features * **validation:** add list support ([0cd69d9](https://github.com/magnesiumlabs/magnesium/commit/0cd69d9e67506e3365d4cddc3cb9fe455e217d7f)) ## [4.2.0](https://github.com/magnesiumlabs/magnesium/compare/v4.1.1...v4.2.0) (2024-04-17) ### Features * **deps:** add `pkg: importer` support ([981bd89](https://github.com/magnesiumlabs/magnesium/commit/981bd89d506e283006b3bfbd158103735934477f)) * **validation:** better error messages ([46e48fd](https://github.com/magnesiumlabs/magnesium/commit/46e48fd2249b54590ae9ed255be3378427b9eb88)) ### Build System * **deps:** bump to `sass` 1.75.0 ([72ce49a](https://github.com/magnesiumlabs/magnesium/commit/72ce49a26b59a747104d06b3eec21b78919dfbd0)) ## [4.1.1](https://github.com/magnesiumlabs/magnesium/compare/v4.1.0...v4.1.1) (2024-02-09) ### Bug Fixes * **config:** missing `$color` parameter ([df81c74](https://github.com/magnesiumlabs/magnesium/commit/df81c748b011674e16c147214798bd0b5334f398)) ### Build System * **deps:** drop node 16 for node 18 ([eed8e72](https://github.com/magnesiumlabs/magnesium/commit/eed8e727d650bcd01afcea87855f2b1d970172f0)) ## [4.1.0](https://github.com/magnesiumlabs/magnesium/compare/v4.0.0...v4.1.0) (2024-02-09) ### Features * **color:** add `theme` mixin ([97cbdf6](https://github.com/magnesiumlabs/magnesium/commit/97cbdf69a6f873310c0ae225a1b329e7b83544ad)) ### Build System * **deps:** bump to `sass` 1.69.5 ([b5e075c](https://github.com/magnesiumlabs/magnesium/commit/b5e075c007c7464bf5333d095d988312eaf75be4)) * **deps:** bump to `sass` 1.70.0 ([256a1c7](https://github.com/magnesiumlabs/magnesium/commit/256a1c76bc9ae149a93b4ea8788843acb28fa945)) ### Code Refactoring * move files to `src` folder ([0fa303c](https://github.com/magnesiumlabs/magnesium/commit/0fa303c26be663a0184ffe2aeaff987a0cb10083)) * use `css.declaration()` mixin ([9a1d269](https://github.com/magnesiumlabs/magnesium/commit/9a1d269ef5e5737e3c9d1dd38f951c026b533d20)) ## [4.0.0](https://github.com/magnesiumlabs/magnesium/compare/v3.6.0...v4.0.0) (2023-06-23) ### ⚠ BREAKING CHANGES * **core:** removed deprecated functions and mixins * **shape:** removed shape unneeded code * **color:** removed color unneeded code * **typography:** removed typography unneeded code ### Build System * **deps:** bump to `sass` 1.62.0 ([90fa6d2](https://github.com/magnesiumlabs/magnesium/commit/90fa6d292f3ce025d0662f5452a9579750fab412)) * **deps:** bump to `sass` 1.63.6 ([f24e3f7](https://github.com/magnesiumlabs/magnesium/commit/f24e3f7e55063a16245b32aac65876343c84719c)) ### Code Refactoring * **color:** better variables management ([f860a9b](https://github.com/magnesiumlabs/magnesium/commit/f860a9bfc3d43a2f859772569056bb399e831936)) * **color:** removed unneeded code ([a8abfb1](https://github.com/magnesiumlabs/magnesium/commit/a8abfb1096baa5688f0ad4669b909ef6a59f70e2)) * **config:** removed unneeded parameter ([9a2b556](https://github.com/magnesiumlabs/magnesium/commit/9a2b556dd85a48dbd09666013bab8486d3053c01)) * **core:** removed deprecated functions and mixins ([ffa7a5d](https://github.com/magnesiumlabs/magnesium/commit/ffa7a5d65e6b98915a404d3a37ed48a97386d64c)) * **shape, typography:** use supported `validation()` function ([48e332e](https://github.com/magnesiumlabs/magnesium/commit/48e332e4f6ad13890f9e5c2c25d8319af600f023)) * **shape:** better variables management ([49ea4b1](https://github.com/magnesiumlabs/magnesium/commit/49ea4b1e937a5e515714b685a9d38ee250d08079)) * **shape:** removed unneeded code ([991f082](https://github.com/magnesiumlabs/magnesium/commit/991f082b7e675446876879fcaaa4bc082bb56f9d)) * **theme:** update error sentence ([ac331a0](https://github.com/magnesiumlabs/magnesium/commit/ac331a008abcaa0f717262bb5db8303d3006cc50)) * **typography:** better variables management ([52ae5a6](https://github.com/magnesiumlabs/magnesium/commit/52ae5a6ddeee0e265148550ddb76bdf2c7240787)) * **typography:** removed unneeded code ([3b8789b](https://github.com/magnesiumlabs/magnesium/commit/3b8789b18723470ab78f8e8d76d75a782c74d346)) ## [3.6.0](https://github.com/magnesiumlabs/magnesium/compare/v3.5.1...v3.6.0) (2023-03-27) ### Features * **color:** add `name()` function ([c93a124](https://github.com/magnesiumlabs/magnesium/commit/c93a1241606d8ae8709026401913e9aabd505cba)) ### Code Refactoring * **theme:** use `create-name()` function ([d608914](https://github.com/magnesiumlabs/magnesium/commit/d608914c4daa41c614d710dc4bef466e7acc0a3b)) ## [3.5.1](https://github.com/magnesiumlabs/magnesium/compare/v3.5.0...v3.5.1) (2023-03-27) ### Bug Fixes * **config:** add `$colors` option ([152cce8](https://github.com/magnesiumlabs/magnesium/commit/152cce805f96823f9e4a11b17497ce9e0e53487d)) ## [3.5.0](https://github.com/magnesiumlabs/magnesium/compare/v3.4.0...v3.5.0) (2023-03-27) ### Features * **color:** add `emit-variable()` function ([bd62f39](https://github.com/magnesiumlabs/magnesium/commit/bd62f391dbf9198fda9ccf3c1756f3eea0dac308)) * **color:** add token verification on `emit-variable()` function ([81cc8ed](https://github.com/magnesiumlabs/magnesium/commit/81cc8edbb3e950559b2e2f17795837c8556d0b1f)) * **state:** add forward on `index.scss` ([af18d37](https://github.com/magnesiumlabs/magnesium/commit/af18d3798edda4c8c5346a4043e5ffafe19795c1)) ### Build System * **deps:** bump to `sass` 1.60.0 ([d26c9d8](https://github.com/magnesiumlabs/magnesium/commit/d26c9d8870d93dad355d03382a90051585121418)) ## [3.4.0](https://github.com/magnesiumlabs/magnesium/compare/v3.3.1...v3.4.0) (2023-03-22) ### Features * **core:** use `@unsass/var` ([495b527](https://github.com/magnesiumlabs/magnesium/commit/495b5279f2ba99ac9ae9bef9b6b4659cf72da187)) ### Code Refactoring * **theme:** clean code ([0b18379](https://github.com/magnesiumlabs/magnesium/commit/0b183793d5010e077222fd509c0defff5c5605ab)) * **theme:** remove unneeded `else` condition ([2254d27](https://github.com/magnesiumlabs/magnesium/commit/2254d277d150d24e40344fe20d1b0eaed1030fc7)) ### Build System * **deps:** use `@unsass/var` ([0e1219f](https://github.com/magnesiumlabs/magnesium/commit/0e1219f543996479c6a508b7e18b13051efebde9)) ## [3.3.1](https://github.com/magnesiumlabs/magnesium/compare/v3.3.0...v3.3.1) (2023-03-17) ### Bug Fixes * **deps:** update `package-lock.json` ([8b0e167](https://github.com/magnesiumlabs/magnesium/commit/8b0e1671126d549807be4881d851557ee73ce233)) ## [3.3.0](https://github.com/magnesiumlabs/magnesium/compare/v3.2.1...v3.3.0) (2023-03-17) ### Features * **theme:** add top level `config()` mixin ([edafd7e](https://github.com/magnesiumlabs/magnesium/commit/edafd7e57c32f1457e6fd5d61a1d4cf921a4496d)) * **theme:** use multi-level map is now possible ([5b7c14b](https://github.com/magnesiumlabs/magnesium/commit/5b7c14b270d1f5c2a18a86a60a65aa94161a2c8a)) ### Build System * **deps:** bump to `sass` 1.59.3 ([4a0ff58](https://github.com/magnesiumlabs/magnesium/commit/4a0ff586a3ef93731a9e2846e46d00ee9a8c18a0)) ### Code Refactoring * **theme:** remove unneeded `else if` condition on `create-theme-vars()` function ([ba28519](https://github.com/magnesiumlabs/magnesium/commit/ba28519b2bce65d3e8785b5e7342f1dbf0239bfa)) * **theme:** remove unneeded `if` condition on `create-theme-vars()` function ([5be6108](https://github.com/magnesiumlabs/magnesium/commit/5be6108fe7f654ba66f0754118bc5b97feade71e)) ## [3.3.0-beta.2](https://github.com/magnesiumlabs/magnesium/compare/v3.3.0-beta.1...v3.3.0-beta.2) (2023-03-17) ### Features * **theme:** use multi-level map is now possible ([5b7c14b](https://github.com/magnesiumlabs/magnesium/commit/5b7c14b270d1f5c2a18a86a60a65aa94161a2c8a)) ### Build System * **deps:** bump to `sass` 1.59.3 ([4a0ff58](https://github.com/magnesiumlabs/magnesium/commit/4a0ff586a3ef93731a9e2846e46d00ee9a8c18a0)) ### Code Refactoring * **theme:** remove unneeded `else if` condition on `create-theme-vars()` function ([ba28519](https://github.com/magnesiumlabs/magnesium/commit/ba28519b2bce65d3e8785b5e7342f1dbf0239bfa)) * **theme:** remove unneeded `if` condition on `create-theme-vars()` function ([5be6108](https://github.com/magnesiumlabs/magnesium/commit/5be6108fe7f654ba66f0754118bc5b97feade71e)) ## [3.3.0-beta.1](https://github.com/magnesiumlabs/magnesium/compare/v3.2.1...v3.3.0-beta.1) (2023-03-16) ### Features * **theme:** add top level `config()` mixin ([edafd7e](https://github.com/magnesiumlabs/magnesium/commit/edafd7e57c32f1457e6fd5d61a1d4cf921a4496d)) ## [3.2.1](https://github.com/magnesiumlabs/magnesium/compare/v3.2.0...v3.2.1) (2023-03-14) ### Bug Fixes * **theme:** error when value is `null` ([85f31e4](https://github.com/magnesiumlabs/magnesium/commit/85f31e409fac13d0ee638b6b86e556e1b67eb0a0)) ## [3.2.0](https://github.com/magnesiumlabs/magnesium/compare/v3.1.0...v3.2.0) (2023-03-14) ### Features * **theme:** add `validation()` function ([892b754](https://github.com/magnesiumlabs/magnesium/commit/892b7541799997f50d38a390a0ebd0e0db6b21bc)) ## [3.1.0](https://github.com/magnesiumlabs/magnesium/compare/v3.0.4...v3.1.0) (2023-03-14) ### Features * **theme:** add `emit-color-scheme()` mixin ([4af4656](https://github.com/magnesiumlabs/magnesium/commit/4af46560938859b9278925ff1aa9f5fb77e1d86c)) * **theme:** add `emit-custom-props()` mixin ([a2257ee](https://github.com/magnesiumlabs/magnesium/commit/a2257ee4b5bc110c020b8ed78156afcf3e83a6fe)) * **theme:** add `emit-variable()` function ([0fcf95f](https://github.com/magnesiumlabs/magnesium/commit/0fcf95f491a7993d18209f8715a4615b1368d723)) * **theme:** move to `@magnesium/theme` ([666b553](https://github.com/magnesiumlabs/magnesium/commit/666b553e89505c626da90f3cacaf4f7a354b76d6)) * **theme:** set to `null` by default the `$prefix` option on `emit-custom-props()` mixin ([d69b7ab](https://github.com/magnesiumlabs/magnesium/commit/d69b7abfcf59544f375e3d838c59a819bbfe492c)) ### Bug Fixes * **theme:** bad `prefers-color-scheme()` mixin depreciation ([2e7637a](https://github.com/magnesiumlabs/magnesium/commit/2e7637a31035d9ec73a48afbb4ecb904530da48d)) ### Code Refactoring * **theme:** set default `$prefix` option on `emit-variable()` mixin to `null` ([54e9520](https://github.com/magnesiumlabs/magnesium/commit/54e95206531c58bef849374b7e654fb6aa9f0554)) ## [3.1.0-beta.4](https://github.com/magnesiumlabs/magnesium/compare/v3.1.0-beta.3...v3.1.0-beta.4) (2023-03-14) ### Features * **theme:** move to `@magnesium/theme` ([666b553](https://github.com/magnesiumlabs/magnesium/commit/666b553e89505c626da90f3cacaf4f7a354b76d6)) ## [3.1.0-beta.3](https://github.com/magnesiumlabs/magnesium/compare/v3.1.0-beta.2...v3.1.0-beta.3) (2023-03-09) ### Features * **theme:** set to `null` by default the `$prefix` option on `emit-custom-props()` mixin ([d69b7ab](https://github.com/magnesiumlabs/magnesium/commit/d69b7abfcf59544f375e3d838c59a819bbfe492c)) ## [3.1.0-beta.2](https://github.com/magnesiumlabs/magnesium/compare/v3.1.0-beta.1...v3.1.0-beta.2) (2023-03-09) ### Bug Fixes * **theme:** bad `prefers-color-scheme()` mixin depreciation ([2e7637a](https://github.com/magnesiumlabs/magnesium/commit/2e7637a31035d9ec73a48afbb4ecb904530da48d)) ### Code Refactoring * **theme:** set default `$prefix` option on `emit-variable()` mixin to `null` ([54e9520](https://github.com/magnesiumlabs/magnesium/commit/54e95206531c58bef849374b7e654fb6aa9f0554)) ## [3.1.0-beta.1](https://github.com/magnesiumlabs/magnesium/compare/v3.0.4...v3.1.0-beta.1) (2023-03-09) ### Features * **theme:** add `emit-color-scheme()` mixin ([4af4656](https://github.com/magnesiumlabs/magnesium/commit/4af46560938859b9278925ff1aa9f5fb77e1d86c)) * **theme:** add `emit-custom-props()` mixin ([a2257ee](https://github.com/magnesiumlabs/magnesium/commit/a2257ee4b5bc110c020b8ed78156afcf3e83a6fe)) * **theme:** add `emit-variable()` function ([0fcf95f](https://github.com/magnesiumlabs/magnesium/commit/0fcf95f491a7993d18209f8715a4615b1368d723)) ## [3.0.4](https://github.com/magnesiumlabs/magnesium/compare/v3.0.3...v3.0.4) (2023-03-09) ### Bug Fixes * **typography:** remove unneeded sass import ([66e94d6](https://github.com/magnesiumlabs/magnesium/commit/66e94d61770f178af367a58c581cafe8d2700064)) ## [3.0.3](https://github.com/magnesiumlabs/magnesium/compare/v3.0.2...v3.0.3) (2023-03-06) ### Bug Fixes * **deps:** remove unneeded dependencies ([bae842a](https://github.com/magnesiumlabs/magnesium/commit/bae842a1473295987dbf39ec8a23987ea20459b9)) ## [3.0.2](https://github.com/magnesiumlabs/magnesium/compare/v3.0.1...v3.0.2) (2023-03-03) ### Bug Fixes * **theme:** emit variable only if value exist ([60e4cad](https://github.com/magnesiumlabs/magnesium/commit/60e4cade348d03c95edbf9db6d424593b01a457b)) ## [3.0.1](https://github.com/magnesiumlabs/magnesium/compare/v3.0.0...v3.0.1) (2023-03-03) ### Bug Fixes * **theme:** add error when token is invalid ([216c1ce](https://github.com/magnesiumlabs/magnesium/commit/216c1ced92ffa1230e5eb4ec570e3ebe3c21ca8e)) ## [3.0.0](https://github.com/magnesiumlabs/magnesium/compare/v2.6.2...v3.0.0) (2023-03-02) ### ⚠ BREAKING CHANGES * **typography:** removed `theme-styles()` and `create-typography()` mixins * **theme:** removed deprecated functions * **theme:** removed `core-styles()` mixin * move sources code to root * remove old `@forward` imports in `index.scss` * **typography:** remove some allowed tokens * **typography:** remove deprecated `create-typography-var()` and `get-style-tokens()` functions * **typography:** rename `$styles` to `$typographies` * **color:** removed deprecated `get-tokens()`, `get-value` and `get-variable` functions ### Features * **color:** add `theme()` mixin ([00ff322](https://github.com/magnesiumlabs/magnesium/commit/00ff322ddd8de8734a9ca44b72b6e9d2ac15e553)) * **color:** add `variable()` function ([76d5f67](https://github.com/magnesiumlabs/magnesium/commit/76d5f672707a23fdeab33b76dca2c8f7bd75e075)) * **color:** add new `tokens()` and `value()` functions ([814f9fa](https://github.com/magnesiumlabs/magnesium/commit/814f9fa378ad17a8b5c5042d9fe66fb4eb5fbead)) * move core files to `core` folder ([836eba5](https://github.com/magnesiumlabs/magnesium/commit/836eba5cde1cad5bb3064546b0b6e788c9d13d8b)) * remove old `[@forward](https://github.com/forward)` imports in `index.scss` ([1f45963](https://github.com/magnesiumlabs/magnesium/commit/1f459630e130c1134bdd5f662fe768fc3bd63fae)) * **shape:** add main component ([cf60164](https://github.com/magnesiumlabs/magnesium/commit/cf60164597889cc186029bf4e042c9b2b70f8a88)) * **theme:** add `prefers-color-scheme()` mixin ([b55a962](https://github.com/magnesiumlabs/magnesium/commit/b55a962d657b643bbf7ccee8f4a83bcb8c1d1fa4)) * **typography:** add `theme()` mixin ([c0807e4](https://github.com/magnesiumlabs/magnesium/commit/c0807e460787ad341e0d26ab1f59bf30c2623b3b)) * **typography:** add `tokens()` and `value()` functions ([5796888](https://github.com/magnesiumlabs/magnesium/commit/5796888c37317238265765e9de2b04ec0b957d13)) * **typography:** remove deprecated `create-typography-var()` and `get-style-tokens()` functions ([500677b](https://github.com/magnesiumlabs/magnesium/commit/500677b773502e8887c7ce693fc71bdd50354995)) * **typography:** remove some allowed tokens ([0cf4f7a](https://github.com/magnesiumlabs/magnesium/commit/0cf4f7a2d450f0e9f4fc2ab3c284981e81b43b3c)) * **typography:** rename `$styles` to `$typographies` ([a80e88c](https://github.com/magnesiumlabs/magnesium/commit/a80e88c4e8819257672cd867332c19edf8c1b81f)) ### Code Refactoring * **color, shape:** remove default parameters on `theme()` mixins ([a62d2b4](https://github.com/magnesiumlabs/magnesium/commit/a62d2b49490a001981549b2dd20abc8b13c6eca9)) * **color, shape:** reorder `[@forward](https://github.com/forward)` imports ([632aade](https://github.com/magnesiumlabs/magnesium/commit/632aadec5eee9272641efb867a1c4ad156a32d41)) * **color:** removed deprecated `get-tokens()`, `get-value` and `get-variable` functions ([e3dd607](https://github.com/magnesiumlabs/magnesium/commit/e3dd607ea9f5113d6662b4b56ab6ea14f9c4bd41)) * **color:** simplify `theme()` mixin parameter ([f5c1b8e](https://github.com/magnesiumlabs/magnesium/commit/f5c1b8e137beb51cdd34e192f6da71ca828b54d2)) * move sources code to root ([1625c83](https://github.com/magnesiumlabs/magnesium/commit/1625c83ac23e5281014ff54d05412b08ecdb7507)) * remove unneeded sass import ([4117ffa](https://github.com/magnesiumlabs/magnesium/commit/4117ffa57427fa4139a2614bd13c36dc234b01a7)) * removed unneeded sass `[@use](https://github.com/use)` ([e2f1c08](https://github.com/magnesiumlabs/magnesium/commit/e2f1c081f57554f86efda0ef8af73901e3df96a3)) * rename `_index.scss` to `index.scss` ([3cf9c8b](https://github.com/magnesiumlabs/magnesium/commit/3cf9c8be880625e272238ba63c44a3c7c8190280)) * reorder variables ([23c4968](https://github.com/magnesiumlabs/magnesium/commit/23c49687141a0633cc177874bd6407af974abe36)) * **state:** moved to they own folder ([d81ee1f](https://github.com/magnesiumlabs/magnesium/commit/d81ee1f01ebf8bf4b35ea6cba1ce6e197e62c6ca)) * **state:** simplify sass import namespaces ([079c102](https://github.com/magnesiumlabs/magnesium/commit/079c10200b1662d83ea7a937a9140352e3ffbdcf)) * **state:** use namespace ([0f217a6](https://github.com/magnesiumlabs/magnesium/commit/0f217a6eb4f3579cbc41ab0565b085f2528703b4)) * **theme:** removed `core-styles()` mixin ([143a00a](https://github.com/magnesiumlabs/magnesium/commit/143a00a1a782c88d17a0da436a0baf12f273ab4d)) * **theme:** removed deprecated functions ([3a4a979](https://github.com/magnesiumlabs/magnesium/commit/3a4a9797c50e2bc177ac8d2f32a52aaf0137e8d6)) * **theme:** removed unneeded sass import ([9371401](https://github.com/magnesiumlabs/magnesium/commit/9371401c4f4e0f85c0c763405306a1ba7789f2f0)) * **theme:** rename `validate-tokens()` to `validate-theme()` ([468b8d6](https://github.com/magnesiumlabs/magnesium/commit/468b8d6616578b50c144c09d07cd1439118a8e4a)) * **theme:** simplify `create-theme-vars()` function ([babe89a](https://github.com/magnesiumlabs/magnesium/commit/babe89ac491070600916c8ab4a3efcc8c38f8c16)) * **typography:** check allowed properties ([2b5ff97](https://github.com/magnesiumlabs/magnesium/commit/2b5ff979776f1bfef5d844b9bbc52f99ca5b574b)) * **typography:** removed `theme-styles()` and `create-typography()` mixins ([81ce62b](https://github.com/magnesiumlabs/magnesium/commit/81ce62ba80cefd0a865d46272d2f672204c162ad)) * use global `core` namespace ([7c8b47a](https://github.com/magnesiumlabs/magnesium/commit/7c8b47a109953a1a6c7967ebaf7d19c2a0200146)) ## [3.0.0-beta.2](https://github.com/magnesiumlabs/magnesium/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2023-03-02) ### ⚠ BREAKING CHANGES * **typography:** removed `theme-styles()` and `create-typography()` mixins ### Features * **typography:** add `theme()` mixin ([c0807e4](https://github.com/magnesiumlabs/magnesium/commit/c0807e460787ad341e0d26ab1f59bf30c2623b3b)) ### Code Refactoring * **typography:** removed `theme-styles()` and `create-typography()` mixins ([81ce62b](https://github.com/magnesiumlabs/magnesium/commit/81ce62ba80cefd0a865d46272d2f672204c162ad)) ## [3.0.0-beta.1](https://github.com/magnesiumlabs/magnesium/compare/v2.6.2...v3.0.0-beta.1) (2023-03-01) ### ⚠ BREAKING CHANGES * **theme:** removed deprecated functions * **theme:** removed `core-styles()` mixin * move sources code to root * remove old `@forward` imports in `index.scss` * **typography:** remove some allowed tokens * **typography:** remove deprecated `create-typography-var()` and `get-style-tokens()` functions * **typography:** rename `$styles` to `$typographies` * **color:** removed deprecated `get-tokens()`, `get-value` and `get-variable` functions ### Features * **color:** add `theme()` mixin ([00ff322](https://github.com/magnesiumlabs/magnesium/commit/00ff322ddd8de8734a9ca44b72b6e9d2ac15e553)) * **color:** add `variable()` function ([76d5f67](https://github.com/magnesiumlabs/magnesium/commit/76d5f672707a23fdeab33b76dca2c8f7bd75e075)) * **color:** add new `tokens()` and `value()` functions ([814f9fa](https://github.com/magnesiumlabs/magnesium/commit/814f9fa378ad17a8b5c5042d9fe66fb4eb5fbead)) * move core files to `core` folder ([836eba5](https://github.com/magnesiumlabs/magnesium/commit/836eba5cde1cad5bb3064546b0b6e788c9d13d8b)) * remove old `[@forward](https://github.com/forward)` imports in `index.scss` ([1f45963](https://github.com/magnesiumlabs/magnesium/commit/1f459630e130c1134bdd5f662fe768fc3bd63fae)) * **shape:** add main component ([cf60164](https://github.com/magnesiumlabs/magnesium/commit/cf60164597889cc186029bf4e042c9b2b70f8a88)) * **theme:** add `prefers-color-scheme()` mixin ([b55a962](https://github.com/magnesiumlabs/magnesium/commit/b55a962d657b643bbf7ccee8f4a83bcb8c1d1fa4)) * **typography:** add `tokens()` and `value()` functions ([5796888](https://github.com/magnesiumlabs/magnesium/commit/5796888c37317238265765e9de2b04ec0b957d13)) * **typography:** remove deprecated `create-typography-var()` and `get-style-tokens()` functions ([500677b](https://github.com/magnesiumlabs/magnesium/commit/500677b773502e8887c7ce693fc71bdd50354995)) * **typography:** remove some allowed tokens ([0cf4f7a](https://github.com/magnesiumlabs/magnesium/commit/0cf4f7a2d450f0e9f4fc2ab3c284981e81b43b3c)) * **typography:** rename `$styles` to `$typographies` ([a80e88c](https://github.com/magnesiumlabs/magnesium/commit/a80e88c4e8819257672cd867332c19edf8c1b81f)) ### Code Refactoring * **color, shape:** remove default parameters on `theme()` mixins ([a62d2b4](https://github.com/magnesiumlabs/magnesium/commit/a62d2b49490a001981549b2dd20abc8b13c6eca9)) * **color, shape:** reorder `[@forward](https://github.com/forward)` imports ([632aade](https://github.com/magnesiumlabs/magnesium/commit/632aadec5eee9272641efb867a1c4ad156a32d41)) * **color:** removed deprecated `get-tokens()`, `get-value` and `get-variable` functions ([e3dd607](https://github.com/magnesiumlabs/magnesium/commit/e3dd607ea9f5113d6662b4b56ab6ea14f9c4bd41)) * **color:** simplify `theme()` mixin parameter ([f5c1b8e](https://github.com/magnesiumlabs/magnesium/commit/f5c1b8e137beb51cdd34e192f6da71ca828b54d2)) * move sources code to root ([1625c83](https://github.com/magnesiumlabs/magnesium/commit/1625c83ac23e5281014ff54d05412b08ecdb7507)) * remove unneeded sass import ([4117ffa](https://github.com/magnesiumlabs/magnesium/commit/4117ffa57427fa4139a2614bd13c36dc234b01a7)) * removed unneeded sass `[@use](https://github.com/use)` ([e2f1c08](https://github.com/magnesiumlabs/magnesium/commit/e2f1c081f57554f86efda0ef8af73901e3df96a3)) * rename `_index.scss` to `index.scss` ([3cf9c8b](https://github.com/magnesiumlabs/magnesium/commit/3cf9c8be880625e272238ba63c44a3c7c8190280)) * reorder variables ([23c4968](https://github.com/magnesiumlabs/magnesium/commit/23c49687141a0633cc177874bd6407af974abe36)) * **state:** moved to they own folder ([d81ee1f](https://github.com/magnesiumlabs/magnesium/commit/d81ee1f01ebf8bf4b35ea6cba1ce6e197e62c6ca)) * **state:** simplify sass import namespaces ([079c102](https://github.com/magnesiumlabs/magnesium/commit/079c10200b1662d83ea7a937a9140352e3ffbdcf)) * **state:** use namespace ([0f217a6](https://github.com/magnesiumlabs/magnesium/commit/0f217a6eb4f3579cbc41ab0565b085f2528703b4)) * **theme:** removed `core-styles()` mixin ([143a00a](https://github.com/magnesiumlabs/magnesium/commit/143a00a1a782c88d17a0da436a0baf12f273ab4d)) * **theme:** removed deprecated functions ([3a4a979](https://github.com/magnesiumlabs/magnesium/commit/3a4a9797c50e2bc177ac8d2f32a52aaf0137e8d6)) * **theme:** removed unneeded sass import ([9371401](https://github.com/magnesiumlabs/magnesium/commit/9371401c4f4e0f85c0c763405306a1ba7789f2f0)) * **theme:** rename `validate-tokens()` to `validate-theme()` ([468b8d6](https://github.com/magnesiumlabs/magnesium/commit/468b8d6616578b50c144c09d07cd1439118a8e4a)) * **theme:** simplify `create-theme-vars()` function ([babe89a](https://github.com/magnesiumlabs/magnesium/commit/babe89ac491070600916c8ab4a3efcc8c38f8c16)) * **typography:** check allowed properties ([2b5ff97](https://github.com/magnesiumlabs/magnesium/commit/2b5ff979776f1bfef5d844b9bbc52f99ca5b574b)) * use global `core` namespace ([7c8b47a](https://github.com/magnesiumlabs/magnesium/commit/7c8b47a109953a1a6c7967ebaf7d19c2a0200146)) ## [2.6.2](https://github.com/magnesiumlabs/magnesium/compare/v2.6.1...v2.6.2) (2022-11-04) ### Bug Fixes * **theme:** fallback on `create-theme` mixin ([7494f88](https://github.com/magnesiumlabs/magnesium/commit/7494f885397d726ad31647f65649b2ea2f181836)) ## [2.6.1](https://github.com/magnesiumlabs/magnesium/compare/v2.6.0...v2.6.1) (2022-11-02) ### Bug Fixes * **core:** add `color.scss` on root ([d45bf9d](https://github.com/magnesiumlabs/magnesium/commit/d45bf9dbf8c993fe4d8fcc2aee0d40808ad43d90)) ## [2.6.0](https://github.com/magnesiumlabs/magnesium/compare/v2.5.0...v2.6.0) (2022-11-02) ### Features * **color:** add functions ([aa3baae](https://github.com/magnesiumlabs/magnesium/commit/aa3baaeb5faefac55e00f64ba6dc663deb9c526a)) * **radius:** add functions ([bd999d6](https://github.com/magnesiumlabs/magnesium/commit/bd999d69639875a7e712293e1b5e5be22ee6d959)) ## [2.5.0](https://github.com/magnesiumlabs/magnesium/compare/v2.4.0...v2.5.0) (2022-10-27) ### Features * **shape:** add `get-shape` function ([57e7b4c](https://github.com/magnesiumlabs/magnesium/commit/57e7b4ce2f34eed05fbab5c94ebe175badfc7b21)) ## [2.4.0](https://github.com/magnesiumlabs/magnesium/compare/v2.3.1...v2.4.0) (2022-10-26) ### Features * **shape:** add `$shapes` option ([b4ee75d](https://github.com/magnesiumlabs/magnesium/commit/b4ee75d0b6883b6169399364df56a708088d667c)) ## [2.3.1](https://github.com/magnesiumlabs/magnesium/compare/v2.3.0...v2.3.1) (2022-10-26) ### Bug Fixes * **typography:** add error when style doesn't exist ([b897242](https://github.com/magnesiumlabs/magnesium/commit/b897242c5fe968f7382ce18f771b5592f8846178)) ## [2.3.0](https://github.com/magnesiumlabs/magnesium/compare/v2.2.0...v2.3.0) (2022-10-25) ### Features * **theme:** add `create-theme-vars` function ([a888754](https://github.com/magnesiumlabs/magnesium/commit/a8887540ead994af09ad8def9f06382549b0484c)) * **typography:** update `theme-styles` mixin ([27352b8](https://github.com/magnesiumlabs/magnesium/commit/27352b8d2038e5cc0d573d7a39bcfc6e5a256506)) ### Code Refactoring * **typography:** add loop on `_typography` mixin ([57e717c](https://github.com/magnesiumlabs/magnesium/commit/57e717cbbd0288193f809eb22be1c36286521406)) * **typography:** import namespaces ([6be2d4a](https://github.com/magnesiumlabs/magnesium/commit/6be2d4ae5a842d280152ba81eb5744d27d20e7f7)) ## [2.2.0](https://github.com/magnesiumlabs/magnesium/compare/v2.1.0...v2.2.0) (2022-10-23) ### Features * **typography:** add styles options ([81d7487](https://github.com/magnesiumlabs/magnesium/commit/81d748796e6fe93e0e329cc57e01661b6d316aaa)) ## [2.1.0](https://github.com/magnesiumlabs/magnesium/compare/v2.0.0...v2.1.0) (2022-10-21) ### Features * **typography:** add `create-typography` mixin ([b57f6eb](https://github.com/magnesiumlabs/magnesium/commit/b57f6eb1bf43b4d4344d53801c28ccf1da1c29b6)) ## [2.0.0](https://github.com/magnesiumlabs/magnesium/compare/v1.16.0...v2.0.0) (2022-10-19) ### ⚠ BREAKING CHANGES * removed old `typography` packages * removed old `core`, `shape` and `theme` packages * **state:** move code from theme * **theme:** remove deditacted packages ### Features * **state, theme:** add files for namespaces ([548c0dc](https://github.com/magnesiumlabs/magnesium/commit/548c0dc737e0dae91e7a7568f204a3752b6acf01)) * **state:** move code from theme ([da8f1b6](https://github.com/magnesiumlabs/magnesium/commit/da8f1b6940c6e01b11d6823006a55c00722afb7d)) * **theme:** add `create-theme-var` function ([b37ec16](https://github.com/magnesiumlabs/magnesium/commit/b37ec166529a6648466b1ded3107cb79be153807)) * **theme:** add `create-theme` mixin ([e61b5ca](https://github.com/magnesiumlabs/magnesium/commit/e61b5ca35f136b96de60208f5b682b623177a634)) * **theme:** add `get-theme-color` function ([915bfcd](https://github.com/magnesiumlabs/magnesium/commit/915bfcd6b983b7df994422810c51b700f43f4a48)) * **theme:** add `get-theme-tokens` function ([e577d63](https://github.com/magnesiumlabs/magnesium/commit/e577d63747f0efd379cafdeee322b61d681fd5a0)) * **theme:** add core styles declarations ([75caec3](https://github.com/magnesiumlabs/magnesium/commit/75caec32b91e8f716814e8daf6a11e1b9c8f6f17)) * **theme:** add default fallback with config colors ([013fb21](https://github.com/magnesiumlabs/magnesium/commit/013fb2137378645caee5404b979fd944ea6976f4)) * **theme:** add disabled prefix option ([d0ae44b](https://github.com/magnesiumlabs/magnesium/commit/d0ae44b0b1865c956c27a105dd6c820b1e66ad96)) * **theme:** add list option on `create-theme-var` function ([eebd755](https://github.com/magnesiumlabs/magnesium/commit/eebd755adcd5a8ab22fc45e4b79517bf059816fa)) ### Bug Fixes * **theme:** allow `null` on `create-theme` mixin ([0737d35](https://github.com/magnesiumlabs/magnesium/commit/0737d357ec6ca9218a09e4297034edb6001111fe)) ### Build System * **deps:** bump to `@unsass/string` 1.2.0 ([92ca705](https://github.com/magnesiumlabs/magnesium/commit/92ca705bd4724626aa4f881dcf8bc0183ed21e3c)) ### Code Refactoring * removed old packages ([51ffbdd](https://github.com/magnesiumlabs/magnesium/commit/51ffbdd54e918ceb81fbf77388a05f22d86b1d6a)) * removed old packages ([cc2f3f2](https://github.com/magnesiumlabs/magnesium/commit/cc2f3f29c06470ffcdbf0a3e4c1abee148fd4bc5)) * **state:** move `state` folder to `_state.scss` file ([6b66e07](https://github.com/magnesiumlabs/magnesium/commit/6b66e071a8dd219b07e57a6f6588007784ee0b94)) * **theme:** move `exist` function to private ([32071a6](https://github.com/magnesiumlabs/magnesium/commit/32071a6b454e8c19c453dda03eb5bedefda95301)) * **theme:** simplify `create-theme-var` mixin ([0324712](https://github.com/magnesiumlabs/magnesium/commit/03247128669488ebb1b24a218fb1d676e1f5f251)) ## [2.0.0-beta.3](https://github.com/magnesiumlabs/magnesium/compare/v2.0.0-beta.2...v2.0.0-beta.3) (2022-10-19) ### ⚠ BREAKING CHANGES * removed old `core`, `shape` and `theme` packages ### Bug Fixes * **theme:** allow `null` on `create-theme` mixin ([0737d35](https://github.com/magnesiumlabs/magnesium/commit/0737d357ec6ca9218a09e4297034edb6001111fe)) ### Code Refactoring * removed old packages ([cc2f3f2](https://github.com/magnesiumlabs/magnesium/commit/cc2f3f29c06470ffcdbf0a3e4c1abee148fd4bc5)) * **state:** move `state` folder to `_state.scss` file ([6b66e07](https://github.com/magnesiumlabs/magnesium/commit/6b66e071a8dd219b07e57a6f6588007784ee0b94)) * **theme:** move `exist` function to private ([32071a6](https://github.com/magnesiumlabs/magnesium/commit/32071a6b454e8c19c453dda03eb5bedefda95301)) ## [2.0.0-beta.2](https://github.com/magnesiumlabs/magnesium/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2022-10-18) ### Features * **state, theme:** add files for namespaces ([548c0dc](https://github.com/magnesiumlabs/magnesium/commit/548c0dc737e0dae91e7a7568f204a3752b6acf01)) ## [2.0.0-beta.1](https://github.com/magnesiumlabs/magnesium/compare/v1.16.0...v2.0.0-beta.1) (2022-10-17) ### ⚠ BREAKING CHANGES * **state:** move code from theme * **theme:** remove deditacted packages ### Features * **state:** move code from theme ([da8f1b6](https://github.com/magnesiumlabs/magnesium/commit/da8f1b6940c6e01b11d6823006a55c00722afb7d)) * **theme:** add `create-theme-var` function ([b37ec16](https://github.com/magnesiumlabs/magnesium/commit/b37ec166529a6648466b1ded3107cb79be153807)) * **theme:** add `create-theme` mixin ([e61b5ca](https://github.com/magnesiumlabs/magnesium/commit/e61b5ca35f136b96de60208f5b682b623177a634)) * **theme:** add `get-theme-color` function ([915bfcd](https://github.com/magnesiumlabs/magnesium/commit/915bfcd6b983b7df994422810c51b700f43f4a48)) * **theme:** add `get-theme-tokens` function ([e577d63](https://github.com/magnesiumlabs/magnesium/commit/e577d63747f0efd379cafdeee322b61d681fd5a0)) * **theme:** add core styles declarations ([75caec3](https://github.com/magnesiumlabs/magnesium/commit/75caec32b91e8f716814e8daf6a11e1b9c8f6f17)) * **theme:** add default fallback with config colors ([013fb21](https://github.com/magnesiumlabs/magnesium/commit/013fb2137378645caee5404b979fd944ea6976f4)) * **theme:** add disabled prefix option ([d0ae44b](https://github.com/magnesiumlabs/magnesium/commit/d0ae44b0b1865c956c27a105dd6c820b1e66ad96)) * **theme:** add list option on `create-theme-var` function ([eebd755](https://github.com/magnesiumlabs/magnesium/commit/eebd755adcd5a8ab22fc45e4b79517bf059816fa)) ### Code Refactoring * **theme:** simplify `create-theme-var` mixin ([0324712](https://github.com/magnesiumlabs/magnesium/commit/03247128669488ebb1b24a218fb1d676e1f5f251)) ### Build System * **deps:** bump to `@unsass/string` 1.2.0 ([92ca705](https://github.com/magnesiumlabs/magnesium/commit/92ca705bd4724626aa4f881dcf8bc0183ed21e3c)) ## [1.16.0](https://github.com/magnesiumlabs/magnesium/compare/v1.15.0...v1.16.0) (2022-10-17) ### Features * **deps:** bump to `sass` 1.55.0 ([9f0c047](https://github.com/magnesiumlabs/magnesium/commit/9f0c047c18314020d73e81e5d17c9c80017162ea)) ## [1.15.0](https://github.com/magnesiumlabs/magnesium/compare/v1.14.0...v1.15.0) (2022-10-11) ### Features * **theme:** add `create` mixin ([bbca4e2](https://github.com/magnesiumlabs/magnesium/commit/bbca4e261791a161d5d536d5a9efeb4a846781e7)) ### Build System * **deps:** bump to `sass` 1.55.0 ([25d3d92](https://github.com/magnesiumlabs/magnesium/commit/25d3d9215a2d9204c06f0ffd1d628303489d4455)) ## [1.14.0](https://github.com/magnesiumlabs/magnesium/compare/v1.13.2...v1.14.0) (2022-10-05) ### Features * **theme:** add `$fallback` option ([33adba6](https://github.com/magnesiumlabs/magnesium/commit/33adba69925e1c0fdd5aa9fe336f1b1456f8d0d2)) ## [1.13.2](https://github.com/magnesiumlabs/magnesium/compare/v1.13.1...v1.13.2) (2022-09-26) ### Bug Fixes * **deps:** dependencies vulnerabilities ([5b2e9ae](https://github.com/magnesiumlabs/magnesium/commit/5b2e9ae90227eb49651680a974b427e9f1c1eea4)) ### Code Refactoring * **shape, theme, typography:** remove unneeded `$component` variables ([a3d4454](https://github.com/magnesiumlabs/magnesium/commit/a3d445419bc97db77d34b806e8305572961d97b5)) ### Build System * **deps:** use `@unsass/types` ([89678e7](https://github.com/magnesiumlabs/magnesium/commit/89678e7bfc91fa0635e8e6649fd7429318847d5c)) ## [1.13.1](https://github.com/magnesiumlabs/magnesium/compare/v1.13.0...v1.13.1) (2022-09-16) ### Bug Fixes * **shape, theme, typography:** extended configuration catch ([112a2ab](https://github.com/magnesiumlabs/magnesium/commit/112a2abaebc1fa612ccb74a788738e80c23dc0dd)) ## [1.13.0](https://github.com/magnesiumlabs/magnesium/compare/v1.12.2...v1.13.0) (2022-09-16) ### Features * **theme:** generate `$bg-colors` option by default ([1b6fdfd](https://github.com/magnesiumlabs/magnesium/commit/1b6fdfd9991d33cb56bee1889941595cf763e246)) ### Code Refactoring * **shape, theme, typography:** factorize selector name creation ([6ab0cf4](https://github.com/magnesiumlabs/magnesium/commit/6ab0cf45432b9d3ae73bd595757ce8195a71ac13)) ## [1.12.2](https://github.com/magnesiumlabs/magnesium/compare/v1.12.1...v1.12.2) (2022-09-16) ### Bug Fixes * **shape:** responsive class names ([4bc8ff3](https://github.com/magnesiumlabs/magnesium/commit/4bc8ff354ffba0f63e7e36b34e1bb8ddbcd36a91)) ## [1.12.1](https://github.com/magnesiumlabs/magnesium/compare/v1.12.0...v1.12.1) (2022-09-16) ### Bug Fixes * **theme:** background colors responsive class names ([ace9e04](https://github.com/magnesiumlabs/magnesium/commit/ace9e04b0a352130acdff65027edf0ac5678b09e)) ## [1.12.0](https://github.com/magnesiumlabs/magnesium/compare/v1.11.3...v1.12.0) (2022-09-16) ### Features * **core:** add `$extend` global map option ([97ef665](https://github.com/magnesiumlabs/magnesium/commit/97ef665954cff2f621257f8fdb4d957e35b00531)) * **core:** add `screens` option ([09f8acb](https://github.com/magnesiumlabs/magnesium/commit/09f8acbff07bf127944d8366714d42d5b4893ce8)) * **shape, theme, typography:** add responsive classes ([8e8231a](https://github.com/magnesiumlabs/magnesium/commit/8e8231a7b454a70462229e9666579dc419775228)) * **shape, theme:** add states classes ([5783838](https://github.com/magnesiumlabs/magnesium/commit/5783838971871663824c0965fd188f66eaa4557a)) ### Bug Fixes * **typography:** default values ([74ac4fd](https://github.com/magnesiumlabs/magnesium/commit/74ac4fdeaf5fdcd5c74a2381e921be29ad29b2de)) ### Code Refactoring * remove `[@debug](https://github.com/debug)` ([730abc2](https://github.com/magnesiumlabs/magnesium/commit/730abc2e3e9a6eea6face6d8c33d21a02e1d4f3a)) ## [1.11.3](https://github.com/magnesiumlabs/magnesium/compare/v1.11.2...v1.11.3) (2022-09-16) ### Bug Fixes * **typography:** removed unneeded functions ([8be62d6](https://github.com/magnesiumlabs/magnesium/commit/8be62d6d74b0d888174eb1e5651fb53bff0b2729)) ## [1.11.2](https://github.com/magnesiumlabs/magnesium/compare/v1.11.1...v1.11.2) (2022-09-14) ### Bug Fixes * **deps:** update package-lock.json ([58034dd](https://github.com/magnesiumlabs/magnesium/commit/58034dd7d6e04108f8cfe5f55805948ec53a953f)) * **theme:** unneeded `hide` condition ([6c3cd8d](https://github.com/magnesiumlabs/magnesium/commit/6c3cd8d78360215e78f5049ba2187ece5689bb77)) ## [1.11.1](https://github.com/magnesiumlabs/magnesium/compare/v1.11.0...v1.11.1) (2022-09-14) ### Bug Fixes * **deps:** bump to `@unsass/css` 2.1.1 ([565cc48](https://github.com/magnesiumlabs/magnesium/commit/565cc48f97b2802e530075cbf628ddd962aeba5a)) ## [1.11.0](https://github.com/magnesiumlabs/magnesium/compare/v1.10.0...v1.11.0) (2022-09-13) ### Features * **theme:** add `create-name` function ([35f05b0](https://github.com/magnesiumlabs/magnesium/commit/35f05b0fc8bcb65ce48f3b262f07efca44541450)) ### Code Refactoring * **shape, theme, typography:** add `$component` variables ([af32c5c](https://github.com/magnesiumlabs/magnesium/commit/af32c5c93feb2bf0e6a27c526e00d3cfd9a8e9ec)) * **theme:** move `$prefers-color-scheme` to variables file ([cdfe668](https://github.com/magnesiumlabs/magnesium/commit/cdfe668864cb98f5129f34a5fb51eb244e59aa41)) ## [1.10.0](https://github.com/magnesiumlabs/magnesium/compare/v1.9.4...v1.10.0) (2022-09-13) ### Features * **deps:** use `@unsass/css` instead of `@sass-collective/property` ([44fc50f](https://github.com/magnesiumlabs/magnesium/commit/44fc50feba9fdd3e464414737891ed3eb815b68a)) ### Build System * **deps:** removed `@sass-collective/property` dependency ([9c2088c](https://github.com/magnesiumlabs/magnesium/commit/9c2088c81d26b731e59bf7d919b0738f3a837ffd)) ## [1.9.4](https://github.com/magnesiumlabs/magnesium/compare/v1.9.3...v1.9.4) (2022-08-19) ### Bug Fixes * **typography:** remove unneeded `[@debug](https://github.com/debug)` ([9629b06](https://github.com/magnesiumlabs/magnesium/commit/9629b06abaa9a9e3c6b5f60993ac8b53b4281850)) ### Code Refactoring * **core, theme:** move `$prefers-color-scheme` map ([011f24f](https://github.com/magnesiumlabs/magnesium/commit/011f24f3e4bb2c67c494abbfcf2a7408d0254707)) * **shape:** remove unneeded `[@use](https://github.com/use)` ([fbcb681](https://github.com/magnesiumlabs/magnesium/commit/fbcb6812ee3a3393697051cd6561fbdeded87233)) ## [1.9.3](https://github.com/magnesiumlabs/magnesium/compare/v1.9.2...v1.9.3) (2022-08-18) ### Bug Fixes * **shape:** missing custom properties ([4bcff3d](https://github.com/magnesiumlabs/magnesium/commit/4bcff3dac8412de81c055c7e95b91717e4ff2c1b)) ### Code Refactoring * **theme, typography:** error wording ([c99873d](https://github.com/magnesiumlabs/magnesium/commit/c99873daaa32f0eedebf90227f5782184f8215d9)) * **theme:** remove unneeded sass condition ([0d3e286](https://github.com/magnesiumlabs/magnesium/commit/0d3e2860d015c0db401e4c56768ae96d0f49ada4)) ## [1.9.2](https://github.com/magnesiumlabs/magnesium/compare/v1.9.1...v1.9.2) (2022-08-17) ### Bug Fixes * **deps:** remove unneeded `[@debug](https://github.com/debug)` on console ([86819de](https://github.com/magnesiumlabs/magnesium/commit/86819dedc036c7113706c7494a0793307008adba)) ## [1.9.1](https://github.com/magnesiumlabs/magnesium/compare/v1.9.0...v1.9.1) (2022-08-16) ### Bug Fixes * **deps:** bump to `@unsass/rem` 2.0.1 ([91c1be4](https://github.com/magnesiumlabs/magnesium/commit/91c1be406d2da381142809f09f0c294398f9095e)) ### Code Refactoring * **theme:** `get-color` parameter name ([5471bae](https://github.com/magnesiumlabs/magnesium/commit/5471bae88c2835ca0cc171d84db25fedda4691d2)) ## [1.9.0](https://github.com/magnesiumlabs/magnesium/compare/v1.8.1...v1.9.0) (2022-07-20) ### Features * **theme:** add `get-valid-state` function ([0146d13](https://github.com/magnesiumlabs/magnesium/commit/0146d1398a64fae5c2e8da92726ead6d2eed137a)) ## [1.9.0-beta.1](https://github.com/magnesiumlabs/magnesium/compare/v1.8.1...v1.9.0-beta.1) (2022-06-29) ### Features * **theme:** add `get-valid-state` function ([0146d13](https://github.com/magnesiumlabs/magnesium/commit/0146d1398a64fae5c2e8da92726ead6d2eed137a)) ### [1.8.1](https://github.com/magnesiumlabs/magnesium/compare/v1.8.0...v1.8.1) (2022-06-01) ### Bug Fixes * **theme:** package files delivery ([540c50e](https://github.com/magnesiumlabs/magnesium/commit/540c50e2c0412806c9d07e10480fff3232267c35)) ## [1.8.0](https://github.com/magnesiumlabs/magnesium/compare/v1.7.0...v1.8.0) (2022-05-31) ### Features * **theme:** add state functions ([692b917](https://github.com/magnesiumlabs/magnesium/commit/692b91704851cb5f97aab0b6290ac41a85948b2c)) * **typography:** add `text-align` on available merged props ([7909c72](https://github.com/magnesiumlabs/magnesium/commit/7909c7224866c85a5bb1bdf6bf22d3aec0d4cad1)) ### Code Refactoring * **theme:** remove `selector` mixin ([89e6c33](https://github.com/magnesiumlabs/magnesium/commit/89e6c33ba60cdf32b35e22085ae22ce7e081f816)) ## [1.7.0](https://github.com/magnesiumlabs/magnesium/compare/v1.6.0...v1.7.0) (2022-04-05) ### Features * **shape, theme, typography:** stop use `selector` mixin ([f643985](https://github.com/magnesiumlabs/magnesium/commit/f643985cbd144a752fd55fda508f2f8d0e943998)) ## [1.6.0](https://github.com/magnesiumlabs/magnesium/compare/v1.5.1...v1.6.0) (2022-03-23) ### Features * **shape:** add `radius` mixin ([8f64c04](https://github.com/magnesiumlabs/magnesium/commit/8f64c0470ad6c4f7582796d71c5acd1760fc02ba)) * **typography:** add `ellipsis-multiline` mixin ([e12254d](https://github.com/magnesiumlabs/magnesium/commit/e12254d7328fb1a9862b70495f1a8d3d1e463bc4)) ### [1.5.1](https://github.com/magnesiumlabs/magnesium/compare/v1.5.0...v1.5.1) (2022-03-07) **Note:** Version bump only for package magnesium ## [1.5.0](https://github.com/magnesiumlabs/magnesium/compare/v1.4.1...v1.5.0) (2022-02-24) ### Features * **typography:** add `$font-baseline` option ([ba87ae7](https://github.com/magnesiumlabs/magnesium/commit/ba87ae79b7b500f24e91a67555f6988e2dbdfc91)) ### [1.4.1](https://github.com/magnesiumlabs/magnesium/compare/v1.4.0...v1.4.1) (2022-02-22) ### Bug Fixes * **shape, theme, typography:** use new mixins instead of deprecated ([836577c](https://github.com/magnesiumlabs/magnesium/commit/836577c6ab4b026a25234b0b6ca46626812cbcb5)) ## [1.4.0](https://github.com/magnesiumlabs/magnesium/compare/v1.3.2...v1.4.0) (2022-02-22) ### Features * **shape:** add `exist` function ([9c8cbbb](https://github.com/magnesiumlabs/magnesium/commit/9c8cbbbe01628db13506da049b701ab525e48da4)) * **