Created
July 2, 2024 15:21
-
-
Save garceau/f9cf92f33c249f7d85925642c43f2f04 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
| // Variables | |
| $sans: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; | |
| $serif: 'Roboto Mono', Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | |
| $trans: transparent; | |
| $imp: !important; | |
| $font-size: 14px; | |
| $colors: ( | |
| primary: #0084ff, | |
| secondary: #1c4dc0, | |
| text: #444, | |
| bg: #fafafa, | |
| note: #0084ff, | |
| info: #0084ee, | |
| alert: #F36E65, | |
| warning: #F8B068, | |
| success: #6CE890, | |
| hollow: transparent, | |
| light: #fefefe, | |
| dark: #111111, | |
| ); | |
| $primary: map-get($colors, primary); | |
| $secondary: map-get($colors, secondary); | |
| $alert: map-get($colors, alert); | |
| $warning: map-get($colors, warning); | |
| $success: map-get($colors, success); | |
| $text: map-get($colors, text); | |
| $note: map-get($colors, note); | |
| $info: map-get($colors, info); | |
| // Mixins | |
| @mixin b($border-top, $border-right, $border-bottom, $border-left) { | |
| border-top: $border-top; | |
| border-right: $border-right; | |
| border-bottom: $border-bottom; | |
| border-left: $border-left; | |
| } | |
| @mixin mlr($mlr){ | |
| margin-left: $mlr; | |
| margin-right: $mlr; | |
| } | |
| // Reset It | |
| html { | |
| box-sizing: border-box; | |
| font-family: $sans; | |
| font-size: 100%; | |
| font-size: 16px; | |
| font-size: 1em; | |
| line-height: 1.15; | |
| -ms-text-size-adjust: 100%; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-overflow-style: scrollbar; | |
| -webkit-tap-hightlight-color: $trans; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale | |
| } | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: inherit; | |
| } | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background: map-get($colors, bg); | |
| font-family: $sans; | |
| font-weight: normal; | |
| font-weight: 400; | |
| line-height: 1.5; | |
| color: $text; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| .is-visible, | |
| [visible], | |
| .show { | |
| display: block $imp; | |
| } | |
| .is-hidden, | |
| [hidden], | |
| .hide { | |
| display: none $imp; | |
| } | |
| @mixin theme($theme: DarkGray) { | |
| background: $theme; | |
| box-shadow: 0 0 1px rgba($theme, .25); | |
| color: #fff; | |
| } | |
| .info { | |
| @include theme($theme: $info); | |
| } | |
| .alert { | |
| @include theme($theme: $alert); | |
| } | |
| .success { | |
| @include theme($theme: $success); | |
| } |
This file contains hidden or 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
| html { | |
| box-sizing: border-box; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| font-size: 100%; | |
| font-size: 16px; | |
| font-size: 1em; | |
| line-height: 1.15; | |
| -ms-text-size-adjust: 100%; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-overflow-style: scrollbar; | |
| -webkit-tap-hightlight-color: transparent; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: inherit; | |
| } | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background: #fafafa; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| font-weight: normal; | |
| font-weight: 400; | |
| line-height: 1.5; | |
| color: #444; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| .is-visible, | |
| [visible], | |
| .show { | |
| display: block !important; | |
| } | |
| .is-hidden, | |
| [hidden], | |
| .hide { | |
| display: none !important; | |
| } | |
| .info { | |
| background: #0084ee; | |
| box-shadow: 0 0 1px rgba(0, 132, 238, 0.25); | |
| color: #fff; | |
| } | |
| .alert { | |
| background: #F36E65; | |
| box-shadow: 0 0 1px rgba(243, 110, 101, 0.25); | |
| color: #fff; | |
| } | |
| .success { | |
| background: #6CE890; | |
| box-shadow: 0 0 1px rgba(108, 232, 144, 0.25); | |
| color: #fff; | |
| } |
This file contains hidden or 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
| { | |
| "sass": { | |
| "compiler": "dart-sass/1.32.12", | |
| "extensions": {}, | |
| "syntax": "SCSS", | |
| "outputStyle": "expanded" | |
| }, | |
| "autoprefixer": false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment