Skip to content

Commit

Permalink
CSS data source (#23)
Browse files Browse the repository at this point in the history
With this we should have what we need for completions and hover
information down the road.
  • Loading branch information
wkillerud authored Nov 5, 2024
1 parent 1492d1c commit 8c0763b
Show file tree
Hide file tree
Showing 22 changed files with 21,268 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/sass_language_services/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include: package:sass_analysis/analysis_options.yaml
analyzer:
exclude: ["**/*.pb*.dart"]
exclude: ["**/*.pb*.dart", "**/*_generated.dart"]
13 changes: 13 additions & 0 deletions pkgs/sass_language_services/lib/src/css/css_at_directive.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import 'entry_status.dart';
import 'reference.dart';

class CssAtDirective {
String name;
String? description;
List<String>? browsers;
EntryStatus? status;
List<Reference>? references;

CssAtDirective(this.name,
{this.description, this.browsers, this.status, this.references});
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class CssColorFunction {
String label;
String function;
String insertSnippet;
String description;

CssColorFunction(
this.label, this.function, this.insertSnippet, this.description);
}
494 changes: 494 additions & 0 deletions pkgs/sass_language_services/lib/src/css/css_data.dart

Large diffs are not rendered by default.

Loading

0 comments on commit 8c0763b

Please sign in to comment.