Skip to content

Commit

Permalink
break only when comma list item has at least one whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 28, 2023
1 parent eb19a38 commit 56c790c
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 301 deletions.
4 changes: 1 addition & 3 deletions src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@
}

.ui.animated.button .content {
will-change:
transform,
opacity;
will-change: transform, opacity;
}
.ui.animated.button .visible.content {
position: relative;
Expand Down
4 changes: 1 addition & 3 deletions src/definitions/modules/dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@
border-radius: @menuBorderRadius;
transition: @menuTransition;
z-index: @menuZIndex;
will-change:
transform,
opacity;
will-change: transform, opacity;
}

.ui.dropdown .menu > * {
Expand Down
7 changes: 1 addition & 6 deletions src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@
flex: 0 0 auto;
border-radius: @borderRadius;
user-select: text;
will-change:
top,
left,
margin,
transform,
opacity;
will-change: top, left, margin, transform, opacity;
outline: none;
}

Expand Down
4 changes: 1 addition & 3 deletions src/definitions/modules/toast.less
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@
margin-bottom: @toastBoxMarginBottom;
border-radius: @defaultBorderRadius;
cursor: default;
will-change:
transform,
opacity;
will-change: transform, opacity;
&:hover {
opacity: @toastOpacityOnHover;
}
Expand Down
5 changes: 1 addition & 4 deletions src/themes/bookish/elements/header.variables
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
Header
-------------------- */

@headerFont:
"Karma",
"Times New Roman",
serif;
@headerFont: "Karma", "Times New Roman", serif;
@fontWeight: @normal;

@iconSize: 1.5em;
Expand Down
5 changes: 1 addition & 4 deletions src/themes/chubby/elements/button.variables
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
-------------------- */

/* Button Variables */
@pageFont:
"Source Sans Pro",
Arial,
sans-serif;
@pageFont: "Source Sans Pro", Arial, sans-serif;

@textTransform: none;
@fontWeight: @normal;
Expand Down
5 changes: 1 addition & 4 deletions src/themes/classic/elements/header.variables
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
Element
-------------------- */

@headerFont:
"Open Sans",
Arial,
sans-serif;
@headerFont: "Open Sans", Arial, sans-serif;

@blockBackground: @offWhite @subtleGradient;
@blockBoxShadow: @subtleShadow;
12 changes: 3 additions & 9 deletions src/themes/default/collections/message.variables
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
@borderWidth: 1px;
@borderShadow: 0 0 0 @borderWidth @strongBorderColor inset;
@shadowShadow: 0 0 0 0 rgba(0, 0, 0, 0);
@boxShadow:
@borderShadow,
@shadowShadow;
@boxShadow: @borderShadow, @shadowShadow;

@transition:
opacity @defaultDuration @defaultEasing,
Expand Down Expand Up @@ -71,14 +69,10 @@
@attachedXOffset: -1px;
@attachedYOffset: -1px;
@attachedBoxShadow: 0 0 0 @borderWidth @borderColor inset;
@attachedBottomBoxShadow:
@attachedBoxShadow,
@subtleShadow;
@attachedBottomBoxShadow: @attachedBoxShadow, @subtleShadow;

/* Floating */
@floatingBoxShadow:
@borderShadow,
@floatingShadow;
@floatingBoxShadow: @borderShadow, @floatingShadow;

/* Colors */
@redBoxShadow:
Expand Down
4 changes: 1 addition & 3 deletions src/themes/default/elements/button.variables
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
@borderBoxShadowColor: transparent;
@borderBoxShadowWidth: 1px;
@borderBoxShadow: 0 0 0 @borderBoxShadowWidth @borderBoxShadowColor inset;
@boxShadow:
@borderBoxShadow,
@shadowBoxShadow;
@boxShadow: @borderBoxShadow, @shadowBoxShadow;

