Skip to content

Commit 07b3e5c

Browse files
committed
Remove redundant comments from CSS variable files
1 parent 0c4462e commit 07b3e5c

File tree

7 files changed

+0
-38
lines changed

7 files changed

+0
-38
lines changed

app/assets/stylesheets/css-zero/animations.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/****************************************************************
2-
* Animation
3-
* Variables for animating elements with CSS animations.
42
* animation: var(--animate-fade-in) forwards;
53
*****************************************************************/
64

app/assets/stylesheets/css-zero/borders.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
:root {
22
/****************************************************************
3-
* Border Width
4-
* Variables for controlling the width of an element's borders.
53
* border-width: var(--border);
64
*****************************************************************/
75
--border: 1px;
@@ -10,8 +8,6 @@
108
--border-8: 8px;
119

1210
/****************************************************************
13-
* Border Radius
14-
* Variables for controlling the border radius of an element.
1511
* border-radius: var(--rounded-sm);
1612
*****************************************************************/
1713
--rounded-xs: 0.125rem; /* 2px */

app/assets/stylesheets/css-zero/effects.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
:root {
22
/****************************************************************
3-
* Box Shadow
4-
* Variables for controlling the box shadow of an element.
53
* box-shadow: var(--shadow-sm);
64
****************************************************************/
75
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
@@ -13,8 +11,6 @@
1311
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
1412

1513
/****************************************************************
16-
* Opacity
17-
* Variables for controlling the opacity of an element.
1814
* opacity: var(--opacity-25);
1915
****************************************************************/
2016
--opacity-5: 0.05;

app/assets/stylesheets/css-zero/filters.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
:root {
22
/****************************************************************
3-
* Blur
4-
* Variables for applying blur filters to an element.
53
* filter|backdrop-filter: var(--blur-sm);
64
*****************************************************************/
75
--blur-none: blur(0);
@@ -14,8 +12,6 @@
1412
--blur-3xl: blur(64px);
1513

1614
/****************************************************************
17-
* Brightness
18-
* Variables for applying brightness filters to an element.
1915
* filter|backdrop-filter: var(--brightness-50);
2016
*****************************************************************/
2117
--brightness-0: brightness(0);
@@ -31,8 +27,6 @@
3127
--brightness-200: brightness(2);
3228

3329
/****************************************************************
34-
* Contrast
35-
* Variables for applying contrast filters to an element.
3630
* filter|backdrop-filter: var(--contrast-50);
3731
*****************************************************************/
3832
--contrast-0: contrast(0);

app/assets/stylesheets/css-zero/transforms.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
:root {
22
/****************************************************************
3-
* Scale
4-
* Variables for scaling elements with transform.
53
* transform: var(--scale-100);
64
*****************************************************************/
75
--scale-50: scale(0.50);
@@ -15,8 +13,6 @@
1513
--scale-150: scale(1.50);
1614

1715
/****************************************************************
18-
* Rotate
19-
* Variables for rotating elements with transform.
2016
* transform: var(--rotate-45);
2117
*****************************************************************/
2218
--rotate-0: rotate(0deg);
@@ -30,8 +26,6 @@
3026
--rotate-180: rotate(180deg);
3127

3228
/****************************************************************
33-
* Skew
34-
* Varibles for skewing elements with transform.
3529
* transform: var(--skew-x-3);
3630
*****************************************************************/
3731
--skew-x-0: skewX(0deg);

app/assets/stylesheets/css-zero/transitions.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
:root {
22
/****************************************************************
3-
* Transition Property
4-
* Variables for controlling which CSS properties transition.
53
* transition-property: var(--transition);
64
*****************************************************************/
75
--transition: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
86
--transition-colors: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
97
--transition-transform: transform, translate, scale, rotate;
108

119
/****************************************************************
12-
* Transition Timing
13-
* Variables for controlling the timing of CSS transitions.
1410
* transition-duration|transition-delay: var(--time-75);
1511
*****************************************************************/
1612
--time-75: 75ms;
@@ -23,8 +19,6 @@
2319
--time-1000: 1000ms;
2420

2521
/****************************************************************
26-
* Transition Timing Function
27-
* Variables for controlling the easing of CSS transitions.
2822
* transition-timing-function: var(--ease-3);
2923
*****************************************************************/
3024
--ease-1: cubic-bezier(.25, 0, .5, 1);

app/assets/stylesheets/css-zero/typography.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
:root {
22
/****************************************************************
3-
* Font Size
4-
* Variables for controlling the font size of an element.
53
* font-size: var(--text-xs);
64
*****************************************************************/
75
--text-xs: 0.75rem; /* 12px */
@@ -31,8 +29,6 @@
3129
--text-fluid-7xl: clamp(4.5rem, 2.91rem + 7.95vw, 8rem); /* 72px..128px */
3230

3331
/****************************************************************
34-
* Font Weight
35-
* Variables for controlling the font weight of an element.
3632
* font-weight: var(--font-hairline);
3733
*****************************************************************/
3834
--font-thin: 100;
@@ -46,8 +42,6 @@
4642
--font-black: 900;
4743

4844
/****************************************************************
49-
* Line Height
50-
* Variables for controlling the leading (line height) of an element.
5145
* line-height: var(--leading-tight);
5246
*****************************************************************/
5347
--leading-none: 1;
@@ -66,8 +60,6 @@
6660
--leading-10: 2.5rem; /* 40px */
6761

6862
/****************************************************************
69-
* Font Family (https://modernfontstacks.com)
70-
* Variables for controlling the font family of an element.
7163
* font-family: var(--font-sans);
7264
*****************************************************************/
7365
--font-system-ui: system-ui, sans-serif;
@@ -87,8 +79,6 @@
8779
--font-handwritten: Segoe Print, Bradley Hand, Chilanka, TSCu_Comic, casual, cursive;
8880

8981
/****************************************************************
90-
* Letter Spacing
91-
* Variables for controlling the tracking (letter spacing) of an element.
9282
* letter-spacing: var(--tracking-tighter);
9383
*****************************************************************/
9484
--tracking-tighter: -0.05em;

0 commit comments

Comments
 (0)