-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5dc565
commit a1aaf72
Showing
12 changed files
with
291 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env node | ||
'use strict' | ||
|
||
import '../dist/cli.mjs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,124 @@ | ||
@use '../typography'; | ||
/** Don't edit this file directly. It is generated by `material3-style color`. */ | ||
|
||
@mixin theme-light { | ||
--md-sys-color-primary: #6f43c0; | ||
--md-sys-color-on-primary: #ffffff; | ||
--md-sys-color-primary-container: #ebddff; | ||
--md-sys-color-on-primary-container: #250059; | ||
--md-sys-color-secondary: #635b70; | ||
--md-sys-color-on-secondary: #ffffff; | ||
--md-sys-color-secondary-container: #e9def8; | ||
--md-sys-color-on-secondary-container: #1f182b; | ||
--md-sys-color-tertiary: #7e525d; | ||
--md-sys-color-on-tertiary: #ffffff; | ||
--md-sys-color-tertiary-container: #ffd9e1; | ||
--md-sys-color-on-tertiary-container: #31101b; | ||
--md-sys-color-error: #ba1a1a; | ||
--md-sys-color-on-error: #ffffff; | ||
--md-sys-color-error-container: #ffdad6; | ||
--md-sys-color-on-error-container: #410002; | ||
--md-sys-color-background: #fffbff; | ||
--md-sys-color-on-background: #1d1b1e; | ||
--md-sys-color-surface: #fffbff; | ||
--md-sys-color-on-surface: #1d1b1e; | ||
--md-sys-color-surface-variant: #e7e0eb; | ||
--md-sys-color-on-surface-variant: #49454e; | ||
--md-sys-color-outline: #7a757f; | ||
--md-sys-color-outline-variant: #cbc4cf; | ||
--md-sys-color-shadow: #000000; | ||
--md-sys-color-scrim: #000000; | ||
--md-sys-color-inverse-surface: #323033; | ||
--md-sys-color-inverse-on-surface: #f5eff4; | ||
--md-sys-color-inverse-primary: #d3bbff; | ||
--m3-color-primary: var(--md-sys-color-primary); | ||
--m3-color-on-primary: var(--md-sys-color-on-primary); | ||
--m3-color-primary-container: var(--md-sys-color-primary-container); | ||
--m3-color-on-primary-container: var(--md-sys-color-on-primary-container); | ||
--m3-color-secondary: var(--md-sys-color-secondary); | ||
--m3-color-on-secondary: var(--md-sys-color-on-secondary); | ||
--m3-color-secondary-container: var(--md-sys-color-secondary-container); | ||
--m3-color-on-secondary-container: var(--md-sys-color-on-secondary-container); | ||
--m3-color-tertiary: var(--md-sys-color-tertiary); | ||
--m3-color-on-tertiary: var(--md-sys-color-on-tertiary); | ||
--m3-color-tertiary-container: var(--md-sys-color-tertiary-container); | ||
--m3-color-on-tertiary-container: var(--md-sys-color-on-tertiary-container); | ||
--m3-color-error: var(--md-sys-color-error); | ||
--m3-color-on-error: var(--md-sys-color-on-error); | ||
--m3-color-error-container: var(--md-sys-color-error-container); | ||
--m3-color-on-error-container: var(--md-sys-color-on-error-container); | ||
--m3-color-background: var(--md-sys-color-background); | ||
--m3-color-on-background: var(--md-sys-color-on-background); | ||
--m3-color-surface: var(--md-sys-color-surface); | ||
--m3-color-on-surface: var(--md-sys-color-on-surface); | ||
--m3-color-surface-variant: var(--md-sys-color-surface-variant); | ||
--m3-color-on-surface-variant: var(--md-sys-color-on-surface-variant); | ||
--m3-color-outline: var(--md-sys-color-outline); | ||
--m3-color-outline-variant: var(--md-sys-color-outline-variant); | ||
--m3-color-shadow: var(--md-sys-color-shadow); | ||
--m3-color-scrim: var(--md-sys-color-scrim); | ||
--m3-color-inverse-surface: var(--md-sys-color-inverse-surface); | ||
--m3-color-inverse-on-surface: var(--md-sys-color-inverse-on-surface); | ||
--m3-color-inverse-primary: var(--md-sys-color-inverse-primary); | ||
} | ||
|
||
@mixin theme-dark { | ||
--md-sys-color-primary: #d3bbff; | ||
--md-sys-color-on-primary: #3f008d; | ||
--md-sys-color-primary-container: #5727a6; | ||
--md-sys-color-on-primary-container: #ebddff; | ||
--md-sys-color-secondary: #cdc2db; | ||
--md-sys-color-on-secondary: #342d40; | ||
--md-sys-color-secondary-container: #4b4358; | ||
--md-sys-color-on-secondary-container: #e9def8; | ||
--md-sys-color-tertiary: #f0b7c5; | ||
--md-sys-color-on-tertiary: #4a2530; | ||
--md-sys-color-tertiary-container: #643b46; | ||
--md-sys-color-on-tertiary-container: #ffd9e1; | ||
--md-sys-color-error: #ffb4ab; | ||
--md-sys-color-on-error: #690005; | ||
--md-sys-color-error-container: #93000a; | ||
--md-sys-color-on-error-container: #ffb4ab; | ||
--md-sys-color-background: #1d1b1e; | ||
--md-sys-color-on-background: #e6e1e6; | ||
--md-sys-color-surface: #1d1b1e; | ||
--md-sys-color-on-surface: #e6e1e6; | ||
--md-sys-color-surface-variant: #49454e; | ||
--md-sys-color-on-surface-variant: #cbc4cf; | ||
--md-sys-color-outline: #948f99; | ||
--md-sys-color-outline-variant: #49454e; | ||
--md-sys-color-shadow: #000000; | ||
--md-sys-color-scrim: #000000; | ||
--md-sys-color-inverse-surface: #e6e1e6; | ||
--md-sys-color-inverse-on-surface: #323033; | ||
--md-sys-color-inverse-primary: #6f43c0; | ||
--m3-color-primary: var(--md-sys-color-primary); | ||
--m3-color-on-primary: var(--md-sys-color-on-primary); | ||
--m3-color-primary-container: var(--md-sys-color-primary-container); | ||
--m3-color-on-primary-container: var(--md-sys-color-on-primary-container); | ||
--m3-color-secondary: var(--md-sys-color-secondary); | ||
--m3-color-on-secondary: var(--md-sys-color-on-secondary); | ||
--m3-color-secondary-container: var(--md-sys-color-secondary-container); | ||
--m3-color-on-secondary-container: var(--md-sys-color-on-secondary-container); | ||
--m3-color-tertiary: var(--md-sys-color-tertiary); | ||
--m3-color-on-tertiary: var(--md-sys-color-on-tertiary); | ||
--m3-color-tertiary-container: var(--md-sys-color-tertiary-container); | ||
--m3-color-on-tertiary-container: var(--md-sys-color-on-tertiary-container); | ||
--m3-color-error: var(--md-sys-color-error); | ||
--m3-color-on-error: var(--md-sys-color-on-error); | ||
--m3-color-error-container: var(--md-sys-color-error-container); | ||
--m3-color-on-error-container: var(--md-sys-color-on-error-container); | ||
--m3-color-background: var(--md-sys-color-background); | ||
--m3-color-on-background: var(--md-sys-color-on-background); | ||
--m3-color-surface: var(--md-sys-color-surface); | ||
--m3-color-on-surface: var(--md-sys-color-on-surface); | ||
--m3-color-surface-variant: var(--md-sys-color-surface-variant); | ||
--m3-color-on-surface-variant: var(--md-sys-color-on-surface-variant); | ||
--m3-color-outline: var(--md-sys-color-outline); | ||
--m3-color-outline-variant: var(--md-sys-color-outline-variant); | ||
--m3-color-shadow: var(--md-sys-color-shadow); | ||
--m3-color-scrim: var(--md-sys-color-scrim); | ||
--m3-color-inverse-surface: var(--md-sys-color-inverse-surface); | ||
--m3-color-inverse-on-surface: var(--md-sys-color-inverse-on-surface); | ||
--m3-color-inverse-primary: var(--md-sys-color-inverse-primary); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@use '../var'; | ||
|
||
:root { | ||
@include var.theme-dark(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@use '../var'; | ||
|
||
:root { | ||
@include var.theme-light(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ export default ririd( | |
formatters: true, | ||
ignores: [ | ||
'**/*.css', | ||
'color/_var.scss', | ||
], | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "color-demo", | ||
"scripts": { | ||
"color-gen": "material3-style color" | ||
}, | ||
"dependencies": { | ||
"material3-style": "workspace:*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.