Skip to content
#

style

Here are 681 public repositories matching this topic...

phpinsights
olivernybroe
olivernybroe commented Mar 5, 2020
Q A
Bug report? no
Feature request? yes

Right now we can create custom configuration based on presets, however I think it would be worth allowing custom presets also.
This would mean opening up the Preset interface so for example a framework could maintain their own Preset file and users can then use the preset, just by pointing

alxiong
alxiong commented Sep 26, 2019

It seems configurations for proselint are centralized to different canonical files (namely $XDG_CONFIG_HOME/proselint/config, ~/.config/proselint/config and ~/.proselintrc) instead of a per project config basis.

So may I ask how to specify project/folder/files-specific rules? Maybe including some examples in the README.md would be nice?

Thanks

theme-ui
mxstbr
mxstbr commented Apr 20, 2020

In order to make the Tailwind preset more approachable for people that already know Tailwind, we should:

  • Font sizes should have the same aliases (e.g. lg = 2)
  • Colors should be aliased to the same aliases * 100, e.g. purple.5 === purple.500
  • Breaking change for a major version: Make the padding scale match Tailwind's
style-dictionary
custa1200
custa1200 commented Oct 7, 2019

One of the consumers of our system uses curly braces for content replacement in strings.

Due to the way that SD currently uses curly braces in the build process there is no way I can have a string that includes the braces for consumption.

I have tried a number of ways to escape the braces with no luck

Other languages and templating systems seem to use the concept of using double curly b

alisey
alisey commented Mar 21, 2020

The following warnings appear in the console during compilation, and they are also shown by stylable intelligence:

WARNING in Stylable: "@st-scope" must receive a simple selector, but instead got: ":global(.foo)"
@st-scope :global(.foo) { }
WARNING in Stylable: "@st-scope" received an unknown symbol: "html"
@st-scope html { }

The compiled CSS works correctly, though.

milesj
milesj commented Dec 30, 2019

@page has special rules here: https://developer.mozilla.org/en-US/docs/Web/CSS/@page

This is similar to @viewport which already has a custom type Viewport.

export interface Viewport<TLength = string | 0> {
  msHeight?: ViewportHeightProperty<TLength>;
  msMaxHeight?: ViewportMaxHeightProperty<TLength>;
  msMaxWidth?: ViewportMaxWidthProperty<TLength>;
  msMaxZoom?: ViewportMax

Improve this page

Add a description, image, and links to the style topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the style topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.