/* Icon */
@iconHeight: auto;
Expand Down
10 changes: 4 additions & 6 deletions src/themes/default/globals/reset.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ hr {

pre {
// https://github.com/necolas/normalize.css/issues/519
font-family:
monospace,
monospace; /* 1 */ // stylelint-disable-line font-family-no-duplicate-names
// stylelint-disable-next-line font-family-no-duplicate-names
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}

Expand Down Expand Up @@ -109,9 +108,8 @@ code,
kbd,
samp {
// https://github.com/necolas/normalize.css/issues/519
font-family:
monospace,
monospace; /* 1 */ // stylelint-disable-line font-family-no-duplicate-names
// stylelint-disable-next-line font-family-no-duplicate-names
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}

Expand Down
139 changes: 4 additions & 135 deletions src/themes/default/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -32,144 +32,13 @@
"Segoe UI Symbol",
"Noto Color Emoji";

@headerFont:
@fontName,
@fallbackFonts;
@pageFont:
@fontName,
@fallbackFonts;
@headerFont: @fontName, @fallbackFonts;
@pageFont: @fontName, @fallbackFonts;

@fontDisplay: swap;
@textRendering: optimizeLegibility;
@unicodeRangeLatin:
U+0000,
U+000D,
U+0020-007E,
U+00A0-017F,
U+0192,
U+0218-021B,
U+0237,
U+02C6-02C7,
U+02C9,
U+02D8-02DD,
U+0394,
U+03A9,
U+03BC,
U+03C0,
U+1E80-1E85,
U+2010,
U+2013-2014,
U+2018-201A,
U+201C-201E,
U+2020-2022,
U+2026,
U+2030,
U+2039-203A,
U+2044,
U+20A3-20A4,
U+20A7,
U+20AC,
U+2113,
U+2122,
U+2126,
U+212E,
U+2202,
U+2206,
U+220F,
U+2211-2212,
U+2215,
U+2219-221A,
U+221E,
U+222B,
U+2248,
U+2260,
U+2264-2265,
U+25CA,
U+F8FF,
U+FB00-FB04;
@unicodeRangeSupplement:
U+0180-0191,
U+0193-0217,
U+021C-0236,
U+0238-02C5,
U+02C8,
U+02CA-02D7,
U+02DE-036F,
U+0374-0375,
U+037A-037E,
U+0384-038A,
U+038C,
U+038E-0393,
U+0395-03A1,
U+03A3-03A8,
U+03AA-03BB,
U+03BD-03BF,
U+03C1-03CE,
U+03D0-0486,
U+0488-0513,
U+1D00-1DCA,
U+1DFE-1E7F,
U+1E86-1E9B,
U+1E9E,
U+1EA0-1EF9,
U+1F00-1F15,
U+1F18-1F1D,
U+1F20-1F45,
U+1F48-1F4D,
U+1F50-1F57,
U+1F59,
U+1F5B,
U+1F5D,
U+1F5F-1F7D,
U+1F80-1FB4,
U+1FB6-1FC4,
U+1FC6-1FD3,
U+1FD6-1FDB,
U+1FDD-1FEF,
U+1FF2-1FF4,
U+1FF6-1FFE,
U+2000-200F,
U+2012,
U+2015-2017,
U+201B,
U+201F,
U+202F,
U+2034,
U+203C-203E,
U+205E-205F,
U+2070-2071,
U+2074-2094,
U+20A0-20A2,
U+20A5-20A6,
U+20A8-20AB,
U+20AD-20B5,
U+20B8-20BA,
U+20DD,
U+2105,
U+2116-2117,
U+2120,
U+2132,
U+214D-214E,
U+2153-215F,
U+2183-2184,
U+2190-2199,
U+21A8,
U+221F,
U+2229,
U+2261,
U+2302,
U+2310,
U+2320-2321,
U+2460-2473,
U+24EA-24F4,
U+24FF-2500,
U+2502,
U+250C,
U+2510,
U+2514,
U+2518,
U+2C60-2C6C,
U+2C74-2C77;
@unicodeRangeLatin: U+0000, U+000D, U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02C6-02C7, U+02C9, U+02D8-02DD, U+0394, U+03A9, U+03BC, U+03C0, U+1E80-1E85, U+2010, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20A3-20A4, U+20A7, U+20AC, U+2113, U+2122, U+2126, U+212E, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+F8FF, U+FB00-FB04;
@unicodeRangeSupplement: U+0180-0191, U+0193-0217, U+021C-0236, U+0238-02C5, U+02C8, U+02CA-02D7, U+02DE-036F, U+0374-0375, U+037A-037E, U+0384-038A, U+038C, U+038E-0393, U+0395-03A1, U+03A3-03A8, U+03AA-03BB, U+03BD-03BF, U+03C1-03CE, U+03D0-0486, U+0488-0513, U+1D00-1DCA, U+1DFE-1E7F, U+1E86-1E9B, U+1E9E, U+1EA0-1EF9, U+1F00-1F15, U+1F18-1F1D, U+1F20-1F45, U+1F48-1F4D, U+1F50-1F57, U+1F59, U+1F5B, U+1F5D, U+1F5F-1F7D, U+1F80-1FB4, U+1FB6-1FC4, U+1FC6-1FD3, U+1FD6-1FDB, U+1FDD-1FEF, U+1FF2-1FF4, U+1FF6-1FFE, U+2000-200F, U+2012, U+2015-2017, U+201B, U+201F, U+202F, U+2034, U+203C-203E, U+205E-205F, U+2070-2071, U+2074-2094, U+20A0-20A2, U+20A5-20A6, U+20A8-20AB, U+20AD-20B5, U+20B8-20BA, U+20DD, U+2105, U+2116-2117, U+2120, U+2132, U+214D-214E, U+2153-215F, U+2183-2184, U+2190-2199, U+21A8, U+221F, U+2229, U+2261, U+2302, U+2310, U+2320-2321, U+2460-2473, U+24EA-24F4, U+24FF-2500, U+2502, U+250C, U+2510, U+2514, U+2518, U+2C60-2C6C, U+2C74-2C77;

@importFonts: true;
@fonts: {
Expand Down
57 changes: 7 additions & 50 deletions src/themes/default/globals/variation.variables
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,10 @@
***********************************************************/

/* General */
@variationAllSizes:
mini,
tiny,
small,
large,
big,
huge,
massive;
@variationAllColors:
primary,
secondary,
red,
orange,
yellow,
olive,
green,
teal,
blue,
violet,
purple,
pink,
brown,
grey,
black;
@variationAllStates:
error,
info,
success,
warning;
@variationAllConsequences:
positive,
negative,
error,
info,
success,
warning;
@variationAllSizes: mini, tiny, small, large, big, huge, massive;
@variationAllColors: primary, secondary, red, orange, yellow, olive, green, teal, blue, violet, purple, pink, brown, grey, black;
@variationAllStates: error, info, success, warning;
@variationAllConsequences: positive, negative, error, info, success, warning;

/*******************************
Elements
Expand Down Expand Up @@ -70,9 +38,7 @@
@variationButtonWrapping: true;
@variationButtonWrapped: true;
@variationButtonSpaced: true;
@variationButtonConsequences:
positive,
negative;
@variationButtonConsequences: positive, negative;
@variationButtonSizes: @variationAllSizes;
@variationButtonColors: @variationAllColors;

Expand Down Expand Up @@ -115,13 +81,7 @@
@variationHeaderDividing: true;
@variationHeaderBlock: true;
@variationHeaderAttached: true;
@variationHeaderTags:
h1,
h2,
h3,
h4,
h5,
h6;
@variationHeaderTags: h1, h2, h3, h4, h5, h6;
@variationHeaderSizes: @variationAllSizes;
@variationHeaderColors: @variationAllColors;

Expand Down Expand Up @@ -722,10 +682,7 @@
@variationSliderTicked: true;
@variationSliderVertical: true;
@variationSliderBasic: true;
@variationSliderSizes:
small,
large,
big;
@variationSliderSizes: small, large, big;
@variationSliderColors: @variationAllColors;

/* Tab */
Expand Down
Loading

0 comments on commit 56c790c

Please sign in to comment.