Skip to content

Commit

Permalink
refactor - comments : use /* ... */ instead of //
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Balet committed Nov 15, 2023
1 parent c3b32f9 commit 5e281e7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
10 changes: 4 additions & 6 deletions mixins/browser.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// @ToDo: Test the not mixin

@mixin chrome {
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
@content;
Expand All @@ -19,17 +17,17 @@
}

@mixin ie {
// IE9+
/* IE9+ */
@media screen and (min-width: 0\0) and (min-resolution: +72dpi) {
@content;
}

// IE8
/* IE8 */
@media \0screen {
@content;
}

// IE6,7
/* IE6,7 */
@media screen\9 {
@content;
}
Expand All @@ -42,7 +40,7 @@
}

@mixin safari {
// Safari 10.1+
/* Safari 10.1+ */
@media not all and (min-resolution: 0.001dpcm) {
@supports (-webkit-appearance: none) {
@content;
Expand Down
6 changes: 3 additions & 3 deletions mixins/shadow.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** According to the Google living style guide
/* According to the Google living style guide
* @see https://material.io/design/environment/elevation.html#default-elevations
*/

/**
/*
-- Spectrum --
Expand Down Expand Up @@ -116,7 +116,7 @@ $pushOnPress: true !default;
}
}

// Svg Fix
/* Svg Fix */
@mixin drop-shadow($elevation: 1, $animation: null, $color: #000, $important: null) {
transition: $transition;
@if $animation {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scss-opinionated",
"version": "16.0.1",
"version": "17.0.0",
"description": "Opiniated scss mixin and utilities",
"license": "MIT",
"author": "Raphael Balet",
Expand Down
18 changes: 9 additions & 9 deletions utilities/spacing.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// https://uxdesign.cc/ui-cheat-sheet-spacing-friendships-e37a6fccc407
/* https://uxdesign.cc/ui-cheat-sheet-spacing-friendships-e37a6fccc407 */

:root {
--space-smallest: 4px; // BBFE
--space-smaller: 8px; // Best friends
--space-smallest: 4px; /* BBFE */
--space-smaller: 8px; /* Best friends */
--space-small: 12px;
--space: 16px; // Close friends
--space-big: 24px; // Close-ish friends
--space-bigger: 32px; // Friends
--space-biggest: 64px; // Acquaintances
--space-giant: 72px; // Distant acquaintances
--space-gargantuan: 128px; // Stranger
--space: 16px; /* Close friends */
--space-big: 24px; /* Close-ish friends */
--space-bigger: 32px; /* Friends */
--space-biggest: 64px; /* Acquaintances */
--space-giant: 72px; /* Distant acquaintances */
--space-gargantuan: 128px; /* Stranger */
}

0 comments on commit 5e281e7

Please sign in to comment.